From owner-freebsd-questions Wed May 19 10:43: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from almazs.pacex.net (almazs.pacex.net [204.1.219.156]) by hub.freebsd.org (Postfix) with ESMTP id AA383154BF for ; Wed, 19 May 1999 10:43:00 -0700 (PDT) (envelope-from danielb@almazs.pacex.net) Received: from localhost (danielb@localhost) by almazs.pacex.net (8.9.2/8.9.2) with SMTP id KAA19413; Wed, 19 May 1999 10:42:50 -0700 (PDT) Date: Wed, 19 May 1999 10:42:50 -0700 (PDT) From: daniel B To: Lanny Baron Cc: questions@FreeBSD.ORG, Greg Lehey Subject: Re: trying to have 2 nics in one box for firewall setup ...no luck In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 18 May 1999, 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 I think your problem is HERE! xl0; you are using dummy IP between two real IP interfaces, you can use dummy IP on the inside LAN machines but not on the external interface to your router/gateway. NATD will be helpful if you are using fake IP in your inside LAN otherwise giveup on it. The other issue will be you can not have both interfaces xl0 and de0 in the same subnet and be able to route between them. > 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 > > > 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 > > 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... > > Lanny > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message