"Justin P. Michel" <[EMAIL PROTECTED]> writes:

> I am having a problem with NAT.
> 
> I have my FreeBSD system, running 4.8, cvsup'd to p13.  I have the following
> in my kernel configuration:
> 
> options IPDIVERT
> options IPFIREWALL
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=10
> 
> I have two network adapters, both Realtek 8139s.  The first is set to
> 192.168.0.2, the second is set to 10.0.0.1.
> 
> The 192.168.0.2 one plugs into my router, and the 10.0.0.1 one plugs into my
> local hub (just like in the picture in the handbook).
> 
> The system can ping and talk fine with the outside world.  However, when I
> plug a system into the hub, the FreeBSD systems assigns it an IP (I'm
> running dhcpd on the FreeBSD system as well), and I can ping the FreeBSD
> system on the 10.0.0.1 interface, but I can not ping the other interface, or
> access the outside world.
> 
> I have the following in my rc.conf as well:
> 
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_type="OPEN"
> natd_enable="YES"
> natd_interface="rl0"
> natd_flags=""
> ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0"
> ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0"
> defaultrouter="192.168.0.1"
> 
> Am I missing something?  I followed the instructions in the handbook, (and
> have set up similar networks that worked fine) but can not seem to get this
> one to go.  If anyone can shed some light on this situation, please let me
> know.

Are the client systems sending out packets at all?
You can use tcpdump(1) on the FreeBSD router to check.
If not, maybe they're not getting configured with a default route or
DNS server.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to