cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1828
Views
0
Helpful
8
Replies

InterVlan Routing on Cisco 881

genseb13011
Level 1
Level 1

Hi,

I'd like to set Inter-Vlan Routing on my Cisco 881.

Vlan 2: 192.168.0.0 /25

Vlan 3 : 192.168.0.128 /26

Vlan 4: 192.168.0.192 /26

This is my running conf:

interface FastEthernet0

!

interface FastEthernet1

!

interface FastEthernet2

!

interface FastEthernet3

switchport mode trunk

!

interface FastEthernet4

no ip address

shutdown

duplex auto

speed auto

!

interface Vlan1

no ip address

!

interface Vlan2

ip address 192.168.0.1 255.255.255.128

!

interface Vlan3

ip address 192.168.0.129 255.255.255.192

!

interface Vlan4

ip address 192.168.0.193 255.255.255.192

!

!

When I plug a cable on the fa3, the Vlan 2, 3, 4 are up.

I can ping each Vlan IP address from the router but when I try to ping the router from a PC connected to the Fa3 interface, it doesn't work.

Thanks for your answers

1 Accepted Solution

Accepted Solutions

Santosh Kolte
Level 1
Level 1

for PC.....I think u should use acess port of any vlan u created & give default gateway address of that vlan interface

no need to make it Trunk.....

View solution in original post

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame
I can ping each Vlan IP address from the router but when I try to ping the router from a PC connected to the Fa3 interface, it doesn't work.

What is the IP Address of the PC?

PC firewall enabled?

I've tried with 3 different address:

192.168.0.194 / 255.255.255.192 trying to ping 192.168.0.193

192.168.0.130 / 255.255.255.192 trying to ping 192.168.0.129

192.168.0.2 / 255.255.255.128 trying to ping 192.168.0.1

I also disabled the PC firewall because i though it could be the problem but it wasn't.

Could you use "ip routing" command on Router?

192.168.0.194 / 255.255.255.192 trying to ping 192.168.0.193

192.168.0.130 / 255.255.255.192 trying to ping 192.168.0.129

192.168.0.2 / 255.255.255.128 trying to ping 192.168.0.1

You connected the PC to an 802.1Q Trunk port?

interface Vlan2

ip address 192.168.0.1 255.255.255.128

If you configure your PC to, say 192.168.0.2/25 and you assign the port to VLAN 2 (switchport access vlan 2), can you ping 192.168.0.1?

Abzal
Level 7
Level 7

Hi,

The problem might be that you're connecting PC to trunk port with default native VLAN 1. But you don't have VLAN 1 ip address assigned. Try to change from trunk to access port like VLAN 2/3/4 and IP address from subnet.

Hope it will help

Best regards,
Abzal

Anup Sasikumar
Level 1
Level 1

Hi,

I think you shouldnt be connecting a PC to trunk. It should be either in VLAN 2 3 or 4 and the default gateway should be set as the corresponding interface VLAN IP for inter vlan routing to work.

Anup

Regards,
Anup

Santosh Kolte
Level 1
Level 1

for PC.....I think u should use acess port of any vlan u created & give default gateway address of that vlan interface

no need to make it Trunk.....

genseb13011
Level 1
Level 1

When I assign vlan 2 to fa2 and vlan 3 to fa1 and I try to ping it works.

So the interVlan routing works.

Thanks for all your answers

Review Cisco Networking products for a $25 gift card