1、安装vconfig并加载8021q模块

# modprobe 8021q

2、配置vlan并启动网卡

# vconfig add eth0 107
# ifconfig eth0.107 10.1.1.254 netmask 255.255.255.0