亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: RHEL5.5雙網卡綁定,BOOTPROTO=none還是BOOTPROTO=static [打印本頁]

作者: 51911_cu    時間: 2012-07-20 08:51
標題: RHEL5.5雙網卡綁定,BOOTPROTO=none還是BOOTPROTO=static
在linux雙網卡綁定的時候,配置文件里不知道這兩者區(qū)別有多大,



我個人認為BOOTPROTO=none 一般是在做網卡綁定的時候用到。

通常情況下就dhcp或者static,通過指定方式的辦法來獲得地址,如果沒有指定的話可能會出現(xiàn)各種各樣的網絡受限。

不知道有沒有更權威點的解釋。
作者: ulovko    時間: 2012-07-20 08:59

  1. > more tuning-NIC-visit-count.txt
  2. #Two network interface cards are bonded into a single virtual interface,and bonding device driver will alternate between interface cards when sending and receiving packets on the virtual interface.

  3. 1>: Install NICs on separate busses
  4. 2>: In /etc/modprobe.conf
  5.         alias bond0 bonding
  6.         options bond0 mode=6 miimon=100 use_carrier=0
  7. 3>: In /etc/sysconfig/network-scripts/
  8. ifcfg-bond0             ifcfg-eth0      ifcfg-eth1
  9. -----------             ----------      ----------
  10. DEVICE=bond0            DEVICE=eth0     DEVICE=eth1
  11. IPADDR-192.168.0.1      MASTER=bond0    MASTER=bond0
  12. NETMASK=255.255.255.0   SLAVE=yes       SLAVE=yes
  13. GATEWAY=192.168.0.254   ONBOOT=yes      ONBOOT=yes
  14. NOBOOT=yes              BOOTPROTO=none  BOOTPROTO=none
  15. BOOTPROTO=none

  16. #PS: The option mode=6 sets the load-balancing mode for the module.Mode 6 does not require special switch support. It causes the bonding driver to load-balance both transmit and receive between the slave devices.Outgoing traffic reflects the MAC address of the correct slave.
復制代碼

作者: ulovko    時間: 2012-07-20 09:01

  1. > more tuning-NIC-visit-count.txt
  2. #Two network interface cards are bonded into a single virtual interface,and bonding device driver will alternate between interface cards when sending and receiving packets on the virtual interface.

  3. 1>: Install NICs on separate busses
  4. 2>: In /etc/modprobe.conf
  5.         alias bond0 bonding
  6.         options bond0 mode=6 miimon=100 use_carrier=0
  7. 3>: In /etc/sysconfig/network-scripts/
  8. ifcfg-bond0             ifcfg-eth0      ifcfg-eth1
  9. -----------             ----------      ----------
  10. DEVICE=bond0            DEVICE=eth0     DEVICE=eth1
  11. IPADDR-192.168.0.1      MASTER=bond0    MASTER=bond0
  12. NETMASK=255.255.255.0   SLAVE=yes       SLAVE=yes
  13. GATEWAY=192.168.0.254   ONBOOT=yes      ONBOOT=yes
  14. NOBOOT=yes              BOOTPROTO=none  BOOTPROTO=none
  15. BOOTPROTO=none

  16. #PS: The option mode=6 sets the load-balancing mode for the module.Mode 6 does not require special switch support. It causes the bonding driver to load-balance both transmit and receive between the slave devices.Outgoing traffic reflects the MAC address of the correct slave.
復制代碼

作者: zongg    時間: 2012-07-20 10:11
本帖最后由 zongg 于 2012-07-20 10:12 編輯

none 和static 都是表示靜態(tài)獲取地址.

應該沒什么區(qū)別吧??   個人感覺.
作者: 51911_cu    時間: 2012-07-20 12:52
就是想知道有沒有細節(jié)上的差異。我一般用到的mode=1,不是很強調負載均衡,mode=6不敢輕易嘗試。
作者: 51911_cu    時間: 2012-07-21 21:52
繼續(xù)頂頂,路過的DX給指點一下。




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2