User Tools

Site Tools


wiki:centos_bonding_interfaces

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:centos_bonding_interfaces [2017/06/26 13:17] walkeradminwiki:centos_bonding_interfaces [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 104: Line 104:
 SLAVE=yes SLAVE=yes
 </file> </file>
 +\\ 
 +Now we have the bond file (<color #22b14c>ifcfg-bond1</color>) that contains the IP Addressing
 +\\ 
 +==== ifcfg-bond1 ====
 +<file>
 +DEVICE=bond1
 +ONBOOT=yes
 +BOOTPROTO=static
 +USERCTL=no
 +BONDING_OPTS="mode=1 miimon=100"
 +IPADDR=11.0.100.1
 +NETMASK=255.0.0.0
 +</file>
 +\\ 
 +Finally we have a routing file (<color #00a2e8>route-bond1</color>) that is for the multicast routing (so we know our incoming multicast will be available on this interface/bond)
 +\\ 
 +==== route-bond1 ====
 +<file>
 +ADDRESS0=239.0.0.0
 +NETMASK0=255.0.0.0
 +GATEWAY0=11.0.100.1
 +</file>
 +\\ 
 +\\ 
 +<color #ed1c24>NOTE!</color> the routes must start from <color #ed1c24>0</color> (ADDRESS<color #ed1c24>0</color>, NETMASK<color #ed1c24>0</color>, GATEWAY<color #ed1c24>0</color>) and if there is more than one route the numbering must be contiguous.
 +\\ 
 \\  \\ 
  
 +---- 
 +==== Route ==== 
 +Below we can see the route information with the bondx entries in the right hand column. 
 +\\  
 +<file> 
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
 +192.168.27.0    *               255.255.255.0            0        0 bond0 
 +link-local      *               255.255.0.0         1004          0 eth4 
 +link-local      *               255.255.0.0         1005          0 eth5 
 +link-local      *               255.255.0.0         1008          0 eth7 
 +link-local      *               255.255.0.0         1009          0 eth6 
 +link-local      *               255.255.0.0         1010          0 bond0 
 +link-local      *               255.255.0.0         1011          0 bond1 
 +239.0.0.0       11.0.100.1      255.0.0.0       UG    0      0        0 bond1 
 +10.0.0.0        *               255.0.0.0                0        0 eth4 
 +11.0.0.0        *               255.0.0.0                0        0 bond1 
 +default         192.168.27.254  0.0.0.0         UG    0      0        0 bond0 
 +</file> 
 +\\  
 +\\ 
wiki/centos_bonding_interfaces.1498479447.txt.gz · Last modified: 2023/03/09 22:35 (external edit)