cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15992
Views
5
Helpful
1
Replies

Cisco Nexus default gateway

Heiko Kelling
Level 1
Level 1

Hi Community,

I have another question about Cisco Nexus 5000 switches. This time the problem has to do with the default gateway.

I have configured a layer 2 uplink to a Cisco 3750 on the Nexus:

interface Ethernet1/31

  switchport mode trunk

  switchport trunk native vlan 100

  switchport trunk allowed vlan 100

  speed 1000

These are the vlans:

interface Vlan1

interface Vlan100

  no shutdown

  management

  ip address 139.201.100.250/24

It is possible to ping in the vlan 100 to other switches, but it is not possible to ping to clients in other nets.

In my opinion is the default gateway the problem. In the manuals I found this method to configure a default gateway:

vrf context management

  ip route 0.0.0.0/0 139.201.100.240

vlan 1,100

But it is not working. Can somebody help me.

Thanks in advance!

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

If the default gateway for vlan 100 is 139.201.100.250 (3750) than you need this on the nexus:

vrf context management

  ip route 0.0.0.0/0 139.201.100.250

vlan 1,100

Also, if you are trying to ping from the nexus, you have to use the vrf name.  For example is you want to ping

139.201.100.250

you need this command ping 139.201.100.250 vrf managment

HTH