Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 1998 12:18:13
From:      "M. Monninger" <markem@primenet.com>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Invalid netmask?
Message-ID:  <3.0.5.32.19980404121813.009ae350@pop.primenet.com>
In-Reply-To: <Pine.BSF.3.96.980404105019.6721B-100000@java.dpcsys.com>
References:  <3.0.5.32.19980404102923.009ac3c0@pop.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:52 AM 4/4/98 -0800, Dan Busarow wrote:
>On Sat, 4 Apr 1998, M. Monninger wrote:
>> Question: Is a netmask of 255.255.255.255 valid?
>
>Perfectly valid.
>
>Send the usual netstat -in and netstat -rn output with the
>255.255.255.255 netmask in place.
>
>Dan

OK...the netstat output is attached. My understanding has always been that
the netmask defines the network portion of the address (the 1 bits) and the
the rest (the 0 bits) are the node addresses. How can you have any nodes
addresses if the entire address is the network address?

Not flaming, just trying to understand.

At any rate, it does not work with 255.255.255.255 as a netmask. I get
Network is unreachable.

Hmmm...I'm also running natd. Wonder if that could be part of it???

In the attached stuff, the 192.168.1.x addresses are my LAN, the
207.218.25.x addresses are the ISP via a dsl line. There does not appear to
be a default routiong but when I try to add it I get the Network is
unreachable from route.

It's been running fine for months but yesterday they changed the netmask
and it hasn't worked since (unless I manually set it up).

Any help on this will be greatly appreciated.

Many thanks...

Mark


 netstat -in
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>      00.40.95.e2.0f.92    22091     0    18367     0     3
ed0   1500  207.218.25.64 207.218.25.64      22091     0    18367     0     3
ed1   1500  <Link>      00.40.05.4f.c2.68    36032     0    40529     0     0
ed1   1500  192.168.1     192.168.1.5        36032     0    40529     0     0
lp0*  1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                               3     0        3     0     0
lo0   16384 127           127.0.0.1              3     0        3     0     0
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1          127.0.0.1          UH          0        3       lo0
192.168.1          link#2             UC          0        0
192.168.1.1        0:40:95:0:f0:77    UHLW        1    30023       ed1   1052
192.168.1.3        2:60:8c:b:6f:8e    UHLW        0     4988       ed1    370
207.218.25.64/32   link#1             UC          0        0

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?3.0.5.32.19980404121813.009ae350>