This shows you the differences between two versions of the page.
|
ubuntu_network_configuration [2012/02/07 11:32] 127.0.0.1 external edit |
ubuntu_network_configuration [2012/05/02 17:57] (current) Brand fixed formatting |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| <code> | <code> | ||
| auto eth0 | auto eth0 | ||
| - | iface eth0 inet dhcp</code> | + | iface eth0 inet dhcp |
| + | </code> | ||
| ===== STATIC ===== | ===== STATIC ===== | ||
| <code> | <code> | ||
| - | <nowiki></code> | ||
| auto eth0 | auto eth0 | ||
| iface eth0 inet static | iface eth0 inet static | ||
| - | <code> | ||
| address 128.111.220.100 | address 128.111.220.100 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Line 21: | Line 20: | ||
| dns-nameservers 128.111.220.18 128.111.220.16 128.111.1.2 | dns-nameservers 128.111.220.18 128.111.220.16 128.111.1.2 | ||
| dns-search nceas.ucsb.edu</code> | dns-search nceas.ucsb.edu</code> | ||
| - | </nowiki> | + | |
| ===== Bridged ===== | ===== Bridged ===== | ||
| Line 27: | Line 26: | ||
| <code> | <code> | ||
| - | <nowiki></code> | ||
| auto br0 | auto br0 | ||
| iface br0 inet static | iface br0 inet static | ||
| - | <code> | ||
| address 128.111.220.100 | address 128.111.220.100 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Line 43: | Line 40: | ||
| bridge_maxage 12 | bridge_maxage 12 | ||
| bridge_stp off</code> | bridge_stp off</code> | ||
| - | </nowiki> | ||
| ===== Bonded ===== | ===== Bonded ===== | ||
| Line 49: | Line 45: | ||
| <code> | <code> | ||
| - | <nowiki></code> | ||
| auto bond0 | auto bond0 | ||
| iface bond0 inet static | iface bond0 inet static | ||
| - | <code> | ||
| address 128.111.220.100 | address 128.111.220.100 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Line 62: | Line 56: | ||
| bond-slaves none | bond-slaves none | ||
| bond-mode 4 | bond-mode 4 | ||
| - | bond-miimon 100</code> | + | bond-miimon 100 |
| auto eth0 | auto eth0 | ||
| iface eth0 inet manual | iface eth0 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| - | bond-primary eth0 eth3</code> | + | bond-primary eth0 eth3 |
| auto eth3 | auto eth3 | ||
| iface eth3 inet manual | iface eth3 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| bond-primary eth0 eth3</code> | bond-primary eth0 eth3</code> | ||
| - | </nowiki> | ||
| ===== Bonded and Bridged ===== | ===== Bonded and Bridged ===== | ||
| Four interfaces (eth0, 1, 4, 5) bonded with LACP, then bridged for KVM. Switch must be configured with LACP. | Four interfaces (eth0, 1, 4, 5) bonded with LACP, then bridged for KVM. Switch must be configured with LACP. | ||
| <code> | <code> | ||
| - | <nowiki></code> | ||
| auto bond0 | auto bond0 | ||
| iface bond0 inet manual | iface bond0 inet manual | ||
| - | <code> | ||
| bond-slaves none | bond-slaves none | ||
| bond-mode 4 | bond-mode 4 | ||
| - | bond-miimon 100</code> | + | bond-miimon 100 |
| auto eth0 | auto eth0 | ||
| iface eth0 inet manual | iface eth0 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| - | bond-primary eth0 eth1 eth4 eth5</code> | + | bond-primary eth0 eth1 eth4 eth5 |
| auto eth1 | auto eth1 | ||
| iface eth1 inet manual | iface eth1 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| - | bond-primary eth0 eth1 eth4 eth5</code> | + | bond-primary eth0 eth1 eth4 eth5 |
| auto eth4 | auto eth4 | ||
| iface eth4 inet manual | iface eth4 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| - | bond-primary eth0 eth1 eth4 eth5</code> | + | bond-primary eth0 eth1 eth4 eth5 |
| auto eth5 | auto eth5 | ||
| iface eth5 inet manual | iface eth5 inet manual | ||
| - | <code> | ||
| bond-master bond0 | bond-master bond0 | ||
| - | bond-primary eth0 eth1 eth4 eth5</code> | + | bond-primary eth0 eth1 eth4 eth5 |
| auto br0 | auto br0 | ||
| iface br0 inet static | iface br0 inet static | ||
| - | <code> | ||
| address 128.111.220.100 | address 128.111.220.100 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Line 124: | Line 108: | ||
| bridge_ports bond0 | bridge_ports bond0 | ||
| bridge_fd 0 | bridge_fd 0 | ||
| - | bridge_maxwait 0</code> | + | bridge_maxwait 0 |
| - | </nowiki> | + | </code> |