LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] multiple IP on same NICs

To: "LinuxVirtualServer.org users mai" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] multiple IP on same NICs
From: "wlx" <wlx@xxxxxxxxx>
Date: Thu, 28 Jun 2007 09:40:50 +0800
thank you joe!
maybe i didn't express clearly,in real environment,our directors and 
realservers distribute in different place,so we must use tunnel module,our 
realservers run a squid,all working well now.but three days ago,we wanted to 
run three or more  squid processs on ervery realserver,ervery squid process  
need an ip static,on the realserver we must use eth0:0/eth0:1 to correspond 
with multiple ip because we only have one nic.what should i do to implement 
it.thanks again!






*************************** 


* -------------------------



发件人: Joseph Mack NA3T
发送时间: 2007-06-27 20:23:58
收件人: LinuxVirtualServer.org users mailing list.
抄送: 
主题: Re: [lvs-users] multiple IP on same NICs

On Tue, 26 Jun 2007, wlx wrote:

> hi,all.
>    my lvs is tunnel,realservers run squid ,all work well.but  now i want a 
> realserver run two squid process(such as squid and squid2)with two ip 
> seperately.
> For the time being, I'm using one director and just one real-server.
>
> The setup is as follows:
>
> director RIP = 192.168.100.122
> LVS VIP = 192.168.100.203
> real server RIP = 192.168.100.124(eth0)
>                RIP = 192.168.100.200(eth0:0)

you need two VIPs not two RIPs

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>