ip route usage

Rob Landley rob at landley.net
Fri Sep 8 22:11:44 UTC 2006


On Friday 08 September 2006 1:08 pm, Rogelio Serrano wrote:
> how do i use ip to set up my routes?
> 
> ip addr add 192.168.1.3 dev eth0
> ip route add 192.168.1.0/24 dev eth0
> ip route add default via 192.168.1.1 says network unreachable
> 
> ping 192.168.1.1 works
> nslookup www.google.com works
> but ping www.google.com say network unreachable
> 
> what am i missing?
> 
> or should i just use ifconfig and pretend that linux networking is obsolete?

*shrug*  I use ifconfig.  Why is that obsolete?  (What's wrong with it?)

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list