Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 1998 15:38:23 +0800 (SGT)
From:      freebsd mailing list <freebsd@infowar.ml.org>
To:        questions@FreeBSD.ORG
Subject:   Need Help with NATD(urgent) 
Message-ID:  <Pine.BSF.4.02.9809111526460.377-100000@infowar.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

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     0:a0:c9:8c:3f:b5   UHLW        0       29       lo0
                                                                  ^^^^^
from netstat -r, fxp1 is on lo0(127.0.0.1) which is supposed to be
10.99.99.99 .

fxp0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 202.169.244.206 netmask 0xffffff00 broadcast 202.169.244.255
        ether 00:a0:c9:8e:af:cd 
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.99.99.99 netmask 0xff000000 broadcast 10.255.255.255
        ether 00:a0:c9:8c:3f:b5
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

/etc/hosts :

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

And got this kernel msg:
Sep 11 15:28:57 infowar /kernel: arp: 00:a0:c9:8e:ae:b1 is using my IP
address 10.99.99.99!

Any help would be appreciated.

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.9809111526460.377-100000>