From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 08:09:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F3B316A4BF for ; Wed, 20 Aug 2003 08:09:13 -0700 (PDT) Received: from mailgate.epweb.co.za (mailgate.epweb.co.za [196.14.166.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 947F943FE9 for ; Wed, 20 Aug 2003 08:08:44 -0700 (PDT) (envelope-from ultraviolet@tulip.epweb.co.za) Received: from tulip.epweb.co.za by bluesteel.co.za (MDaemon.PRO.v6.8.4.R) with ESMTP id 54-md50000000250.tmp for ; Wed, 20 Aug 2003 17:08:17 +0200 Received: by tulip.epweb.co.za (Postfix, from userid 1000) id 6864A147D39; Wed, 20 Aug 2003 17:08:17 +0200 (SAST) Date: Wed, 20 Aug 2003 17:08:17 +0200 From: William Fletcher To: freebsd-questions@freebsd.org Message-ID: <20030820150817.GC10018@tulip.epweb.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Processed: bluesteel.co.za, Wed, 20 Aug 2003 17:08:17 +0200 (not processed: message from trusted or authenticated source) X-Return-Path: ultraviolet@tulip.epweb.co.za X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Subject: [ultraviolet@epweb.co.za: Re: Natd, ethernet interface with aliases.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ultraviolet@epweb.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 15:09:13 -0000 --O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hmm. ----- Forwarded message from William Fletcher ---= -- Date: Wed, 20 Aug 2003 17:07:44 +0200 From: William Fletcher To: Chuck Swiger Subject: Re: Natd, ethernet interface with aliases. Reply-To: ultraviolet@epweb.co.za In-Reply-To: <3F438C5C.3030802@mac.com> User-Agent: Mutt/1.4i Alright ;-)=20 ed1: flags=3D8843 mtu 1500 inet 192.168.52.53 netmask 0xffffff00 broadcast 192.168.52.255 inet6 fe80::200:e8ff:fe2d:71dd%ed1 prefixlen 64 scopeid 0x1 ether 00:00:e8:2d:71:dd ed2: flags=3D8843 mtu 1500 inet6 fe80::200:21ff:fe20:f11%ed2 prefixlen 64 scopeid 0x2 inet 196.14.166.30 netmask 0xffffffe0 broadcast 196.14.166.31 inet 192.168.2.30 netmask 0xffffff00 broadcast 192.168.2.255 ether 00:00:21:20:0f:11 lo0: flags=3D8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 gif0: flags=3D8051 mtu 1280 tunnel inet 196.14.166.30 --> 196.14.166.22 inet6 fe80::200:e8ff:fe2d:71dd%gif0 prefixlen 64 scopeid 0x4 inet 192.168.53.53 --> 192.168.53.54 netmask 0xffffffff rc.conf. # Daemons. natd_enable=3D"YES" natd_interface=3D"ed2" natd_flags=3D"-m" Alright, the problem is...=20 I cannot connect to anything above 192.168.2.31, Like, 192.168.2.60, etc. Which is our internal network at work. ed1 is my internal interface. But, It seems to have something to do with the subnet mask on ed2. On Wed, Aug 20, 2003 at 10:57:32AM -0400, Chuck Swiger wrote: > William Fletcher wrote: > [ ... ] > >ed2: flags=3D8843 mtu 1500 > > inet6 fe80::200:21ff:fe20:f11%ed2 prefixlen 64 scopeid 0x2 > > inet 197.11.246.7 netmask 0xffffffe0 broadcast 197.11.246.31 > > inet 192.168.2.30 netmask 0xffffff00 broadcast 192.168.2.255 > > ether 00:00:21:20:0f:11 > > > >Everything I try send out to 192.168.2.30 and above, 31, 32, etc, etc. > >It doesn't "translate", tcpdump shows the packets coming directly from > >my internal hosts...=20 > > > >Is there anyway to solve this? Or is there a reason why it won't work?= =20 >=20 > Try the "-unregistered_only" (-u) flag to NATD, or at least show us more= =20 > information about how you've configured NAT. >=20 > --=20 > -Chuck --=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 This email and the content are subject to a disclaimer at the following lin= k: http://www.epweb.co.za/corp/disclaimer.htm ----- End forwarded message ----- --=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 This email and the content are subject to a disclaimer at the following lin= k: http://www.epweb.co.za/corp/disclaimer.htm --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/Q47hju3fq0dMPxsRAixdAJ9uUwv6SZBcevPKirkfFaKz1UZE6QCcDM9w UMzCq55/arZ5SjhjMuu0Ixs= =MNTR -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5--