Using the ifconfig command, you can configure all the parameters for a VLAN interface that you can for a physical interface.
ifname-vlanid is the VLAN interface name.
IP_address is the IP address for this interface.
mask is the network mask for this interface.
You can configure a VLAN interface e4-10, created in the previous example, using the following command:
ifconfig e4-10 172.25.66.11 netmask 255.255.255.0
To configure the VLAN interface e4-10 with an IPv6 address, use the following command: ifconfig e4-10 2001:0db8:85a3:0:0:8a2e:0370:99 prefixlen 64