Re: whats wrong with my IP address?

Dave Wreski (tel1dvw@is.ups.com)
Tue, 19 Nov 1996 21:13:04 -0500 (EST)


On Tue, 19 Nov 1996, Zach Brown wrote:
>
> how about: "route add -net 127.0.0.0 netmask 255.0.0.0 lo" ? works for
> me. what is the current contents of your routing table? you are bringing
> up lo before doing the route command, right?

Sure am. Like I said, it worked once before (under 3.0.3 redhat). This
route command does not work for me. There must be something else wrong.
'route add -net 127.0.0.0 netmask 255.0.0.0 lo' gives me:

route: netmask doesn't match route address

How could this be? 'route --version' gives me:
Linux NET-3 Base Utilities
Source: net-tools 1.32-alpha net-tools@lina.inka.de (Bernd Eckenfels)
Kernelsource: 2.0.13
route 1.92 (1996-04-26)
+NEW_ADDRT +RTF_IRTT +RTF_REJECT -NLS
AF:(inet) +UNIX +INET +IPX +AX25 +NETROM +ATALK
HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +FR

>
> but in this case, because ip addresses have to be globally unique. what if
> you actually want to send data to BOSS.OPOY.FI (192.107.200.22).. or any
> of the other hosts they may have on that /24. How will you know you want
> to go to your local net rather than the good old Oulu Telephone Company?
> :)

Well, I understand your point. However, because I am behind a
firewall/proxy, and because ppp defines my defaultroute, there really
shouldn't be a problem, right? Nevertheless, I will change my IP address
to represent an unused IP. Isn't there a class C that is also reserved?

> > echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc
>
> 767378858832584132
>
> er.. am i missing something? :)

Hm.. Guess I'll have to check into that :) As a matter of fact, I just
noticed that RedHat 4.0 doesn't have 'dc' installed at all... It sure
used to work...

Dave