Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 11:00:04 +1000
From:      "Craig" <admin@kewl.com.au>
To:        "Gustavo Vieira Goncalves Coelho Rios" <gustavo@ifour.com.br>, <questions@FreeBSD.ORG>
Subject:   Re: weird route in routing table
Message-ID:  <007801c07520$83bd2bf0$3700a8c0@australianet.net.au>
References:  <3A5217CE.5DE85F6B@ifour.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <gustavo@ifour.com.br>
To: <questions@FreeBSD.ORG>
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX
> 10baseT/UTP <full-duplex> 10baseT/UTP
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007801c07520$83bd2bf0$3700a8c0>