Hi, On Wed, 21 Dec 2005 21:50:05 +0200 Ryan Viljoen <[EMAIL PROTECTED]> wrote:
> ----- * Adding routes > ----- * default ... > ----- * via ... > ----- gw: Unknown host > ----- * 192.168.4.1 ... Your /etc/conf.d/net is broken in this regard. Read the example (net.example) for correct syntax. It's probably using /sbin/ip, thus different syntax from /sbin/route. > Okay I tried the following: > > ----- ziig conf.d # route add 192.168.4.1 > ----- SIOCADDRT: No such device Well, you should tell where you want your route going to... > This however did not give an error: > > ----- ziig conf.d # route add 192.168.4.1 gw 192.168.4.1 But should not be needed as 192.168.0.0/255.255.255.0 should automatically route through dev eth0 after ifconfig. Hint: What you maybe want to issue is "route add default gw 192.168.4.1" or "ip route add default via 192.168.4.1"? This should route all non-local traffic through that machine. -hwh -- gentoo-user@gentoo.org mailing list