no way to compare when less than two revisions

Differences

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


gentoo_networking [2016/04/27 20:56] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Gentoo Networking ======
  
 +  * [[Gentoo]]
 +  * [[Networking]]
 +  * [[hostname]]
 +
 +To set the FQDN hostname for Gentoo, set it as the first entry in ''/etc/hosts'':
 +
 +<code>
 +127.0.0.1 gentoo.beandog.org gentoo localhost
 +</code>
 +
 +You can see the available interfaces in ''/sys'':
 +
 +<code>
 +ls /sys/class/net
 +</code>
 +
 +=== Bonding ===
 +
 +Install [[ifenslave]] package to set up bonding. Also make sure your kernel has bonding enabled, or the ''bonding'' module is loaded. You will know if it's enabled because you will have an ethernet device ''bond0'' available.
 +
 +A basic configuration in Gentoo, where the IP address is set manually.
 +
 +The bonding interface uses the mac address of the first slave ethernet device listed.
 +
 +Edit ''/etc/conf.d/net''
 +
 +<code>
 +# Don't initialize any of the interfaces by default
 +config_eth0="null"
 +config_eth1="null"
 +
 +slaves_bond0="eth0 eth1"
 +mode_bond0="1"
 +miimon_bond0="100"
 +config_bond0="192.168.1.2"
 +routes_bond0="default via 192.168.1.1"
 +</code>

Navigation
QR Code
QR Code gentoo_networking (generated for current page)