Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 00:38:33 +0800 (SGT)
From:      freebsd mailing list <freebsd@vmunix.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   NATD problem again.
Message-ID:  <Pine.BSF.4.02.9809100024020.2542-100000@vmunix.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
hi guys, 

Running 2.2.7, I have this fxp0 -> cable modem , fxp1 -> winbox. 
(no hub use crossover cable.)

followed 'man natd' to setup ipfw and natd:
natd -interface fxp0 -redirect_address 10.99.99.99 202.169.244.206

00100 divert 8668 ip from any to any via fxp0 
00200 allow ip from any to any
65535 deny ip from any to any


but when netstat -r:
winbox.infowar.ml. 0:a0:c9:8c:3f:b5   UHLW        0       38       lo0
                                                                  ^^^^^
fxp0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 202.169.244.206 netmask 0xffffff00 broadcast 202.169.244.255
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.99.99.99 netmask 0xff000000 broadcast 10.255.255.255 lo0:
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

from netstat -r, fxp1 is on lo0(127.0.0.1) which is supposed to be
10.99.99.99. No idea where is wrong, any hints would be appreciated. 

/etc/hosts :

202.169.244.206 infowar.ml.org infowar
10.99.99.99 winbox.infowar.ml.org winbox

thanks
kevin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9809100024020.2542-100000>