Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inter VLAN Routing

Status
Not open for further replies.

US121

IS-IT--Management
Sep 26, 2012
6
US
I have two VLAN's that I want be able to talk across from one PC. I have a 5520 and i need to know what the procedure is to do this. Vlan 1 has Class A IP address and VLAN 2 has Class C IP Address. I know that I need to Assign an IP for each VLAN. I want to do a static route. How do i go about accomplishing this? Thanks.
 
All you need to do to allow communication across vlans is;

enable routing on the switch (it should be enabled by default)
# enable
# config terminal
(config)# ip routing


Then give each vlan an ip address
# enable
# config terminal
(config)# interface vlan <vlan #>
(config)# ip address <ip address> <mask>

All devices on the switch will be able to communicate with each other across vlans.

If you want to communicate off the switch you will need to add a static route pointing at the nex-hop or enable a routing protocol.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top