#!/bin/sh -e ip link add link eth4 name vlan22 type vlan id 22 ip addr add 192.168.122.254/24 dev vlan22 ifconfig vlan22 up