You must specify a subnet mask if you have created subnets that do not match the class boundary of the IPv4 address of the network interface. You can specify a subnet mask for a network interface by using the ifconfig command. IPv6 does not support subnet masks.
Before you begin
The IP address assigned to e0M must not belong to the same subnet as the IP address configured to serve data traffic.
Note: An EMS message is displayed if the management interface and network interfaces belong to the same subnet.
About this task Data ONTAP
allows you to configure a 32-bit subnet mask with all bits equal to 1.
- To specify a subnet mask for an interface, enter the following command:
ifconfig interface_name netmask mask
interface_name is the name of the network interface.
mask is the subnet mask.
To configure a 24-bit mask for the interface e3a that you have already configured, enter the following command:
ifconfig e3a netmask 255.255.255.0
- To change the subnet mask for an interface that has been configured with a primary and an alias address, enter the following command for each IP address:
ifconfig interface_nameIP address netmask mask
To change the subnet mask of the primary IP address for the interface e3a, enter the following command:
ifconfig e3a 172.25.206.110 netmask 255.255.255.0
To change the subnet mask of the alias IP address for e3a, enter the following command:
ifconfig e3a 18.104.22.168 netmask 255.255.255.0