From owner-freebsd-questions Tue Jan 2 16:58:50 2001 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 16:58:46 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from way2.kewl.com.au (way2.kewl.com.au [203.46.10.22]) by hub.freebsd.org (Postfix) with SMTP id 90E8237B400 for ; Tue, 2 Jan 2001 16:58:45 -0800 (PST) Received: from laptop ([203.52.67.10]) by way2.kewl.com.au (8.9.2/8.9.2/Debian/GNU) with SMTP id KAA16704; Wed, 3 Jan 2001 10:59:24 +1000 (EST) Message-ID: <007801c07520$83bd2bf0$3700a8c0@australianet.net.au> From: "Craig" To: "Gustavo Vieira Goncalves Coelho Rios" , References: <3A5217CE.5DE85F6B@ifour.com.br> Subject: Re: weird route in routing table Date: Wed, 3 Jan 2001 11:00:04 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is actually correct. 200.236.148.68 is assigned to fxp0 fxp0 is the NIC installed within local host so if you ping 200.236.148.68, your friendly BSD box understands that it is a pointless exercise to talk to itself via the network and therefore (sensibly) has it's own little private conversation via lo0 (localhost 127.0.0.1) Clever huh :-) Craig *** ask the computer to make a mistake and it will obey you without question *** ----- Original Message ----- From: "Gustavo Vieira Goncalves Coelho Rios" To: Sent: Wednesday, January 03, 2001 4:02 AM Subject: weird route in routing table > While monitoring my routing table i got the following: > > grios@midas$ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 200.236.148.1 UGSc 17 2498 fxp0 > 127.0.0.1 127.0.0.1 UH 1 1420 lo0 > 200.236.148 link#1 UC 0 0 fxp0 => > 200.236.148.1 0:60:2e:0:4d:2b UHLW 18 0 fxp0 > 1196 > 200.236.148.2 0:60:2e:0:48:5f UHLW 0 0 fxp0 > 1186 > 200.236.148.4 0:c0:5:4:1e:48 UHLW 0 0 fxp0 > 1142 > 200.236.148.5 0:c0:5:4:27:f1 UHLW 0 0 fxp0 > 1180 > 200.236.148.6 0:c0:df:e5:8c:13 UHLW 0 47570 fxp0 > 1177 > 200.236.148.8 0:c0:df:e6:10:16 UHLW 1 128687 fxp0 > 1177 > 200.236.148.12 0:c0:df:80:c:9c UHLW 0 251 fxp0 > 1186 > 200.236.148.14 0:0:21:e3:ee:ce UHLW 0 0 fxp0 > 1200 > 200.236.148.68 0:90:27:a6:c2:68 UHLW 3 117392 lo0 > 200.236.148.108 link#1 UHLW 1 1714 fxp0 => > 200.236.148.180 link#1 UHLW 1 1837 fxp0 => > 200.236.148.190 link#1 UHLW 2 1334 fxp0 => > grios@midas$ > > I cannot figure out why destination 200.236.148.68 is pointing to Netif > lo0, should it be fxp0 ? > > My ifconfig -a is: > > grios@midas$ ifconfig -a > fxp0: flags=8843 mtu 1500 > inet 200.236.148.68 netmask 0xffffff00 broadcast 200.236.148.255 > inet 200.236.148.69 netmask 0xffffff00 broadcast 200.236.148.255 > inet 200.236.148.70 netmask 0xffffff00 broadcast 200.236.148.255 > ether 00:90:27:a6:c2:68 > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > > As you can see the ip address 200.236.148.68 is being used by fxp0, not > lo0! May some explain me what is going wrong with my routing > table/ifconfig ? > > Thanks a lot for your time and cooperation. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message