Hello,
On Wed, 24 Oct 2001, Fabrice wrote:
> Hello Julian,
>
> If I understand your statements correctly, I should use "ip route"
> instead of "route" because it permits to set the default source
> address for a specific interface.
>
> Does it means that if I use the "route" command, the default source
> address of all my interfaces is eth0's one?
I'm not sure, you have to run "ip route" to see or even you can
try:
ip route get A.B.C.D
to get the outdev and src used to connect to A.B.C.D
> The IPVS Synchronization daemon knows which interface it uses to
> send packets. Wouldn't it be better to get the IP address that is
> attached to this interface and set it as the source address of the
> packets? So there is no problems when you don't use "ip table"?
It is not better, better the user has the option to select it,
this is the reason the preferred source to exist.
> I'll configure my routing table with "ip table" tomorrow (the machines
> aren't at home :)
ip route
> Thanks,
>
> Fabrice Bucher
Regards
--
Julian Anastasov <ja@xxxxxx>
|