Configuring IPv6 for vRouter Loopback Addresses
Netvisor One now supports IPv4 and IPv6 addresses on the same loopback interface.
When you configure a loopback interface, you can optionally associate a vRouter interface to the configuration. If you do not associate a vRouter interface, Netvisor One selects the first non-VRRP vRouter interface. Netvisor One uses the loopback interface for a vRouter as a host route in the Forwarding Information Database (FIB) for packets received from any port and routes them to the correct vRouter.
If there is no vRouter interface configured, the loopback interface is unreachable on the network. When you add the first vRouter interface, the loopback interface is reachable.
If you remove the associated vRouter interface, Netvisor One selects the next available vRouter interface.
Netvisor One does not support multiple vRouter loopback interfaces for IPv6 addresses.
To add an IPv4 address to a loopback interface for vRouter, vr1, use the following syntax:
CLI (network-admin@Leaf1) > vrouter-loopback-interface-add vrouter-name vr1 ip 99.1.1.1
To add an IPv6 vRouter loopback interface to vRouter, vr1, use the following syntax:
CLI (network-admin@Leaf1) > vrouter-loopback-interface-add vrouter-name vr1 ip 2999:1000::1
To display the vRouter loopback interface, use the vrouter-loopback-interface-show command:
CLI (network-admin@Leaf1) > vrouter-loopback-interface-show
vrouter-name index ip router-if
174 ------------ ----- ------------ ---------
175 vr1 1 99.1.1.1 eth0.100
176 vr1 2 2999:1000::1 eth0.100
CLI (network-admin@Leaf1) > vrouter-routes-show
vrouter-name ------------ |
network --------- |
type --------- |
interface ---------- |
next-hop -------------- |
distance -------- |
metric ------ |
vr1 |
10.1.1.0/24 |
connected |
eth0.100 |
|||
vr1 |
10.1.1.0/24 |
connected |
eth0.100 |
|||
vr1 |
20.1.1.0/24 |
ospf |
eth0.121 |
12.1.1.2 |
110 |
20 |
vr1 |
88.1.1.1/32 |
ospf |
eth0.121 |
12.1.1.2 |
110 |
20 |
vr1 |
99.1.1.1/32 |
connected |
lo |
|||
vr1 |
2100:100::/64 |
connected |
eth0.100 |
|||
vr1 |
2121:100::/64 |
connected |
eth0.121 |
|||
vr1 |
2200:100::/64 |
ospf6 |
eth0.121 |
fe80::640e:94ff:fe4d:d0c8 |
110 |
10 |
vr1 |
2888:1000::1/128 |
ospf6 |
eth0.121 |
fe80::640e:94ff:fe4d:d0c8 |
110 |
10 |
vr1 |
2999:1000::1/128 |
connected |
lo |
|||
vr1 |
fe80::/64 |
connected |
eth0.121 |