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.
-- 
[EMAIL PROTECTED]

On Wed, 3 Jan 2001, Michel Martins Marinho wrote:
> Date: Wed, 3 Jan 2001 16:23:13 -0200 (BRST)
> To: <[EMAIL PROTECTED]>
> From: Michel Martins Marinho <[EMAIL PROTECTED]>
> 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
> [EMAIL PROTECTED]
> www.ifx.com.br
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
-- 
Sebastien Petit
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to