Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
ubuntu_networking [2016/04/27 14:58]
steve
ubuntu_networking [2016/05/12 14:35]
steve
Line 95: Line 95:
  
 <​code>​ <​code>​
- dns-nameservers ​4.4.4.4 8.8.8.8+ dns-nameservers ​8.8.4.4 8.8.8.8
 </​code>​ </​code>​
  
Line 122: Line 122:
 </​code>​ </​code>​
  
-In ''/​etc/​network/​interfaces'',​ add the configuration for eth0, and set it as the bonding master:+In ''/​etc/​network/​interfaces'',​ add the configuration for the Ethernet devices that will act as slaves:
  
 <​code>​ <​code>​
 auto eth0 auto eth0
- iface eth0 inet manual +iface eth0 inet manual 
- bond-master bond0 +     ​bond-master bond0
- bond-primary eth0 +
-</​code>​+
  
-Next, add the second device in the bonding pair: 
- 
-<​code>​ 
 auto eth1 auto eth1
- iface eth1 inet manual +iface eth1 inet manual 
- bond-master bond0+     ​bond-master bond0
 </​code>​ </​code>​
  
-Now that the ''​bond0''​ device ​is addedyou can configure it just like any network device.+Once they are added, add the settings for the bonding configuration. In this scenario, the connection ​is checked very 100 ms. The mode is active-backupmeaning that if one slave fails, the other will take over.
  
-Hereit's using the default configuration of the first Ethernet device to get an address from the DHCP server:+After thatyou can configure the device as usual. For simplicity'​s ​sake, we'​re ​using DHCP here:
  
 <​code>​ <​code>​
 auto bond0 auto bond0
 iface bond0 inet dhcp iface bond0 inet dhcp
 +     ​bond-primary eth0 eth1
 +     ​bond-mode active-backup
 +     ​bond-miimon 100
 </​code>​ </​code>​