cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
385
Views
0
Helpful
3
Replies

Intervlan routing not working on a CISCO881 Version 15.2(4)M2

thomas.defise
Level 1
Level 1

Hello,

I don't know why, but I'm not able to ping my ESXi server from another VLAN.

Routing is enable, and the server is correctly replying from ping from the same VLAN.

Any routing protocol is in place (there is no need)

Here is my config:

!
interface FastEthernet0
description * LINK TO THOMAS PC *
switchport access vlan 205
switchport priority extend trust
no ip address
spanning-tree portfast
!
interface FastEthernet1
description * LINK TO SW01.HOME.LAB *
switchport trunk allowed vlan 1,101,1001-1005
switchport mode trunk
no ip address
!
interface FastEthernet2
no ip address
shutdown
!
interface FastEthernet3
description * LINK TO ESXI01 *
switchport access vlan 101
switchport priority extend trust
no ip address
spanning-tree portfast
!
interface FastEthernet4
description * LINK TO GW *
ip address dhcp
duplex auto
speed auto
!
interface Vlan1
no ip address
!
interface Vlan101
ip address 10.0.1.3 255.255.255.0
!
interface Vlan205
ip address 192.168.5.254 255.255.255.0
!

Here is the output of a "show ip route"

Gateway of last resort is 192.168.190.1 to network 0.0.0.0

S* 0.0.0.0/0 [254/0] via 192.168.190.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C      10.0.1.0/24 is directly connected, Vlan101
L        10.0.1.3/32 is directly connected, Vlan101
     192.168.5.0/24 is variably subnetted, 2 subnets, 2 masks
C     192.168.5.0/24 is directly connected, Vlan205
L         192.168.5.254/32 is directly connected, Vlan205
     192.168.190.0/24 is variably subnetted, 2 subnets, 2 masks
C     192.168.190.0/24 is directly connected, FastEthernet4
L        192.168.190.196/32 is directly connected, FastEthernet4

Here is the output of a "show ip interface brief"

Interface          IP-Address          OK? Method Status                          Protocol
FastEthernet0 unassigned          YES unset    up                                up
FastEthernet1 unassigned          YES unset    down                           down
FastEthernet2 unassigned          YES unset    administratively down down
FastEthernet3 unassigned          YES unset    up                                up
FastEthernet4 192.168.190.196 YES DHCP   up                                up
Vlan1               unassigned         YES unset    down                            down
Vlan101           10.0.1.3               YES manual up                                up
Vlan205           192.168.5.254     YES manual up                                up

I can ping my ESXi (IP 10.0.1.2) connected to Fa3 from vlan 101 but not from another one

router01#ping 10.0.1.2 source vlan 101
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.1.2, timeout is 2 seconds:
Packet sent with a source address of 10.0.1.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

router01#ping 10.0.1.2 source vlan 205
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.1.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.5.254
.....
Success rate is 0 percent (0/5)

What can I do to solve this issue?

Thanks in advance for your reply,

Thomas.

1 Accepted Solution

Accepted Solutions

a.alekseev
Level 7
Level 7

check default gateway on 10.0.1.2

View solution in original post

3 Replies 3

a.alekseev
Level 7
Level 7

check default gateway on 10.0.1.2

Yes correct.

gateway on server should be Vlan's interface IP

Mask should also match with Vlan

Indeed, it was the gateway....

Thanks for your investigation

Review Cisco Networking for a $25 gift card