On Wednesday 13 December 2006 13:46, Uwe Thiem wrote: > On 13 December 2006 17:38, Felipe Ribeiro wrote: > > i tried this, but still doesn't work > > > > modules=("ifconfig") > > Why do you insist on ifconfig? /etc/conf.d/net.example clearly indicates > that "iproute2" is the default - for good reason. >
What's wrong with ifconfig? > > config_eth0=("192.168.254.2") > > Try: > > config_eth0=( "192.168.254.2/24" ) > > "/24" tells the system to use the first 24 bits of the IP address as the > network part and the remaining 8 bits as the host part. Simply a shorter > notation than the netmask 255.255.255.0. > It 's just as good as specifying the complete mask. For some of us, it's iminately more readable > > routes_eth0=("default via 192.168.254.254") > > dns_servers_eth0=("192.168.254.254") > > Uwe > -- Jerry McBride -- gentoo-user@gentoo.org mailing list