On Mon, Dec 20, 2010 at 3:20 PM, brett <brett.ma...@gmail.com> wrote:

> r...@beagleboard:~# route add default gw 192.168.10.12 netmask 255.255.255.0
dev
>  usb0

Don't set a netmask on your default route. You're adding a route for
0.0.0.0/24.

> r...@beagleboard:~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
> default         192.168.10.12   255.255.255.0   UG    0      0        0
usb0
> 192.168.10.0    *               255.255.255.0   U     0      0        0
usb0

Shows up right there on the "default" line.

A default route should have a Genmask of 0.0.0.0 (says so in the man page).

All the IRB/CRB nonsense is just distracting.

--
Jon

Reply via email to