LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: conflicting statements in LVS-HOWTO

To: "Julian Anastasov" <ja@xxxxxx>
Subject: RE: conflicting statements in LVS-HOWTO
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "James Treleaven" <jametrel@xxxxxxxxxxxx>
Date: Fri, 1 Mar 2002 11:41:15 -0500
Hello,

> -----Original Message-----
> From: Julian Anastasov [mailto:ja@xxxxxx]
> Sent: Friday, March 01, 2002 5:44 AM

>       Hm, this is bad, at least, if I understand correctly the
> output but you can prove it by showing output from "ip route":
>
> > 0.0.0.0         192.168.1.102   255.255.255.0   UG    0      0
>       0 eth0
> > 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0
>       0 eth0
> > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>       0 lo
> > 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0
>       0 eth0
>
>       It seems you have route to 0.0.0.0/24 via 192.168.1.102.
> It should be 0.0.0.0/0. Is this true or may be I don't understand this
> output.


The route is wrong in multiple respects.  I am sorry - my face is red.

I shouldn't have the second default route (gw 0.0.0.0), and the first one
should be routing through 192.168.2.102.

After fixing the routing table (new table below), I can now ping the outside
network successfully.

Thank you very much for your explanations and your help, Julian.

Best Regards,
James

---------correct routing table-------------------------------------
[root@rs5 root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.2.102   0.0.0.0         UG    0      0        0 eth0



<Prev in Thread] Current Thread [Next in Thread>