From owner-freebsd-questions Sun Apr 14 19:46:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl6-t92.citlink.net [207.173.251.92]) by hub.freebsd.org (Postfix) with ESMTP id 56E3137B404 for ; Sun, 14 Apr 2002 19:46:14 -0700 (PDT) Received: from tagalong (unknown [192.168.1.28]) by blacklamb.mykitchentable.net (Postfix) with SMTP id DD4A1EE5A1 for ; Sun, 14 Apr 2002 19:46:12 -0700 (PDT) Message-ID: <003301c1e427$b4d94580$1c01a8c0@lc.ca.gov> From: "Drew Tomlinson" To: Subject: Can't Get Gateway To Forward Packets Date: Sun, 14 Apr 2002 19:45:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 mtu 1500 ed0: flags=8843 mtu 1500 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:40:05:66:b2:55 ed1: flags=8843 mtu 1500 inet 192.168.10.2 netmask 0xffffff00 broadcast 192.168.10.255 ether 00:40:05:66:b2:52 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8002 mtu 1500 lo0: flags=8049 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