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
rb:ubuntunetwork [08/06/2019 23:22]
andrew [Bonding]
rb:ubuntunetwork [17/02/2020 16:51] (current)
andrew [Monitoring]
Line 3: Line 3:
  
 Ubuntu uses ''/​etc/​network/​interfaces''​ for all the network definitions. Ubuntu uses ''/​etc/​network/​interfaces''​ for all the network definitions.
 +
 +
 +This is valid for Ubuntu prior to Ubuntu 18.04, for networking in 18.04, see page on [[rb:​ubuntu1804netplan|Ubuntu 18.04 Netplan. ]]
  
 ===== Static ===== ===== Static =====
Line 63: Line 66:
 </​code>​ </​code>​
  
 +
 +==== Monitoring ====
 +
 +/proc contains data about the state of the bond and the slaves, most useful is probably to see which slave is avtive in an active/​passive setup.
 +
 +<​code>​
 +[root@server01 ~]# cat /​proc/​net/​bonding/​bond0
 +
 +Primary Slave: None
 +Currently Active Slave: eth1
 +</​code>​
 +
 +
 +==== Changing active interface ====
 +
 +<​code>​
 +[root@server01 ~]# ifenslave –change-active bond0 eth0
 +</​code>​
 ===== VLAN driver ===== ===== VLAN driver =====
  

rb/ubuntunetwork.1560036175.txt.gz · Last modified: 08/06/2019 23:22 by andrew