/etc/rc.conf
cloned_interfaces="vlan01 vlan02 vlan03 vlan04 vlan05 vlan06"
ifconfig_em0="up"
ifconfig_vlan01="inet 10.10.10.1 netmask 255.255.255.0 vlan 11 vlandev em0"
ifconfig_vlan02="inet 10.10.20.1 netmask 255.255.255.0 vlan 22 vlandev em0"
ifconfig_vlan03="inet 10.10.30.1 netmask 255.255.255.0 vlan 33 vlandev em0"
ifconfig_vlan04="inet 10.10.40.1 netmask 255.255.255.0 vlan 44 vlandev em0"
ifconfig_vlan05="inet 10.10.50.1 netmask 255.255.255.0 vlan 55 vlandev em0"
ifconfig_vlan06="inet 10.10.60.1 netmask 255.255.255.0 vlan 66 vlandev em0"
沒有留言:
張貼留言