How do you assign default gateway to a specific vlan ?
kenny504
Users Awaiting Email Confirmation Posts: 237 ■■□□□□□□□□
in CCNA & CCENT
Using a 2950 switch...How does that work.
There is no better than adversity, every defeat, every loss, every heartbreak contains its seed. Its own lesson on how to improve on your performance the next time.
Comments
-
Webmaster Admin Posts: 10,292 AdminYou can only configure a default gateway for the switch itself, which should be in the same subnet as the active 'VLAN interface' /management VLAN, so you can use Telnet, TFTP etc from and to devices not in the same subnet.
-
mp3spy Member Posts: 86 ■■□□□□□□□□kenny504 wrote:Using a 2950 switch...How does that work.
I thought about the same thing when configuring multiple VLANS on a switch and having a trunk link to a router. You need to utilize sub-interfaces on the router interface linked to your 2950 sw, set the encap on each sub-int and beside each encap set the vlan-ID. An excellent cisco article on inter-vlan routing which includes examples:
http://www.cisco.com/warp/public/473/50.shtml#801.1Q
That will help you. Enjoy
-DOk CCNA BREAK IS OVER, TIME FOR CCSP!!!