From owner-freebsd-questions Tue Nov 7 9:36:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pfa0frpk001.panasonicfa.com (unknown [38.248.119.1]) by hub.freebsd.org (Postfix) with ESMTP id C8FB237B479 for ; Tue, 7 Nov 2000 09:36:16 -0800 (PST) Received: by exchange.panasonicfa.com with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Nov 2000 11:35:54 -0600 Message-ID: <054F7DAA9E54D311AD090008C74CE9BD01766D6D@exchange.panasonicfa.com> From: "Zaitsau, Andrei" To: 'Roop Nanuwa' Cc: Anthony Rubin , questions@FreeBSD.ORG Subject: RE: two ethernets, nat, firewall Date: Tue, 7 Nov 2000 11:35:49 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hold on... He said he has 2 NICs on the same IRQ in in one box this probably coups the problem. I believe he should first be able "to see other machines" before bring up NAT and IPFW to work.. .... -----Original Message----- From: Roop Nanuwa [mailto:roop@gw.carpoolbc.com] Sent: Tuesday, November 07, 2000 11:31 AM To: Anthony Fox Cc: Anthony Rubin; questions@FreeBSD.ORG Subject: Re: two ethernets, nat, firewall Did you remember to recompile the kernel with: options IPFIREWALL options IPDIVERT It could be that you have all the configuration files right, but your kernel isn't configured properly... RSN On Tue, 7 Nov 2000, Anthony Fox wrote: > > > > You need the following line in /etc/rc.conf: > > > > gateway_enable="YES" > > got this. > > > > > This allows FreeBSD to forward packets. You can change this setting without > > rebooting with the following command: > > > > sysctl -w net.inet.ip.forwarding=1 > > > > How are you starting natd? > > natd gets started in /etc/rc.conf > > dmesg says that both interfaces are on the same irq. they are both > pci cards. is this a problem? if it is, how do i set them to > different irqs? do i have to recompile the kernel? > > thanks, > anthony > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message