Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Inter VLAN Routing

I am pretty sure this is the case, but for inter vlan routing the work properly, does there need

to be an IP address set on the VLAN interface? I am fairly sure there does need to be

as it would not know where to route the traffic to otherwise as I dont think the traffic is tagged until it reaches the trunk.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Inter VLAN Routing

Hello,

You are correct. You need an IP on the VLAN SVI (virtual interface) to acheive InterVLAN routing (if you are using a Layer 3 switch). If you are using a Layer 2 switch, then you need a router to do InterVLAN routing.

interface VLAN 1

ip address

exit

interface VLAN 2

ip address

exit

ip routing

Please make sure that all devices in the VLAN point to these two addresses as their default gateway respectively.

Hope this helps.

Regards,

NT

3 REPLIES
Cisco Employee

Re: Inter VLAN Routing

Hello,

You are correct. You need an IP on the VLAN SVI (virtual interface) to acheive InterVLAN routing (if you are using a Layer 3 switch). If you are using a Layer 2 switch, then you need a router to do InterVLAN routing.

interface VLAN 1

ip address

exit

interface VLAN 2

ip address

exit

ip routing

Please make sure that all devices in the VLAN point to these two addresses as their default gateway respectively.

Hope this helps.

Regards,

NT

New Member

Re: Inter VLAN Routing

I just read over your post again. It is actually a 3750 that I am talking about which is a layer

3 switch. So you are saying that I would need to assign an IP address on every vlan that I need to route somewhere? On a router you would need to create sub interfaces and tag each sub interface?

Cisco Employee

Re: Inter VLAN Routing

Hello,

Yes, that is correct. That IP address will act as default gateway for all

the hosts in the VLAN.

Regards,

NT

747
Views
0
Helpful
3
Replies
CreatePlease to create content