Mailing List Archive

[lvs-users] could virtual ip one arbitrary ip address ?
could virtual ip one arbitrary ip address ? no matter what network
segment it is .

--
Best Regards!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] could virtual ip one arbitrary ip address ? [ In reply to ]
Hatt Tom <net.study.sea@gmail.com> writes:

> could virtual ip one arbitrary ip address? no matter what network
> segment it is .

Yes, the VIP can be any address, as long as traffic sent to it reaches
the director by some means. If it's not in the local network of your
director, you will probably need explicit routing rules to achieve this.
--
Feri.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] could virtual ip one arbitrary ip address ? [ In reply to ]
Thanks for reply!

I want to know why I need explicit routing rules to send packet to realserver ?
The director knows the ip of the selected real server ,then just forwarding it ,
not need a router .

2014-04-09 15:38 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
> Hatt Tom <net.study.sea@gmail.com> writes:
>
>> could virtual ip one arbitrary ip address? no matter what network
>> segment it is .
>
> Yes, the VIP can be any address, as long as traffic sent to it reaches
> the director by some means. If it's not in the local network of your
> director, you will probably need explicit routing rules to achieve this.
> --
> Feri.
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



--
Best Regards!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] could virtual ip one arbitrary ip address ? [ In reply to ]
Hatt Tom <net.study.sea@gmail.com> writes:

> 2014-04-09 15:38 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
>
>> Hatt Tom <net.study.sea@gmail.com> writes:
>>
>>> could virtual ip one arbitrary ip address? no matter what network
>>> segment it is .
>>
>> Yes, the VIP can be any address, as long as traffic sent to it reaches
>> the director by some means. If it's not in the local network of your
>> director, you will probably need explicit routing rules to achieve this.
>
> I want to know why I need explicit routing rules to send packet to
> realserver?

I was talking about the director, not the real servers. You MAY need
explicit routing rules to send packets addressed to the VIP towards the
director, depending on your network setup.

> The director knows the ip of the selected real server, then just
> forwarding it, not need a router.

If you are doing direct routing, then right, the director is the router
towards the real servers.
--
Regards,
Feri.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] could virtual ip one arbitrary ip address ? [ In reply to ]
If I configure my vip to be local private ip ,then should I do a DNAT
on gateway to forward packet to the vip ?



2014-04-09 22:20 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
> Hatt Tom <net.study.sea@gmail.com> writes:
>
>> 2014-04-09 15:38 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
>>
>>> Hatt Tom <net.study.sea@gmail.com> writes:
>>>
>>>> could virtual ip one arbitrary ip address? no matter what network
>>>> segment it is .
>>>
>>> Yes, the VIP can be any address, as long as traffic sent to it reaches
>>> the director by some means. If it's not in the local network of your
>>> director, you will probably need explicit routing rules to achieve this.
>>
>> I want to know why I need explicit routing rules to send packet to
>> realserver?
>
> I was talking about the director, not the real servers. You MAY need
> explicit routing rules to send packets addressed to the VIP towards the
> director, depending on your network setup.
>
>> The director knows the ip of the selected real server, then just
>> forwarding it, not need a router.
>
> If you are doing direct routing, then right, the director is the router
> towards the real servers.
> --
> Regards,
> Feri.
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



--
Best Regards!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] could virtual ip one arbitrary ip address ? [ In reply to ]
Tom,

Yes, its just like any other internal address i.e. same as exposing a
single web server to a public IP address.

On 12 April 2014 06:06, Hatt Tom <net.study.sea@gmail.com> wrote:
> If I configure my vip to be local private ip ,then should I do a DNAT
> on gateway to forward packet to the vip ?
>
>
>
> 2014-04-09 22:20 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
>> Hatt Tom <net.study.sea@gmail.com> writes:
>>
>>> 2014-04-09 15:38 GMT+08:00 Ferenc Wagner <wferi@niif.hu>:
>>>
>>>> Hatt Tom <net.study.sea@gmail.com> writes:
>>>>
>>>>> could virtual ip one arbitrary ip address? no matter what network
>>>>> segment it is .
>>>>
>>>> Yes, the VIP can be any address, as long as traffic sent to it reaches
>>>> the director by some means. If it's not in the local network of your
>>>> director, you will probably need explicit routing rules to achieve this.
>>>
>>> I want to know why I need explicit routing rules to send packet to
>>> realserver?
>>
>> I was talking about the director, not the real servers. You MAY need
>> explicit routing rules to send packets addressed to the VIP towards the
>> director, depending on your network setup.
>>
>>> The director knows the ip of the selected real server, then just
>>> forwarding it, not need a router.
>>
>> If you are doing direct routing, then right, the director is the router
>> towards the real servers.
>> --
>> Regards,
>> Feri.
>>
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>>
>> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
>> Send requests to lvs-users-request@LinuxVirtualServer.org
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
>
>
> --
> Best Regards!
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users