Data Domain - Configuring a VLAN and IP Alias with Graphical User Interface (GUI) and Command Line Interface (CLI)
Summary: Create a new VLAN interface from either a physical interface or a bonded interface. An IP alias assigns an additional IP address to a physical interface, a bonded interface, or a VLAN. ...
Instructions
Create a new VLAN interface from either a physical interface or a bonded interface.
About this task
The recommended total VLAN count is 80. You can create up to 100 interfaces (minus the number of aliases, physical and
bonded interfaces) before the system prevents you from creating any more.
Steps
1. Select Hardware > Ethernet > Interfaces.
2. In the interfaces table, select the interface to which you want to add the VLAN.
3. Click Create and select VLAN.
4. In the Create VLAN dialog box, specify a VLAN ID by entering a number in the VLAN ID box. This is the tag the VLAN will
use on the network.
The range of a VLAN ID is between 1 and 4094 inclusive.
5. Enter an IP address, or enter 0 to specify no IP address.
The Internet Protocol (IP) address is the numerical label assigned to the interface. For example, 192.168.10.23.
6. Enter a netmask or prefix.
7. Specify the MTU setting.
The VLAN MTU must be less than or equal to the MTU defined for the physical or bonded interface to which it is assigned.
If the MTU defined for the supporting physical or bonded interface is reduced below the configured VLAN value, the VLAN
value is automatically reduced to match the supporting interface. If the MTU value for the supporting interface is increased
above the configured VLAN value, the VLAN value is unchanged.
● To select the default value (1500), click Default.
● To select a different setting, enter the setting in the MTU box. DD System Manager does not accept an MTU size that is
larger than that defined for the physical or bonded interface to which the VLAN is assigned.
8. Specify Dynamic DNS Registration option.
Dynamic DNS (DDNS) is a protocol that registers local IP addresses on a Domain Name System (DNS) server. In this release,
DD System Manager supports Windows mode DDNS. To use UNIX mode DDNS, use the net ddns CLI command.
The DDNS must be registered to enable this option.
9. Click Next.
The Create VLAN summary page appears.
10. Review the configuration settings, click Finish, and click OK.
Example GUI screenshots 


Modifying a VLAN interface
After you create a VLAN interface, you can update the settings to respond to network changes or resolve issues.
Steps
1. Select Hardware > Ethernet > Interfaces.
2. In the Interfaces column, select the checkbox of the interface and disable the VLAN interface by clicking No in the
Enabled column. Click OK in the warning dialog box.
3. In the Interfaces column, select the checkbox of the interface and click Configure.
4. In the Configure VLAN Interface dialog box, change the settings.
5. Click Next and Finish.
Configuring an IP alias
An IP alias assigns an additional IP address to a physical interface, a bonded interface, or a VLAN.
About this task
The recommended total number of IP aliases, VLAN, physical, and bonded interfaces that can exist on the system is 80.
Although up to 100 interfaces are supported, as the maximum number is approached, you might notice slowness in the display.
NOTE: When using an HA pair, aliases cannot be created on the standby node. Create the alias on the active node then
configure it on the standby node.
Steps
1. Select Hardware > Ethernet > Interfaces.
2. Click Create, and select IP Alias.
The Create IP Alias dialog box appears.
3. Specify an IP alias ID by entering a number in the IP ALIAS Id box.
The range is 1 to 4094 inclusive.
4. Enter an IPv4 or IPv6 address.
5. If you entered an IPv4 address, enter a netmask address.
6. Specify Dynamic DNS Registration option.
Dynamic DNS (DDNS) is a protocol that registers local IP addresses on a Domain Name System (DNS) server. In this release,
DD System Manager supports Windows mode DDNS. To use UNIX mode DDNS, use the net ddns CLI command.
The DDNS must be registered to enable this option.
7. Click Next.
The Create IP Alias summary page appears.
8. Review the configuration settings, click Finish, and OK.
Example Screenshots Below 


