01-14-2006 08:44 PM - edited 02-21-2020 12:38 AM
I having diffculty configuring routing between vlans I have configured.
Setup:
Switch
Catalyst 2900XL IOS 11.2(8.6)SA6
Switch IP VLAN1 192.168.0.90
Router 2620 IOS 12.3(15a)
I have configured the vlans 1 thru 4 on the router
vlan 1: 192.168.0.0
vlan 2: 192.168.1.0
vlan 3: 192.168.100.0
vlan 4: 192.168.200.0
using dot1Q encapsulation for trunking
I have configured vlans 1-4 on the switch
I put the following commands on the switch ports:
switchport multi vlan 1-4
switchport mode multi
I can fo the following:
from the router itself I can ping the interfaces
from the switch to any of the router's vlan interfaces
192.168.0.175
192.168.1.175
192.168.100.175
192.168.200.175
However from workstation I can only ping network 192.168.0.0
From a computer with the address 192.168.0.250 I cannot ping any of the other router addresses:
192.168.1.175
192.168.100.175
192.168.200.175
But I can ping 192.168.0.175
My Questions:
I believe the 2900XL is using ISL, I could not find an option to change encapsulation on the 2900XL.
Can the encapsulation be changed to 802.1Q? (but I can ping anything in VLAN1 it seems
Why is it I cannot route between the vlan's?
Solved! Go to Solution.
01-15-2006 03:28 AM
Hello,
you can use dot1Q according to the documentation. First on the router:
interface FastEthernet0/0.1
description VLAN 1
encapsulation dot1Q 1
ip address 192.168.0.175 255.255.255.0
interface FastEthernet0/0.2
description VLAN 2
encapsulation dot1Q 2
ip address 192.168.1.175 255.255.255.0
interface FastEthernet0/0.3
description VLAN 3
encapsulation dot1Q 3
ip address 192.168.100.175 255.255.255.0
interface FastEthernet0/0.4
description VLAN 4
encapsulation dot1Q 4
ip address 192.168.200.175 255.255.255.0
Modify your interface names and numbers to match your router.
On the switch port in the 2900XL connected to the router configure a trunk (assumed Fa0/11):
interface FastEthernet0/11
switchport mode trunk
switchport mode trunk encapsulation dot1Q
For a detailed description of all options have a look at "Configuring Trunk Ports"
The last configuration missing now is in your hosts connected to the VLANs - their default gateway should be the router´s IP in the respective VLAN.
This should enable inter VLAN routing.
Hope this helps! Please rate all posts.
Regards, Martin
01-15-2006 03:28 AM
Hello,
you can use dot1Q according to the documentation. First on the router:
interface FastEthernet0/0.1
description VLAN 1
encapsulation dot1Q 1
ip address 192.168.0.175 255.255.255.0
interface FastEthernet0/0.2
description VLAN 2
encapsulation dot1Q 2
ip address 192.168.1.175 255.255.255.0
interface FastEthernet0/0.3
description VLAN 3
encapsulation dot1Q 3
ip address 192.168.100.175 255.255.255.0
interface FastEthernet0/0.4
description VLAN 4
encapsulation dot1Q 4
ip address 192.168.200.175 255.255.255.0
Modify your interface names and numbers to match your router.
On the switch port in the 2900XL connected to the router configure a trunk (assumed Fa0/11):
interface FastEthernet0/11
switchport mode trunk
switchport mode trunk encapsulation dot1Q
For a detailed description of all options have a look at "Configuring Trunk Ports"
The last configuration missing now is in your hosts connected to the VLANs - their default gateway should be the router´s IP in the respective VLAN.
This should enable inter VLAN routing.
Hope this helps! Please rate all posts.
Regards, Martin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide