Date: Fri, 19 Sep 2003 14:39:17 +0200 From: William Fletcher <ultraviolet@epweb.co.za> To: freebsd-questions@freebsd.org Subject: NATD, interface with two IPs. Message-ID: <20030919123917.GA445@tulip.epweb.co.za>
next in thread | raw e-mail | index | archive | help
--YZa61AII3s1sGKYx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I have a slight problem with natd. I have the following interface.=20 ed2: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 196.14.166.30 netmask 0xffffffe0 broadcast 196.14.166.31 inet6 fe80::200:21ff:fe20:f11%ed2 prefixlen 64 scopeid 0x2 inet 192.168.2.30 netmask 0xffffff00 broadcast 192.168.2.255 ether 00:00:21:20:0f:11 Take note of the network masks. I can only talk to computer 192.168.2.1-30 when natd is running. I'm using natd to do the translation... With the following ipfw rule. ipfw -q -f add divert natd all from any to any via ed2 I can ping across to 192.168.2.30+ but I cannot send tcp\udp, etc. Anyone got any ideas, or, should I just go for ipnat?=20 --=20 William Fletcher (ultraviolet) Powered by http://www.FreeBSD.org/ IT Administrator, EPWeb networks. irc at irc.epweb.co.za http://www.epweb.co.za/ http://vision.za.net/irc/ Tel: +27 (041) 395 6800 =20 Fax: +27 (041) 395 6818=09 Support: support@epweb.co.za "To see what is in front of one's nose needs a constant struggle.."=20 - George Orwell I'm not vain; It's hard being modest when you're so perfect!=20 This email and the content are subject to a disclaimer at the following lin= k: http://www.epweb.co.za/corp/disclaimer.htm --YZa61AII3s1sGKYx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/avj1ju3fq0dMPxsRAllIAJ9VN2ZOY/Lf5XunpSt5Royef8gcYQCdGtB6 xWVvM26PIKm4UbNK+yuMAts= =S8D1 -----END PGP SIGNATURE----- --YZa61AII3s1sGKYx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030919123917.GA445>