cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Can't create static route to LL address: Next-hop cannot be a local address

Jean-Daniel
Level 1
Level 1

 

I'm trying to find out if this is a NX-OS bug or a misconfiguration:

I have a switch with 2 interfaces configured as route interface.

 

eth1/2 has only a link local address: fe80::1

eth1/3 has only an autogenerated link local address.

 

With a classic router (linux box, …), it is perfect possible to define a default route with gateway fe80::1%eth1/3

But when I try to do that on nx-os 9.2.3, it refuses to create the route with the error: Next-hop cannot be a local address

IMHO, this error is meaningless as "fe80::1%eth1/3" is not a local address. If I use an other next-hop address (fe80::2%eth1/3) or if I change the eth1/2 address, everything works fine.

 

My config is like this:

interface Ethernet1/2
  no switchport
  ipv6 link-local fe80::1

interface Ethernet1/3
  no switchport
  ipv6 address use-link-local-only

 

I try to create the route using the following command:

nexus(config)# ipv6 route ::/0 fe80::1 eth1/3
Next-hop cannot be a local address

 

And the IPv6 interface state is:

nexus(config)# sh ipv6 int
IPv6 Interface Status for VRF "default"
Ethernet1/2, Interface status: protocol-down/link-down/admin-up, iod: 10
  IPv6 address: fe80::1 [TEN]
  IPv6 link-local address: fe80::1 (configured) [TEN]
  IPv6 virtual addresses configured: none
  IPv6 multicast routing: disabled
  IPv6 report link local: disabled
  IPv6 Forwarding feature: disabled
  IPv6 multicast groups locally joined:   
      ff02::2  ff02::1  ff02::1:ff00:1  
  IPv6 multicast (S,G) entries joined: none
  IPv6 MTU: 1500 (using link MTU)
  IPv6 unicast reverse path forwarding: none
  IPv6 load sharing: none 
  IPv6 interface statistics last reset: never
  IPv6 interface RP-traffic statistics: (forwarded/originated/consumed)
    Unicast packets:      0/0/0
    Unicast bytes:        0/0/0
    Multicast packets:    0/0/0
    Multicast bytes:      0/0/0
Ethernet1/3, Interface status: protocol-down/link-down/admin-up, iod: 11
  IPv6 address: fe80::32f7:dff:fe9f:53c [TEN]
  IPv6 link-local address: fe80::32f7:dff:fe9f:53c (default) [TEN]
  IPv6 virtual addresses configured: none
  IPv6 multicast routing: disabled
  IPv6 report link local: disabled
  IPv6 Forwarding feature: disabled
  IPv6 multicast groups locally joined:   
      ff02::2  ff02::1  ff02::1:ff9f:53c  
  IPv6 multicast (S,G) entries joined: none
  IPv6 MTU: 1500 (using link MTU)
  IPv6 unicast reverse path forwarding: none
  IPv6 load sharing: none 
  IPv6 interface statistics last reset: never
  IPv6 interface RP-traffic statistics: (forwarded/originated/consumed)
    Unicast packets:      0/0/0
    Unicast bytes:        0/0/0
    Multicast packets:    0/0/0
    Multicast bytes:      0/0/0

 

Who Me Too'd this topic