Hi..

I´m having  a problem with my linux routing table...I´m using RedHat Linux 7.0(Wolverine) with 2.4.1 Kernel

I have a linux box with 2 ethernet cards.The configuration  of this linux box is:

 

eth0:

IP: 191.5.10.1

Mask: 255.255.255.0

 

eth1:

IP: 172.16.10.127

Mask: 255.255.0.0

My routing table is:

 

Destination          Gateway            Genmask            Flags        Metric        Ref        Use        Iface

191.5.10.0            *                        255.255.255.0      U              0              0            0             eth0

172.16.0.0            172.16.8.235       255.255.0.0         UG           0               0            0             eth1

172.16.0.0            *                         255.255.0.0         U              0              0            0            eth1

127.0.0.0               *                        255.0.0.0            U              0               0            0             lo

 

Ok..with this configuration everything works fine.

But i need to use a default gateway on the eth0, like:

 

Destination     Gateway                  Genmask                     Flags             Metric               Ref                Use      Iface

191.5.10.0      *                              255.255.255.0               U                  0                      0                    0             eth0

172.16.0.0      172.16.8.235              255.255.0.0                  UG                0                      0                    0             eth1

172.16.0.0      *                               255.255.0.0                   U                  0                      0                   0            eth1

127.0.0.0        *                               255.0.0.0                      U                  0                      0                    0             lo

default            191.5.10.1                  0.0.0.0                     UG                    0                      0                    0             eth0

 

The linux box become too slow to reponse anything on the network.

 

Does anybody knows what is wrong when I add the default gateway with:

 

route add default gw 191.5.10.1

 

???

 

If anybody could help me, i´ll be grateful..

 

Thanks all,

 

Kiko

Reply via email to