Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:ethernetbonding [10/10/2013 14:21]
127.0.0.1 external edit
rb:ethernetbonding [17/02/2020 16:48] (current)
andrew
Line 1: Line 1:
-====== Ethernet Bonding ======+====== Ethernet Bonding ​Red Hat ====== 
  
 ====== Linux Network ====== ====== Linux Network ======
Line 8: Line 9:
 The bonding driver needs to be passed some parameters in modprobe.conf. ​ The bonding driver needs to be passed some parameters in modprobe.conf. ​
  
-  [root@gy-asp-db03 network-scripts]#​ cat /​etc/​modprobe.conf+  [root@db03 network-scripts]#​ cat /​etc/​modprobe.conf
   alias eth0 bnx2   alias eth0 bnx2
   alias eth2 bnx2   alias eth2 bnx2
Line 19: Line 20:
  
  
-  [root@gy-asp-db03 network-scripts]#​ pwd+  [root@db03 network-scripts]#​ pwd
   /​etc/​sysconfig/​network-scripts   /​etc/​sysconfig/​network-scripts
-  [root@gy-asp-db03 network-scripts]#​ cat ifcfg-bond0+  [root@db03 network-scripts]#​ cat ifcfg-bond0
   DEVICE=bond0   DEVICE=bond0
   IPADDR=172.27.206.93   IPADDR=172.27.206.93
Line 30: Line 31:
   USERCTL=no   USERCTL=no
   ​   ​
-  [root@gy-asp-db03 network-scripts]#​ cat ifcfg-eth0+  [root@db03 network-scripts]#​ cat ifcfg-eth0
   # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet   # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
   DEVICE=eth0   DEVICE=eth0
Line 40: Line 41:
   USERCTL=no   USERCTL=no
   ​   ​
-  [root@gy-asp-db03 network-scripts]#​ cat ifcfg-eth2+  [root@db03 network-scripts]#​ cat ifcfg-eth2
   # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet   # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
   DEVICE=eth2   DEVICE=eth2
Line 56: Line 57:
 Persistent routes can be set in ''/​etc/​sysconfig/​network-scripts''​ with a separate file for each interface:- Persistent routes can be set in ''/​etc/​sysconfig/​network-scripts''​ with a separate file for each interface:-
  
-  [root@gy-asp-db03 network-scripts]#​ cat route-bond0 ​+  [root@db03 network-scripts]#​ cat route-bond0 ​
   GATEWAY0=172.27.206.1   GATEWAY0=172.27.206.1
   NETMASK0=255.255.255.0   NETMASK0=255.255.255.0
   ADDRESS0=172.27.205.0   ADDRESS0=172.27.205.0
   ​   ​
-  #.207 network not currently in use (was for ringo)+  #.207 network not currently in use (was for ringserver)
   #​GATEWAY1=172.27.206.1   #​GATEWAY1=172.27.206.1
   #​NETMASK1=255.255.255.0   #​NETMASK1=255.255.255.0
Line 68: Line 69:
 This gives the following (edited) output:- This gives the following (edited) output:-
  
-  [root@gy-asp-db03 network-scripts]#​ route+  [root@db03 network-scripts]#​ route
   Kernel IP routing table   Kernel IP routing table
   Destination ​    ​Gateway ​        ​Genmask ​        Flags Metric Ref    Use Iface   Destination ​    ​Gateway ​        ​Genmask ​        Flags Metric Ref    Use Iface
Line 75: Line 76:
   .....   .....
   default ​        ​172.27.201.1 ​   0.0.0.0 ​        ​UG ​   0      0        0 bond1   default ​        ​172.27.201.1 ​   0.0.0.0 ​        ​UG ​   0      0        0 bond1
-  [root@gy-asp-db03 network-scripts]#​+  [root@db03 network-scripts]#​
  
    

rb/ethernetbonding.1381414873.txt.gz · Last modified: 10/10/2013 14:21 by 127.0.0.1