Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 16:42:29 -0400
From:      "Jeff Ehrenkrantz" <admin@gccomm.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: possible netmask problem  2nd pass
Message-ID:  <001101bd7478$98ae4fe0$3042f5cf@tvmaster1.whyy.org>

next in thread | raw e-mail | index | archive | help
>>On Tue, 28 Apr 1998, Jeff Ehrenkrantz wrote:
>> I have an entry found in a routed trace that I can't seem to figure out.
>> Perhaps someone can tell me why I get it.
>>
>> Where I am:
>>$ ifconfig -a
>> ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>        inet 207.8.142.138 netmask 0xffffff00 broadcast 207.8.142.255
>>        ether 02:60:8c:db:d6:51
>> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
>>sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>         inet 127.0.0.1 netmask 0xff000000

Ok to here.

>>         inet 207.8.142.145 netmask 0xffffffff

>No, take out this alias.  A loopback route will be added automatically.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Well bummers this output is from the ifconfig -a  not what i plunked into
rc.conf.
but just to make certain i removed the netmask from the rc.conf anyway .
Here is the clip from rc.conf and output as a result.
network_interfaces="ed0 lo0" # List of network interfaces (lo0 is loopback).
ifconfig_ed0="inet 207.8.142.138  netmask 255.255.255.0"
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_lo0_alias0="inet 207.8.142.145" # Sample alias entr

$ ifconfig -a
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 207.8.142.138 netmask 0xffffff00 broadcast 207.8.142.255
        ether 02:60:8c:db:d6:51
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet 207.8.142.145 netmask 0xffffff00
                                                           ^^^^^^^^ ?
-- 16:17:47 --
Tracing actions started
Add interface ed0  207.8.142.138  -->207.8.142.0/24
RCVBUF=61440
turn on RIP
Add interface lo0  127.0.0.1      -->127.0.0.1/32    <LOOPBACK> <PASSIVE>
Add interface lo0  207.8.142.145  -->207.8.142.145/32 <LOOPBACK>
<ALIAS|PASSIVE>
possible netmask problem between lo0:207.8.142.145/32 and ed0:207.8.142.0/24
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^
still there..    And network is unreachable at .........145
^^^^^^^^^^^^^^^^^^
Add    207.8.142.145/32-->207.8.142.145    metric=0  lo0 <IF>
Add    127.0.0.1/32    -->127.0.0.1        metric=0  lo0 <IF>
Add    207.8.142.0     -->207.8.142.138    metric=0  ed0 <IF>

$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            207.8.142.3        UGSc       37       10       ed0
127.0.0.1          127.0.0.1          UH          0        1       lo0
207.8.142          link#1             UC          0        0
207.8.142.2        0:c0:7b:63:89:2c   UHLW        9        0       ed0
993
207.8.142.3        0:20:a:10:0:4d     UHLW       36        0       ed0
1176
...
...
207.8.142.30       0:20:a8:1:0:1c     UHLW        0       40       ed0
1141
207.8.142.70       207.8.142.2        UGH         0        3       ed0
207.8.142.138      2:60:8c:db:d6:51   UHLW        0       41       lo0
207.8.142.145      207.8.142.145      UH          0        0       lo0
$
--
>Doug White                              | University of Oregon
>Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
>http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


Thanks for the reply but still not there.....


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?001101bd7478$98ae4fe0$3042f5cf>