View Single Post

   
  #4 (permalink)  
Old 02-16-2008, 05:33 AM
jpd
 
Posts: n/a
Default Re: Simple network config problem?

In article <1062535426.233919@sj-nntpcache-5>, Mitch Zollinger wrote:
> I just replaced Linux with OpenBSD 3.3 on my home NAT server / firewall.
> I'm having some difficulty getting a basic 2 NIC setup to work
> properly.


The linux setup worked with the same hardware or did you change anything?
Did you change any network cabling?

[snip]
> If I try to ping the OpenBSD firewall (192.168.1.100) from an internal
> client, I get no return packets; if I try to ping an internal client
> from the BSD box, I also receive no return packets.


Then it might be a firewall problem, that is, turn off all firewalling
(and NAT and whatnot) rules and see if you can make dc0 work with the
internal network first. Oh, and pull the ne3 plug for the time being.

Once you have a connection there, you can continue with setting up NAT.

Also check with tcpdump if you can see any packets coming in or going out.
Something like

tcpdump -nes 1500 -i dc0

should tell you if there's anything going on. Try on both sides.


> It doesn't appear
> to be a hardware problem, since I receive no error messages and I can
> see the NIC & hub lights flashing appropriately.


You still might have a hardware problem: maybe one of the network interfaces
on either end of the cable has a broken tx or rx unit. Or maybe your cabling
is /slightly/ wrong. Check for correct wiring _for ethernet_. Using the wrong
pairs might get you lights but no connection. Or maybe a connection but lots
of late colisions or it just won't sync right on 100BaseTX. Just check. :-)


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
Reply With Quote