2.1.91 and route

2.1.91 and route

Post by Peter F Gra » Sat, 28 Mar 1998 04:00:00



My IP is actually 192.168.104.49 - this "route" looks a bit odd...
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.104.0   *               255.255.255.0   U     0      0        0
eth0
192.168.104.0   *               255.255.255.0   U     0      0        0
eth0
127.0.0.0       *               255.0.0.0       U     0      0        0
lo
default         192.168.104.250 0.0.0.0         UG    0      0        0
eth0

 
 
 

2.1.91 and route

Post by Sid Boyc » Mon, 30 Mar 1998 04:00:00



> My IP is actually 192.168.104.49 - this "route" looks a bit odd...
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.104.0   *               255.255.255.0   U     0      0        0
> eth0
> 192.168.104.0   *               255.255.255.0   U     0      0        0
> eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0
> lo
> default         192.168.104.250 0.0.0.0         UG    0      0        0
> eth0

        Mine looks similar, I think route and ifconfig aren't reporting correctly,
route will also show a deleted route when in fact it's gone. There have been
articles on this in the kernel mailing list, I'll live with it as it's not
causing any harm.
Regards
--
... Sid Boyce...Amdahl(UK)...44-121 422 0375
                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.

 
 
 

2.1.91 and route

Post by Peter Schneid » Tue, 31 Mar 1998 04:00:00



: >
: > My IP is actually 192.168.104.49 - this "route" looks a bit odd...
: > Kernel IP routing table

[and so on]

:       Mine looks similar, I think route and ifconfig aren't reporting correctly,
: route will also show a deleted route when in fact it's gone. There have been
: articles on this in the kernel mailing list, I'll live with it as it's not
: causing any harm.

I had a bit of that too; and I found an explanation (copied from a post by

  'In [kernel] 2.1.x ifconfig effectively implies the corresponding "route
  add -net".'
  [...]
  > I didn't change anything with my bootscripts during the kernel change
  [from 2.0.x to 2.1.x]
  That will be the cause of your problem.'

The m*of the story is: you have to remove the explicit "route -add
net" commands from your network configuration scripts (on my RH4.1
installation it was /etc/sysconfig/network-scripts/ifup. I commented out
the following lines:

if [ "$IPSETUP" != yes ]; then
    ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
#    if [ "$ISALIAS" = no ] ; then
#       route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
#    else
#       route add -host ${IPADDR} ${DEVICE}
#    fi

Now, my route output looks normal again.

Peter

 
 
 

1. problems with 2.1.91 and svgalib

2.1.91 compiled with gcc 2.8.1 binutils 2.8.1.0.27
crash my console everytime i run a svgalib application
svgalib runs well with 2.1.88 compile with gcc 2.8.0
no idea about the cause
thanx
Luigi Genoni

2. Sort the file

3. AWE64, kernel 2.1.91

4. A COuple of Minor Buglets

5. major swap problems w/ 2.1.91

6. SCSI Terminators

7. kernel 2.1.91 problem

8. Trouble installing 18.2GB SCSI disk in U30...

9. serial driver in 2.1.91

10. printer and 2.1.91

11. Does firewall work in 2.1.91?

12. problems building kernel 2.1.91

13. Make error: kernel 2.1.91