Code: Select all
emerge dhcpcd
/etc/init.d/net.eth0 startCode: Select all
ifconfigCode: Select all
ping -c3 www.gentoo.orgCode: Select all
config_eth0=( "192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" ) Code: Select all
nameserver 192.168.1.1Code: Select all
config_eth0=( "192.168.1.96 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.254" ) Code: Select all
nameserver 192.168.1.254Code: Select all
127.0.0.1 mybox.at.myplace mybox localhostCode: Select all
127.0.0.1 localhost.localdomain localhost
192.168.1.2 mybox.at.myplace mybox
192.168.1.3 otherbox.at.myplace otherbox