Configuring vRouter Interfaces
You can now add IPv4 and IPv6 addresses to a vRouter interface. If you enable or disable the interface, both IPv4 and IPv6 are affected. Routing protocols can be enabled or configured independently using the IP address.
When you add a vRouter interface, you can configure it with two IP addresses, IPv4 and IPv6 and can have multiple IP addresses (primary and secondary).
CLI (network-admin@switch) > vrouter-interface-add vrouter-name name-string vlan vlan-id ip ip-address netmask netmask assignment none|dhcp ip2 ip-address netmask2 netmask
You can display the IP addresses:
CLI (network-admin@switch) > vrouter-interface-show vrouter-name name-string vlan vlan-id ip ip-address netmask netmask assignment none|dhcp|dchpv6 ip2 ip-address netmask2 netmask
To migrate the interface from a IPv4 address to a IPv6 address, the following commands are used:
CLI (network-admin@switch) > vrouter-interface-ip-add
vrouter-name name-string |
Specify the name of the vRouter. |
nic nic-string |
Specify the virtual NIC assigned to the interface. |
ip ip-address |
Specify the IP address assigned to the interface. |
netmask netmask |
Specify the netmask of the IP address. |
Specify any of the following options: |
|
vnet vnet-name |
Specify the vNET assigned to the vRouter. |
CLI (network-admin@switch) > vrouter-interface-ip-remove
vrouter-name name-string |
Specify the name of the vRouter. |
nic nic-string |
Specify the virtual NIC assigned to the interface. |
ip ip-address |
Specify the IP address assigned to the interface. |
CLI (network-admin@switch) > vrouter-interface-ip-show
vrouter-name name-string |
Specify the name of the vRouter. |
nic nic-string |
Specify the virtual NIC assigned to the interface. |
ip ip-address |
Specify the IP address assigned to the interface. |
netmask netmask |
Specify the netmask of the IP address. |
Specify any of the following options |
|
vnet vnet-name |
Specify the vNET assigned to the vRouter. |