FreeBSD中VLAN设置

2009-05-13 14:43:04来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


                http://www.freebsdchina.org/forum/topic_42482.html
h3c 3526:
rc.conf
          引用:                          ifconfig_fxp0="up polling"
cloned_interfaces="vlan16 vlan200 vlan600 vlan700"
ifconfig_vlan16="inet 192.168.16.7/24 vlan 16 vlandev fxp0"
ifconfig_vlan200="inet 222.1111.111.7/27 vlan 200 vlandev fxp0"
ifconfig_vlan600="inet 10.9.8.7/24 vlan 600 vlandev fxp0"
ifconfig_vlan700="inet 2.1.5.8/29 vlan 700 vlandev fxp0"
       
ifconfig:
          引用:                          ifconfig
fxp0: flags=8843 mtu 1500
        options=48
        ether 00:11:11:59:c9:c2
        media: Ethernet autoselect (100baseTX )
        status: active
lo0: flags=8049 mtu 16384
        inet 127.0.0.1 netmask 0xff000000
vlan16: flags=8843 mtu 1500
        inet 192.168.16.7 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:11:11:59:c9:c2
        media: Ethernet autoselect (100baseTX )
        status: active
        vlan: 16 parent interface: fxp0
vlan200: flags=8843 mtu 1500
        inet 222.111.111.7 netmask 0xffffffe0 broadcast 222.111.111.31
        ether 00:11:11:59:c9:c2
        media: Ethernet autoselect (100baseTX )
        status: active
        vlan: 200 parent interface: fxp0
vlan600: flags=8843 mtu 1500
        inet 10.9.8.7 netmask 0xffffff00 broadcast 10.9.8.255
        ether 00:11:11:59:c9:c2
        media: Ethernet autoselect (100baseTX )
        status: active
        vlan: 600 parent interface: fxp0
vlan700: flags=8843 mtu 1500
        inet 2.1.5.8 netmask 0xfffffff8 broadcast 2.1.5.3
        ether 00:11:11:59:c9:c2
        media: Ethernet autoselect (100baseTX )
        status: active
        vlan: 700 parent interface: fxp0
finalgod 写到:                          明白了原因。主要是网卡的中断引起的。加上其他流控,CPU占用率不会增加多少。       

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBSD下的OpenSSL应用

下一篇:流量统计darkstat