Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 13:25:40 -0700
From:      James D Fowler <jimmy@dmech.com>
To:        freebsd-questions@freebsd.org
Subject:   natd and arp
Message-ID:  <PBECJMAJMCMLAGIFAJCHGEDOCBAA.jimmy@dmech.com>

next in thread | raw e-mail | index | archive | help
Hi,
I am trying to set up a system running release 4.6 to act as a gateway for a
network that doesn't have enough ip's (public).
I have re-compiled the kernel with ipfirewall and ipdivert.
It is running in the open mode for ipfw.
It has two interfaces dc0 connected to the wan and rl0 on the private net.

I keep receiving /kernel: arp: 192.168.1.2 (and other priv ip's )is on rl0
but got reply on (mac address of dc0)

it seems to be functioning as far as the nat and routing are concerned.

My concern is the arp messages, and have I missed something in the conf.

I would be grateful for any advise.
Thanx,
jimmy

rc.conf:

gatway_enable="yes"
firewall_enable="yes"
firewall_script="/etc/rc.firewall"
firewall type="open"
firewall_logging="yes"
natd_program="/sbin/natd"
natd_enable="yes"
natd_interface="dc0"
natd_flags="-u -l"

rc.firewall:

in the open section I modified the natd rule to:
${fwcmd} add 50 divert natd all from any to any via ${natd_interface}




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PBECJMAJMCMLAGIFAJCHGEDOCBAA.jimmy>