On Mon, Dec 20, 2010 at 5:45 PM, Jon Simola <jsim...@gmail.com> wrote:
> 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).
If you were to do routing, and wanted to use a seperate block of
addresses (from 192.168.1.0/24), besides the Linux box's config, and
the OpenBSD box's config, you'd have to modify the configuration in
192.168.1.0/24 's router with static routes to the OpenBSD box (most
SOHO routers don't support this). If you were to try to use some
addresses under the 192.168.1.0/24 block, you'd have to either add a
static route, or do ARP proxying at the OpenBSD box.
>
> All the IRB/CRB nonsense is just distracting.
In my opinion, bridging is the most efficient way of accomplishing the
task (getting acccess to the wireless network through a computer
running OpenBSD)
>
> --
> Jon
>
>

--AlanCF

Reply via email to