cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2298
Views
10
Helpful
4
Replies

Can't ping P2P between 2 Nexus 9k's

rkoloj
Level 1
Level 1

I can't ping between 2 Nexus 9k's.  Both interfaces are configured as follows:

 

Nexus Switch 1:

int eth1/18

 ip address 192.168.1.1/31

 no shut

 

Nexus Switch 2:

int eth1/18

 ip address 192.168.1.2/31

 no sh

 

I also tried configuring an 'ip route' on either switch to each other.  It's still saying 'no route to host'....Do I need a routing protocol put on the interface since it a 'routed' port?  Thanks for your help!

1 Accepted Solution

Accepted Solutions

Hello!

In a way, the Nexus is telling you the truth here - 192.168.1.1/31 and 192.168.1.2/31 are in different subnets. Since you are using /31 subnets, the two IP addresses in the first subnet are 192.168.1.0 and 192.168.1.1, while the two IP addresses in the second subnet are 192.168.1.2 and 192.168.1.3. Therefore, 192.168.1.1/31 and 192.168.1.2/31 are in two different subnets.

To fix this, you have the following options:

  1. Configure Nexus Switch 1 with an IP address of 192.168.1.0/31 and Nexus Switch 2 with an IP address of 192.168.1.1/31.
  2. Configure Nexus Switch 1 with an IP address of 192.168.1.1/30 and Nexus Switch 2 with an IP address of 192.168.1.2/30.

I hope this helps - thank you!

-Christopher

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

i would advise to post full coinfiguration of both the sides, along with show version.

 

have you enabled features

 

post below output as suggested above :

 

show run

show version

show features

show interface eth1/18 (bot the sides)

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I cannot post full configuration, its a secure network.  

 

Version: nxos 9.3.7

 

However, here is the features:

 

feature bgp
feature isis
feature nv overlay
feature vn-segment

The interfaces are:

 

Nexus Switch 1:

int eth1/18

 ip address 192.168.1.1/31

 no shut

 

Nexus Switch 2:

int eth1/18

 ip address 192.168.1.2/31

 no sh

Hello!

In a way, the Nexus is telling you the truth here - 192.168.1.1/31 and 192.168.1.2/31 are in different subnets. Since you are using /31 subnets, the two IP addresses in the first subnet are 192.168.1.0 and 192.168.1.1, while the two IP addresses in the second subnet are 192.168.1.2 and 192.168.1.3. Therefore, 192.168.1.1/31 and 192.168.1.2/31 are in two different subnets.

To fix this, you have the following options:

  1. Configure Nexus Switch 1 with an IP address of 192.168.1.0/31 and Nexus Switch 2 with an IP address of 192.168.1.1/31.
  2. Configure Nexus Switch 1 with an IP address of 192.168.1.1/30 and Nexus Switch 2 with an IP address of 192.168.1.2/30.

I hope this helps - thank you!

-Christopher

ugh duh, ok i'll try that.  thanks.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: