Date: Sun, 26 Nov 2000 13:16:47 -0500 (EST) From: Jim Freeze <jim@freeze.org> To: cjclark@alum.mit.edu Cc: questions@FreeBSD.ORG Subject: Re: Need help with natd and connecting Windows to LAN Message-ID: <Pine.BSF.4.21.0011261307440.33771-100000@www.bellnetworks.net> In-Reply-To: <20001125235823.F12190@149.211.6.64.reflexcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> If you do a 'tcpdump -eni al0' while you try both the ping from the > gateway to the Win98 box and the other way, what do you see? Here is what I get when pinging from W98(192.168.1.2) to FreeBSD(192.168.1.1) - W98 ping reports "Request timed out" as before: root@eeyore1 ('tty') /usr/home/jfreeze 1 -> tcpdump -eni al0 tcpdump: listening on al0 13:15:16.269835 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:15:16.269892 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:15:20.553363 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:15:20.553390 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:15:25.052420 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:15:25.052442 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:15:29.551832 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:15:29.551857 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff And the other way around jfreeze@eeyore1 ('tty') /usr/home/jfreeze 1 -> ping rabbit PING rabbit (192.168.1.2): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied Oops, the firewall is up. Let me turn it to simple and ping from FBSD to W98. root@eeyore1 ('tty') /usr/home/jfreeze 2 -> tcpdump -eni al0 tcpdump: listening on al0 13:21:21.742700 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:22.749242 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:23.759253 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:24.769284 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:25.779287 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:26.789296 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:27.799311 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:28.809331 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request 13:21:29.819347 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0800 98: 192.168.1.1 > 192.168.1.2: icmp: echo request ...and on and on Now ping from the pc again with the "open" firewall setting: root@eeyore1 ('tty') /usr/home/jfreeze 3 -> tcpdump -eni al0 tcpdump: listening on al0 13:22:16.269514 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:22:16.269546 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:22:20.488485 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:22:20.488514 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:22:24.987795 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:22:24.987828 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff 13:22:29.486987 19:2:16:8:1:2 ff:ff:ff:ff:ff:ff 0806 60: arp who-has 192.168.1.1 tell 192.168.1.2 13:22:29.487017 ff:ff:ff:ff:ff:ff 19:2:16:8:1:2 0806 60: arp reply 192.168.1.1 is-at ff:ff:ff:ff:ff:ff On Sat, 25 Nov 2000, Crist J . Clark wrote: > On Sun, Nov 26, 2000 at 01:06:51AM -0500, Jim Freeze wrote: > > I am running FBSD3.4R as a gateway/router with a Win98 box connected on > > a local LAN. The gateway machine can see the internet and the Win98 box, > > but the Win98 box cannot ping the gateway nor see beyond it. > > [snip] > > The configs look OK. But... > > > root@eeyore1 ('tty') ~ 17 -> ifconfig -a > > vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > > inet 24.9.218.175 netmask 0xffffff00 broadcast 24.9.218.255 > > ether 00:60:97:4f:aa:a0 > > al0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > > ether ff:ff:ff:ff:ff:ff > ^^^^^^^^^^^^^^^^^ > This does not look at all right. > > > media: autoselect (100baseTX <full-duplex>) > > supported media: autoselect 100baseTX <full-duplex> 100baseTX > > <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP > > <half-duplex> > > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 > > tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > -- > Crist J. Clark cjclark@alum.mit.edu > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > =========================== Jim Freeze jim@freeze.org --------------------------- Am I a webmaster? No. More like a webslave. =========================== 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.21.0011261307440.33771-100000>