Date: Sun, 14 Apr 2002 19:45:52 -0700 From: "Drew Tomlinson" <drew@mykitchentable.net> To: <questions@freebsd.org> Subject: Can't Get Gateway To Forward Packets Message-ID: <003301c1e427$b4d94580$1c01a8c0@lc.ca.gov>
next in thread | raw e-mail | index | archive | help
Here's my network config:
ISP
|
| Public DHCP address
|
3Com ADSL Modem/Router
(Router performs NAT)
| (192.168.10.1)
|
|
| (ed1 192.168.10.2)
FBSD Gateway
| (ed0 192.168.1.2)
|
|
Internal LAN
I am running FBSD 4.5. This setup was definitely working in 4.4-RELEASE
and earlier. Once I upgraded to 4.5, it worked then too. However after
my upgrade, I received occasional lockups during heavy processing.
After powering off during one of these lockups, my gateway quit working.
I assumed I had a corrupted file of some sort.
I was lucky enough to be given a new motherboard and CPU. I've
installed it and booted the box. I CVSuped and then rebuilt my world
and kernel. However the gateway problem persists.
Here's what I know. The gateway can access the Internet. Machines on
the internal LAN can ping ed0 (1.2) and ed1 (10.2). However they can
not ping the 3Com (10.1) and thus, can not access the Internet.
net.inet.ip.forwarding=1 as described in the Handbook. ipfw is wide
open. All the internal machines have their default gateway set to
192.168.1.2. Netmasks are all 255.255.255.0. My route table in the
gateway looks like this:
blacksheep# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 192.168.10.1 UGSc 2 6819 ed1
127.0.0.1 127.0.0.1 UH 1 12 lo0
192.168.1 link#2 UC 2 0 ed0
192.168.1.3 0:a0:cc:5d:c3:70 UHLW 0 3 ed0
1195
192.168.1.4 0:e0:18:c4:f4:5e UHLW 0 3 ed0
1196
192.168.1.28 0:60:b3:67:3e:f1 UHLW 1 579 ed0
1191
192.168.10 link#3 UC 2 0 ed1
192.168.10.1 link#3 UHRLW 2 955 ed1
18
192.168.10.2 0:40:5:66:b2:52 UHLW 0 50 lo0
ifconfig shows this:
blacksheep# ifconfig
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:40:05:66:b2:55
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.10.2 netmask 0xffffff00 broadcast 192.168.10.255
ether 00:40:05:66:b2:52
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
Is there something else that I need? I know I've seen this topic on the
list before so I searched the archives. Most everything I found
involved NAT problems which doesn't apply in my situation. I'm stuck!
Any advice or suggestions are appreciated.
Thanks,
Drew
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c1e427$b4d94580$1c01a8c0>
