> Your /etc/conf.d/net is broken in this regard. Read the example
> (net.example) for correct syntax.

I used the net.example for my /etc/conf.d/net

>It's probably using /sbin/ip, thus
> different syntax from /sbin/route.

Specifying the following works:

config_eth0=( "192.168.4.128/24" )
routes_eth0=(  "default via 192.168.4.1" )

When using DHCP and the fallback option, setting the gateway fails. I
then have to use route add default gw 192.168.4.1 to set it manually
(thanks HWH).

config_eth0=( "dhcp" )
dhcpcd_eth0="-t 3 -h raviljmobile"

fallback_eth0=( "192.168.4.128 netmask 255.255.255.0" )
fallback_route_eth0=( "default via 192.168.4.1" )

--
Ryan Viljoen Bsc(Eng) (Electrical)

"When you say "I wrote a program that crashed Windows", people just
stare at you blankly and say "Hey, I got those with the system, for
free". - Linus Torvalds, 1995

-- 
gentoo-user@gentoo.org mailing list

Reply via email to