1 |
Hi, |
2 |
|
3 |
On Wed, 21 Dec 2005 21:50:05 +0200 |
4 |
Ryan Viljoen <ravilj@×××××.com> wrote: |
5 |
|
6 |
> ----- * Adding routes |
7 |
> ----- * default ... |
8 |
> ----- * via ... |
9 |
> ----- gw: Unknown host |
10 |
> ----- * 192.168.4.1 ... |
11 |
|
12 |
Your /etc/conf.d/net is broken in this regard. Read the example |
13 |
(net.example) for correct syntax. It's probably using /sbin/ip, thus |
14 |
different syntax from /sbin/route. |
15 |
|
16 |
> Okay I tried the following: |
17 |
> |
18 |
> ----- ziig conf.d # route add 192.168.4.1 |
19 |
> ----- SIOCADDRT: No such device |
20 |
|
21 |
Well, you should tell where you want your route going to... |
22 |
|
23 |
> This however did not give an error: |
24 |
> |
25 |
> ----- ziig conf.d # route add 192.168.4.1 gw 192.168.4.1 |
26 |
|
27 |
But should not be needed as 192.168.0.0/255.255.255.0 should |
28 |
automatically route through dev eth0 after ifconfig. |
29 |
|
30 |
Hint: What you maybe want to issue is "route add default gw |
31 |
192.168.4.1" or "ip route add default via 192.168.4.1"? This should |
32 |
route all non-local traffic through that machine. |
33 |
|
34 |
-hwh |
35 |
-- |
36 |
gentoo-user@g.o mailing list |