English Community

Datacenter NetworkingDatacenter Networking Hardware
All Forum Topics
Options

4 Posts

03-26-2017

CL

3 Signins

27 Page Views

  • Posts: 4
  • Registered: ‎03-26-2017
  • Location: CL
  • Views: 27
  • Message 1 of 2

Ping not response

2020-07-04, 23:26 PM

Hello

 

I have two Switch Lenovo NE1032 with firmware 10.10.5.0.

 

The Management response ping from external source, but the switch when running ping to server show me the message

 

connect: Network is unreachable

 

The config of management is the following.

 

interface mgmt0

no switchport

vrf member management

no ip address dhcp

ip address 192.168.90.21/24

ip address default

!

 

 

SW_Lenovo1#show running-config ip route

!

ip route 0.0.0.0/0 192.168.90.1

!

 

SW_Lenovo1#show  ip route

Codes: C - connected, S - static, R - RIP, B - BGP, BE - BGP-EVPN

      O - OSPF, IA - OSPF inter area, D - DHCP

      N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

      E1 - OSPF external type 1, E2 - OSPF external type 2

      * - candidate default

 

IP Route Table for VRF "default"

 

 

Now in the running config show

 

vrf context management

ip route 0.0.0.0/0 192.168.90.1

 

 

Any idea because show the messages Network is unreachable.

 

regards

 

Sebastian

 

 

 

 

Reply
Options

101 Posts

06-03-2020

US

80 Signins

870 Page Views

  • Posts: 101
  • Registered: ‎06-03-2020
  • Location: US
  • Views: 870
  • Message 2 of 2

Re:Ping not response

2020-07-05, 3:54 AM

The NE1032 runs CNOS, which defaults to two separate VRFs (Virtual Routing and Forwarding instances). The default VRF is inband and when you run commands without defining the VRF, it will reference the inband default VRF. To reference the OOB (RJ45) management port, you have to specifically call out the VRF. So if you want to issue a ping that uses the OOB port (which is in the management vrf) you have to tell it to use that VRF. For example, "ping 8.8.8.8 vrf man". Same with other commands like "show ip route" use "show ip route vrf man" or "show ip route vrf all".

 

And each VRF has its own default gateway and routing table, so if you issue the global command "ip route 0.0.0.0/0 192.168.90.1", that is for the "default "VRF (inband) so you do not have a default route configured on your OOB management VRF. To set the default gateway for the OOB management VRF network you use the command "vrf context man" and then issue the "ip route 0.0.0.0/0 192.168.90.1" command to put it in to the proper VRF for OOB management, which is what you have done

 

Lastly, the CNOS code actually supports many VRFs, but defaults to two VRFs (the "default" vrf (inband) and the "management" vrf (OOB RJ45 port)). 

 

Hope this helps.

 

Thanks, Matt

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete