Hi Brian,

Your patch did the job. All working correctly now. Much thanks.

Funny, my net-tools were 1.45, but 1.47 fixed all the problems.

You have made my day.
Cheers, Grahame.


------------------------------------------------------

> I may be wrong here, but I think I the same problem.  The issue is that
> kernel 2.1.x automatically adds the proper kernel routes when the
> interface (eth0, etc) is ifconfig'd.  2.0.x needed it done manually, and
> the Redhat support scripts do this.

> Here is the snippet I edited in /etc/sysconfig/network-scripts/ifup, RH
> 5.0 vintage. I didn't keep notes on what precisely I added, but the line
> with "uname -r"  is certainly mine.  With this fix, the script does the
> right thing when you are dual boot 2.0/2.1 or even 2.2.:

>>
    ifconfig ${DEVICE} ${MACADDR:+hw ether $MACADDR} ${IPADDR} \
      netmask ${NETMASK} broadcast ${BROADCAST}
    if [ "$ISALIAS" = no ] ; then
        if [ `uname -r | head -c3` = 2.0 ] ; then
        route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
        fi
    else
        route add -host ${IPADDR} ${DEVICE}
    fi


----------------- Brian  Curnow ----------------

On Sun, 20 Dec 1998, Grahame M. Kelly wrote:

> 
> Hi,
> 
> I have been running 2.1.131 successfully on my SMP system.
> One annoying point is the route table gets a double entry for
> some reason under 2.1.131 but not on 2.0.36-1 (RH5.2).
> 
> ie: I get the following under 2.1.131, but not on 2.0.36-1.
> 
> [gmkelly@bushrock gmkelly]$ route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> kyle.zip.com.au *               255.255.255.255 UH    0      0        0 ppp0
> 10.10.10.0      *               255.255.255.0   U     0      0        0 eth0
> 10.10.10.0      *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         kyle.zip.com.au 0.0.0.0         UG    0      0        0 ppp0
> 
> I found that installing a new RH5.2 system on a IDE drive and
> then simply loading, compiling and installing 2.1.131 on this 
> system (with all is uptodate lib's etc) works. I have checked out
> the ./linux-2.1.131/Doucumnetation/Changes, and accordingly
> all (expect modutils-2.1.121 which I copied over and installed)
> are upto rev. Additionally, ifconfig has been reformated (or has
> additional data fields) becasue I get an additional problem.
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:17650 errors:0 dropped:0 overruns:0
>           TX packets:0 errors:1713326 dropped:17650 overruns:0
> 
> eth0      Link encap:Ethernet  HWaddr 00:40:05:3D:E2:2A
>           inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0
>           TX packets:0 errors:0 dropped:0 overruns:0
>           Interrupt:19 Base address:0x8000 
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:61.8.17.241  P-t-P:203.12.97.19  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:2240 errors:2 dropped:0 overruns:0
>           TX packets:0 errors:123539 dropped:1881 overruns:0
> 
> Note: the errors in ppp0 & local. Yes I have confirmed that they are not
> due to other erroneous conditions by comparing to 2.0.36-1 (RH5.2).
> 
> So which util(s) do I need to upgrade to get route and ifconfig to
> reflect correct values, which are not reflected in the Changes doco ?
>

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to