Site Overlay

Replace vconfig with iproute

# How to create vlan interface?
ip link add link eth0 name eth0.100 type vlan id 100
ip link set dev eth0.100 up
ip addr add brd dev eth0.100
# How to down and remove vlan interface?
ip link set dev eth0.100 down
ip link delete eth0.100

Leave a Reply

Your email address will not be published.