On Wed, Dec 1, 2010 at 5:41 PM, Geoff Sweet <geoff.sw...@wemadeusa.com> wrote: > I have been googling this issue today and I am finding that I don't quite know > enough about what I am doing, and that the terms I am searching for are not > returning the results I want. > > I have need of using OpenBSD as a router temporarily. I have four interfaces. > > bge0 - my primary interface that will be facing my ISP's border router > bge1: > +vlan1 - Segment for my subnet1 > +vlan2 - Segment for my subnet2 > +vlan3 - Segment for my subnet3 > > So I really only want routing functionality so I thought it was safe to do the > following: > > - Set net.inet.ip.fordwarding=1 > - Disabled PF > > This leaves me in a state where I can ping hosts in vlan1 from the network on > bge0. But that's about it. I kinda don't know the right questions to ask > here. Googling for routing leads to mostly sites dealing with adding static > routes in OpenBSD. So from some of the reading on Faq6, I assumed that > enabling forwarding would leave me with a system whereby packets entering any > of the interfaces would be routed back out the correct interface for the > subnet, or off onto the default gateway if no local subnet exists. But that > assumption seems to be failing me. The faq also mentioned OpenBGPD and routed, > but there doesn't appear to be any man page for routed and because my ISP is > statically routing my subnets to me, apparently (according to them) I have no > need of BGP. Could anyone offer any insight or advice on what I am doing > wrong?
are the other computers configured to use the router as their gateway? more information about the networks and ips of the computers on either end, the output of ifconfig, and what exactly "that's about it" means would go a long way.