Weird Network Error->route: netmask doesn't match route address

Weird Network Error->route: netmask doesn't match route address

Post by Fhurqaan Ham » Thu, 04 Feb 1999 04:00:00




>So everything works fine, but I'm getting a "route: netmask doesn't match
>route address" now that I've upgraded my network utils.

>Settings:

>Netmask:     255.255.255.128

Shouldn't netmask be 255.255.255.0
--

I haven't lost my mind; it's backed up on tape somewhere!

 
 
 

1. Error: route: netmask doesn't match route address

Hi All,

I have a strange problem.  I have a cable modem with IP address 24.128.20.34
and I'm setting the netmask to 255.255.255.255 (I think it is supposed to be
255.255.252.0 - but perhaphs you can tell me).

In /etc/sysconfig/network-scripts ifup is attempting to execute:

'route add default gw 24.128.20.34 eth0'

and receives message:

'route: netmask doesn't match route address'

As info, the following values exist in ifup at this time (I traced them):

Network:  24.128.20.34
IPAdr:      24.128.20.34
Netmask: 255.255.255.255
Broadcast: 24.128.20.34

Interesting enough, everything seems to work properly (I use IP Masquerading
on this box so that my other Linux and W98 boxes can access the net via the
cable modem) - but I'd like to understand (and correct) this error.

-Thanks in advance for any help you can offer.

-Mike

2. KDE2 & CVSUP

3. route: netmask doesn't match route address

4. 2.4.18 vs. 2.4.2

5. install proftpd!!

6. netmask doesn't match route address

7. RH8.0, how to enable users to shutdown

8. SIOCSIFFLAGS, SIOCADDRT and route: netmask doesn't match

9. firewall (netmask does not match route address)

10. route problem: route forgot to specify route netmask.

11. NETMASK DOSEN'T MATCH ROUTE ADRESS

12. help! route: netmask doesn't match route address