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

VLAN Routing Issue

superrob1
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

mheusinger
Level 10
Level 10

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"

http://www.cisco.com/en/US/products/hw/switches/ps637/products_configuration_guide_chapter09186a008007e840.html#xtocid41

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

View solution in original post

1 Reply 1

mheusinger
Level 10
Level 10

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"

http://www.cisco.com/en/US/products/hw/switches/ps637/products_configuration_guide_chapter09186a008007e840.html#xtocid41

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

Review Cisco Networking for a $25 gift card