I'm having a little problem with an OpenBSD box I just setup.  It dosen't
seam to be forwarding packets between the two interfaces I have
setup.  Let me give you a little larger new of the network I'm building,
then I'l talk more about the problem it's self.

Basicly I am setting up an 802.11b link between my house and my friends
house a little over a block away.  I was lucky enough to get my hands on
some really nice 26dbi boost 2.4ghz dishes that we have since mounted on
our houses.  We are getting a good sloid 35SNR (single to noise
ratio) connection.

We each have our own DSL lines and nat gateways to share the connection
between the various boxes on our networks.  Mine is a FreeBSD box and my
friends is a win2k machine with ICS (it's a long story, and yes, right now
that is our only option).  Basicly I want the to be able to reach his
house from mine and visa versa.  We each got a box to run as a wireless
gateway.  After playing with a couple OS's, win2k, FreeBSD, slackware, and
OpenBSD, I found that OpenBSD was really the best choice for us.  These
boxes will have no other task, other then routing packets.

I got my box setup no problem, it detecting both nics, wired and wireless,
with the generic kernel and it was talking on both networks in no time.  I
used sysctl to set net.inet.ip.forwarding=1 and it was then passing
packets with no problem.  I also modifyed /etc/sysctl.conf to make sure it
was set like that on the next reboot.  With some minor manual routing
table manipulations on the DSL gateway boxes and the wireless gateway
boxes, we have the structure down.

We are useing three subnets.  One for my house, one for the wireless
network, and one for my friend's house.  Once we got all the hardware
installed and the connection up and good (we used a laptop to test that),
we went to work on his end.  

We got all his routes set properly and his OpenBSD wireless gateway seamed
great too.  Until we tried to route packets through it.  It refuses to
pass anything though it.  I have it sitting on both networks and talking
on them fine.  It can see and talk with the other wireless gateway box,
and it can talk through that one to get to my network.  It can also use
the wired nic to get to anything on my friends network.  The wireless
laptop also talks just fine with it.  But no one can use it as a gateway,
if I set the laptop to use it as it's default route I can't see
anything.  If I try to access 192.168.0/24 (my friends subnet) from my
subnet (10.0.0/24) my packets get stuck in his wireless gateway.  If one
of his boxes try to ping my wireless gateway, or even a wireless laptop in
range, the packets get stoped at the wireless gateway box.

I checked sysctl.conf and use the sysctl command to set
net.inet.ip.forwarding=1 but still not avail.  It can talk on both
networks just fine.  I don't have IPF running nor do I want it to right
now.  I would like to just get it up before playing with security and
breaking it again.

The routing tables are correct, and everything looks right.  Is there
something I missed?  Is there something else in OpenBSD (i'm running 2.9
release BTW) that could stop this from working?  I have a fairly plain
install.  Basicly all I did from first boot was to add the extra routes,
add some users, modify sysctl.conf, and fix up the hosts file.

I can't understand what I did diffrent on my box that makes it work that
could be diffrent then his.  I'm really at a loss here.  I would aprechate
any ideas.  Thanks!

--------------<<<((((((0))))))>>>--------------
Leo Clark
[EMAIL PROTECTED]

Reply via email to