From owner-freebsd-questions Tue May 18 17: 7:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 2C4F214D52 for ; Tue, 18 May 1999 17:07:08 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id UAA03487; Tue, 18 May 1999 20:05:30 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199905190005.UAA03487@cc942873-a.ewndsr1.nj.home.com> Subject: Re: trying to have 2 nics in one box for firewall setup ...no luck In-Reply-To: from Lanny Baron at "May 18, 99 03:30:56 pm" To: lnb@freedom.cybertouch.org (Lanny Baron) Date: Tue, 18 May 1999 20:05:30 -0400 (EDT) Cc: questions@FreeBSD.ORG, grog@lemis.com Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Did your diagram get mangled by your MUA? If not, I don't get it.] Lanny Baron wrote, > Hello, > I have been trying for quite some time, with no headway to get my lan to > function properly. My setup (physical) is as follows > > 4 pc's /de0 (1st nic in freedom.cybertouch.org) > > heretic > cable modem/----(xl0 2nd nic in freedom.cybertouch.org)--->hub-->3 mrsmith > wired > > > gateway = 216.183.4.1 > de0 = 216.183.4.2 > xl0 = 192.168.0.1 > heretic.cybertouch.org (off hub) = 216.183.4.9 > wired.cybertouch.org (off hub) = 216.183.4.3 > mrsmith.cybertouch.org (off hub) = 216.183.4.6 That's a pretty strange setup. Don't you mean to use 192.168.0 network addresses for heretic, wired, and mrsmith? > from /var/log/messages: > > May 18 14:39:03 freedom /kernel: arp: 216.183.4.9 is on de0 but got reply > from 00:80:c8:e3:fa:05 on xl0 Makes sense to me. de0 is supposed to have the 216.183.4 network as you show below, but 216.183.4.9 is actually talking to xl0 who is on the 192.168.0 network. > freedom# ps auxw | grep natd > root 825 0.0 0.3 428 148 ?? Ss 3:00PM 0:00.00 /sbin/natd > -dynamic -unregistered_only -interface de0 > > from /etc/rc.conf: > gateway_enable="YES" > ifconfig_de0="inet 216.183.4.2 netmask 255.255.255.0" > ifconfig_xl0="inet 192.168.0.1 netmask 255.255.255.0" > defaultrouter="216.183.4.1" > hostname="freedom.cybertouch.org" > > Thanks in advance for some help... As I mentioned above, for this setup, you want to change your boxes behind freedom to the 192.168.0 network. That should fix it. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message