Changing the Subnet Mask for eth0 The network interfaces use the prefix 'eth'; the base network address is called eth0. The subnet mask or netmask can be changed using the command set mask eth0 n.n.n.n. You can see an example below.