On 10/10/2005 09:09 PM, Tim Watson wrote:
> Hi,
> 
> I currently use a conf.d/local.start script to set my default routes:
> route add 10.255.255.1 dev eth0
> route add default gw 10.255.255.1
> 
> I know I can set the second one using:
> routes_eth0=( "default via 10.255.255.1" )
> 
> but I cannot work out the correct syntax for the first.

Try the following format (basically just the part after "route add"):

routes_eth0=(
  "10.255.255.1 dev eth0"
  "default via 10.255.255.1"
)

Works flawless on a dedicated server from 1&1.

--
Regards,
Jochen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to