View Single Post
  #1   (View Single Post)  
Old 29th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Default Basic networking fail.

Hiya.

I usually use dhcp to connect OpenBSD to the internet and haven't had to concern myself with much more than hostname.if at least for a long time anyway.

ATM, I have a "router box" that I wish to use as a gateway to the internet for my desktop.
This is the topology:

Internet<==========>vr2@router@vr1<============>fx p0@desktop

Very simple.
As a minimum, I am able to plug my Internet (from my modem) into any of these adapters and get the web. A simple "dhcp" on a line in the relevant hostname.if file sees to that. :]

The next simple step in connectivity is to get the route from vr1 to fxp0 working, at least at the IP address level.
Here are my hostname.if files:
hostname.vr1 >
inet 192.168.255.250 255.255.255.0
hostname.fxp0 >
inet 192.168.255.0 255.255.255.0

My experience on that other O.S. tells me this is enough to do a ping test.
Unfortunately in this case it doesn't work.
I have tried with a known good cable. I can see the adapter lights at both ends flashing @ about the speed of the default ping packets.

Please let me know what to do.
As to be expected with OpenBSD it will be my fault.
Still I need to take precautions.
I have mercenaries waiting on the tarmac. The flight plan is for Alberta.
These guys are costing me a fortune and are starting to get antsy.

Best wishes.
Reply With Quote