ip route usage

Denis Vlasenko vda.linux at googlemail.com
Wed Sep 13 10:39:44 UTC 2006


On Friday 08 September 2006 19:08, Rogelio Serrano wrote:
> how do i use ip to set up my routes?
> 
> ip addr add 192.168.1.3 dev eth0

ip addr add 192.168.1.3/24 brd + dev eth0
ip link set dev eth0 up    (if not yet up)

> ip route add 192.168.1.0/24 dev eth0

Wrong. Should be added by itself if you use correct
ip addr add command.
--
vda



More information about the busybox mailing list