1 |
On 10/10/2005 09:09 PM, Tim Watson wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I currently use a conf.d/local.start script to set my default routes: |
5 |
> route add 10.255.255.1 dev eth0 |
6 |
> route add default gw 10.255.255.1 |
7 |
> |
8 |
> I know I can set the second one using: |
9 |
> routes_eth0=( "default via 10.255.255.1" ) |
10 |
> |
11 |
> but I cannot work out the correct syntax for the first. |
12 |
|
13 |
Try the following format (basically just the part after "route add"): |
14 |
|
15 |
routes_eth0=( |
16 |
"10.255.255.1 dev eth0" |
17 |
"default via 10.255.255.1" |
18 |
) |
19 |
|
20 |
Works flawless on a dedicated server from 1&1. |
21 |
|
22 |
-- |
23 |
Regards, |
24 |
Jochen |
25 |
-- |
26 |
gentoo-user@g.o mailing list |