I think the problem is what you've set as your default gateway.  Your
default gateway is never the address of one of your local interfaces.

Your default gateway should be an address external to your box...the
address of your router.  So, for example, if your router's address
was 191.5.10.2, you simply set the default gateway to 191.5.10.2.  

On Tue, 3 Apr 2001 21:12:35 -0300, Kiko wrote:

>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
>
>





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to