Skip to main content

internet connection on vlan switch

More
15 years 1 month ago #32442 by sose
i have a cisco 2900 series switch have three vlan including the the default vlan. and a cable coming from my router to the switch. will all vlan get internet connection, is it necessary to link the router and the swith through a trunk port
More
15 years 1 month ago #32447 by Kajitora
I dont want to say thats the ONLY way, but a router on a stick would probably be your best bet. Below is a configuration example for vlan 20 & 25.

On switch

interface fastethernet 1/0/1

switchport trunk encapsulation dot1q

switchport mode trunk

On Router


interface fastethernet0

no ip address

interface FastEthernet 0.20

ip address 10.1.20.1 255.255.255.0

encapsulation dot1q 20

interface FastEthernet 0.25

ip addres 10.1.25.1 255.255.255.0

encapsulation dot1q 25

itgamers.blogspot.com
More
15 years 1 month ago #32464 by Chris
Sose,

You can also follow our detailed example in the Cisco Technical Knoweldgebase:
www.firewall.cx/tk-cisco-routers-on-stick.php


Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
More
15 years 1 month ago #32465 by sose
yea i have gone through that chris

thanks
Time to create page: 0.121 seconds