Date: Tue, 01 Feb 2000 02:28:09 -0500 From: John <papalia@udel.edu> To: cjclark@home.com, Ruslan Ermilov <ru@ucb.crimea.ua>, freebsd-questions@FreeBSD.ORG Subject: Re: NATD/Divert broken ? Message-ID: <4.1.20000201022021.00951300@mail.udel.edu> In-Reply-To: <20000131234750.E31346@cc942873-a.ewndsr1.nj.home.com> References: <4.1.20000131123443.00975da0@mail.udel.edu> <4.1.20000131120328.009749c0@mail.udel.edu> <4.1.20000131120328.009749c0@mail.udel.edu> <20000131193116.A72155@relay.ucb.crimea.ua> <4.1.20000131123443.00975da0@mail.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
<snip> >> tcpdump read in numerical form: >> >> 12:46:10.236727 128.175.75.157.3504 > 128.175.75.157.44540: S >> 1546226005:1546226005(0) win 16384 <mss 16344,nop,wscale >0,nop,nop,timestamp 10 >> 05956 0> (DF) >> >> 12:46:12.832052 128.175.75.157.3504 > 128.175.75.157.44540: S >> 1546226005:1546226005(0) win 16384 <mss 16344,nop,wscale >0,nop,nop,timestamp 10 >> 05961 0> (DF) >> >> 12:46:18.832277 128.175.75.157.3504 > 128.175.75.157.44540: S >> 1546226005:1546226005(0) win 16384 <mss 16344,nop,wscale >0,nop,nop,timestamp 10 >> 05973 0> (DF) >> >> >* ifconfig -au inet >> >> merlin# ifconfig -au inet >> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >> fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 >> inet 128.175.75.157 netmask 0xffffff00 broadcast 128.175.75.255 >> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 >> > >Is that _really_ how it looks? If so, your loopback is >misconfigured, or should I say it is not configured at all. Apparently a line got cut off in the cut-n-paste. It reads: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xffffff00 and yes, that is really how it looks, and I never configured the lo0 interface - what you see is as/was/is installed. The above line matches what I've read in "The Complete FreeBSD", and I've seen nothing in the literature to contradict. If i'm mistaken, please point me in the right direction. >This makes me wonder about the tcpdump(8) output you showed. What >interface was that from? Was it the loopback where those packets >should have been going? The TCPDUMP you saw was generated with the following command line: merlin# tcpdump -s 1500 -w <filename> -i lo0 Unless i'm mistaken in the command line, that is most definitely displaying the output of "interface lo0", which is the loopback device. >Notice this: > >> merlin# netstat -arn >> Routing tables >> >> Internet: >> Destination Gateway Flags Refs Use Netif Expire >[snip] >> 127 lo0 USc 3 995 lo0 >> 127.0.0.1 lo0 UHW 1 5510 lo0 >[snip] >> 128.175.75.157 lo0 UHS 0 168 lo0 >[snip] > >These never actually lead anywhere. I don't think a device should ever >be a gateway. Mine look like, > >24.2.89.207 0:90:27:13:25:40 UHLW 0 30058 lo0 >127.0.0.1 127.0.0.1 UH 1 51637 lo0 If that's the case, then something is wrong somewhere else in the config. I have very rarely made manual changes to routing table, so the OS itself is coming up with these settings from the configs, but where? This may be part of the problem then. Those routes which I stated above only show when the failing connection is attempted. Thanks, John 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?4.1.20000201022021.00951300>