Date: Wed, 20 Aug 2003 17:08:17 +0200 From: William Fletcher <ultraviolet@epweb.co.za> To: freebsd-questions@freebsd.org Subject: [ultraviolet@epweb.co.za: Re: Natd, ethernet interface with aliases.] Message-ID: <20030820150817.GC10018@tulip.epweb.co.za>
next in thread | raw e-mail | index | archive | help
--O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hmm. ----- Forwarded message from William Fletcher <ultraviolet@epweb.co.za> ---= -- Date: Wed, 20 Aug 2003 17:07:44 +0200 From: William Fletcher <ultraviolet@epweb.co.za> To: Chuck Swiger <cswiger@mac.com> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 gif0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030820150817.GC10018>