Modifying an IP alias interface
After you create an IP alias, you can update the settings to respond to network changes or resolve issues.
Steps
1. Select Hardware > Ethernet > Interfaces.
2. In the Interfaces column, select the checkbox of the interface and disable the IP alias interface by clicking No in the
Enabled column. Click OK in the warning dialog box.
3. In the Interfaces column, select the checkbox of the interface and click Configure.
4. In the Configure IP Alias dialog box, change the settings as described in the procedure for creating an IP Alias.
5. Click Next and Finish.
Configuring VLANs in the Data Domain Command Line Interface
The following are examples of configuring VLAN interfaces:
The following creates a VLAN on top of the physical interface eth0b. The interface eth0b must be present and up.
-
Access the Data Domain system using the Command Line Interface (CLI) .
-
Verify eth0b is present and enabled. At the Data Domain system prompt type:
net show hardware net show settings
-
If the physical interface has not been given an address, set the address to zero:
net config eth0b 0
This ensures there is no address in the registry when the physical interface is associated with a VLAN.
-
Bring up the interface.
net config eth0b up
interface eth0b, is enabled but ip address is not configured. This displays a warning message; however, the interface should still be up. To verify type:net show settings net config eth0b
Note: Do not use net enable eth0b, it fails if interface does not have an IP address.
-
Add the VLAN to the physical interface.
net create interface eth0b vlan 63
The physical interface, eth0b, is now configured to send and receive packets from/to VLAN 63. With the interface configured, the VLAN interface ID is eth0b.63.
-
In order to use the VLAN an address must be assigned.
net config eth0b.63 10.50.10.10 netmask 255.xxx.xxx.x net config eth0b:63 10.60.10.10 netmask 255.xxx.xxx.x
The following creates a VLAN on top of the virtual interface, veth21.
-
Create the virtual interface.
net create virtual veth21
-
The virtual interface needs to define the type of bonding and the slaves:
net config eth5a down net config eth5b down net failover add veth21 interfaces eth5a eth5b
If aggregation is required:
net aggregate add virtual-ifname interfaces physical-ifname-list [mode {roundrobin | balanced hash {xor-L2 | xor-L3L4| xor-L2L3} | lacp hash {xor-L2 | xor-L3L4 | xor-L2L3} [ rate {fast | slow} ]Example : net aggregate add veth21 interfaces eth5a eth5b mode lacp hash xor-L2L3
-
Configure an IP Address to the virtual interface.
net config veth21 10.10.10.11 netmask 255.xxx.xxx.x
Note: In case you do not want to even assign a dummy IP to veth21, then bring the virtual interface UP by running below command before proceeding further:
net config up veth21
-
Add the VLAN to the virtual interface.
net create interface veth21 vlan 57
The veth21 interface now has a VLAN interface, veth21.57.
-
Assign an IP address to the VLAN.
net config veth21.57 10.100.10.10 netmask 255.xxx.xxx.x
Configuring IP aliases in the Data Domain Command Line Interface
IP aliases can be added to physical interfaces and virtual interfaces. IP alias can be added to a VLAN interface. The configuration of an IP alias on top of a physical interface is the same as the configuration on the virtual interface except for one difference. The virtual interface must always have an IP address whenever it is brought up and the IP address has to be on the virtual interface itself.
The following are examples of configuring IP alias interfaces:
The following creates an IP alias on top of the physical interface eth0b. The interface eth0b must be present and up.
net config eth0b.63 10.50.10.10 netmask 255.255.252.0
net config eth0b:63 10.60.10.10 netmask 255.255.252.0
-
Access the Data Domain system using the Command Line Interface (CLI) .
-
Verify eth0b is present and enabled. At the Data Domain system prompt type:
net show hardware
net show settings -
Open the interface.
net config eth0b up
interface eth0b, is enabled but ip address is not configured.
This displays a warning message; however, the interface should still be up. To verify type:net show settings
net config eth0bNote: do not use net enable eth0b, it fails if the interface does not have an IP address.
-
Add the IP alias to the physical interface.
net create interface eth0b alias 63
The physical interface, eth0b now has an IP alias, eth0b:63.
-
In order to use the IP alias an address must be assigned.
The following creates an IP alias on top of the virtual interface, veth21.
-
Create the virtual interface.
net create virtual veth21
-
The virtual interface needs to define the type of bonding and the slaves:
net config eth5a down
net config eth5b down
net failover add veth21 interfaces eth5a eth5b -
Configure an IP Address to the virtual interface.
net config veth21 10.10.10.11 netmask 255.255.252.0
-
Add the IP alias to the virtual interface.
net create interface veth21 alias 57
The veth21 interface now has an IP alias, veth21:57
-
Assign an IP address to the IP alias.
net config veth21.57 10.100.10.10 netmask 255.255.252.0
-
Alternately, an IP alias can be added to VLAN interfaces.
net create interface eth0b.63 alias 121
net create interface veth21.57 alias 2333The VLAN interfaces now have IP aliases: eth0b.63:121, veth21.57:2333