cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
218
Views
0
Helpful
1
Replies

intervlan scenarios

bmehdi
Level 1
Level 1

My Question is tht i saw two options while looking for a better layers 3 switch config with intervlan routing.i want to have intervlan traffic communicate thru the switch and the traffic for outside being handled by the router.Kindly advice on the best option.

i have come up with two options will they work

A.

ip routing

int vlan 2

ip address 10.0.0.1 255.255.255.0

int vlan 4

ip address 10.0.0.2 255.255.255.0

int vlan 10

ip address 10.0.0.4 255.255.255.0

no vlan 1 defined.

ports 5-7 for vlan 2,ports 7-10 vlan 4,ports 11-18 vlan 10.only the port 2 is connected to the router and the no switch port command is entered along with an /30 ip address.

B.

in this case if i still connect port 2 with the router but it will be on vlan 1 with the interface vlan 1 having the /30 ip address.do i need to configure trunking if traffic from other vlans need to go thru the router what will be the config.

1 Reply 1

rwcrowe
Level 1
Level 1

Option A will work fine. Option B will not require trunking. When traffic goes from VLANs 2,4 or 10 it will be switched to Vlan 1 and then routed.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: