From owner-freebsd-net Wed Jan 3 10:39:44 2001 From owner-freebsd-net@FreeBSD.ORG Wed Jan 3 10:39:40 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from frmta00.chello.fr (smtp.chello.fr [212.186.224.11]) by hub.freebsd.org (Postfix) with ESMTP id 3793637B404 for ; Wed, 3 Jan 2001 10:39:40 -0800 (PST) Received: from cha213245067180.chello.fr ([213.245.67.180]) by frmta00.chello.fr with ESMTP id <20010103183915.BXKX8091.frmta00@cha213245067180.chello.fr>; Wed, 3 Jan 2001 19:39:15 +0100 Date: Wed, 03 Jan 2001 19:42:41 CET From: Sebastien To: Michel Martins Marinho Cc: freebsd-net@FreeBSD.ORG Subject: Re: Problems with traceroute and natd. Reply-To: spe@bsdfr.org X-Mailer: Spruce 0.6.5 for X11 w/smtpio 0.7.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <20010103183915.BXKX8091.frmta00@cha213245067180.chello.fr> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org when you enter ipfw rule don't use: ipfw add divert natd all from any to any but use: ipfw add divert natd all from any to any via xl0 (xl0 is the natd interface that you have specified whit natd -n ... change it with your interface name) after, your traceroutes will be "normal" :-) spe. -- spe@bsdfr.org On Wed, 3 Jan 2001, Michel Martins Marinho wrote: > Date: Wed, 3 Jan 2001 16:23:13 -0200 (BRST) > To: > From: Michel Martins Marinho > Subject: Problems with traceroute and natd. > > Hi > > > I possess some servers freebsd functioning as roteadores and some of them > making nat. > > > I have the following one problem. When I make one traceroute for some > equipment that is after these servers, it returns the IP from the first > server who is making nat. > > ex: > > [fulano@vitoria /]# traceroute 192.168.250.194 > traceroute to 192.168.250.194 (192.168.250.194), 30 hops max, 38 byte > packets > 1 bss (192.168.0.128) 0.505 ms 0.435 ms 0.383 ms > 2 192.168.250.194 (192.168.250.194) 38.520 ms 2.985 ms 3.798 ms > 3 192.168.250.194 (192.168.250.194) 35.513 ms 27.109 ms 35.208 ms > 4 192.168.250.194 (192.168.250.194) 56.532 ms 55.075 ms 52.811 ms > 5 192.168.250.194 (192.168.250.194) 67.176 ms 76.174 ms 73.122 ms > 6 192.168.250.194 (192.168.250.194) 67.687 ms 82.497 ms 67.614 ms > [fulano@vitoria /root]# > > Would be possible the result to be normal? > > [fulano@vitoria /]# traceroute 192.168.250.194 > traceroute to 192.168.250.194 (192.168.250.194), 30 hops max, 38 byte > packets > 1 bss (192.168.0.128) 0.505 ms 0.435 ms 0.383 ms > 2 192.168.1.10 (192.168.1.10) 38.520 ms 2.985 ms 3.798 ms > 3 192.168.25.1 (192.168.25.1) 35.513 ms 27.109 ms 35.208 ms > 4 192.168.35.1 (192.168.35.1) 56.532 ms 55.075 ms 52.811 ms > 5 192.168.100.15 (192.168.100.15) 67.176 ms 76.174 ms 73.122 ms > 6 192.168.250.194 (192.168.250.194) 67.687 ms 82.497 ms 67.614 ms > [fulano@vitoria /root]# > > > I'm sorry my english! > > {]'s > > > > > Michel Marinho > IFX Networks > marinho@ifx.com.br > www.ifx.com.br > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Sebastien Petit spe@bsdfr.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message