请教VIP与RIP在同一台服务器上,不为REALSERVER建虚拟机,能否实现
请教一下,一台服务器配置3个IP,A做为VIP,B、C做为RIP,在B、C上运行两个服务进程,通过LVS能否实现?如何设置?
我配置如下,但不能工作,RIP指向其他机器则没问题。
ipvsadm -A -u 192.168.0.1:53 -s rr
ipvsadm -a -u 192.168.0.1:53 -r 192.168.0.2 -m
ipvsadm -a -u 192.168.0.1:53 -r 192.168.0.3 -m
eth0 Link encap:Ethernet HWaddr 00:15:17:5E:EE:34
inet addr:1192.168.0.1 Bcast:121.199.254.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe5e:ee34/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:264029 errors:0 dropped:0 overruns:0 frame:0
TX packets:42970 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17503965 (16.6 MiB) TX bytes:5902269 (5.6 MiB)
lo:0 Link encap:Local Loopback
inet addr:192.168.0.2 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1
lo:1 Link encap:Local Loopback
inet addr:192.168.0.3 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1
Anonymous (没有被验证)
周二, 2010-02-23 12:29
Permalink
NAT方式都是走到LOCAL_IN
NAT方式都是走到LOCAL_IN链上面,然后LVS将其再转到POST_ROUTING中出去,根本走不到本地的进程上.
当然你换成其他机器肯定是可以的
Anonymous (没有被验证)
周二, 2014-03-04 16:51
Permalink
wlyVbVfGSF
Most help articles on the web are inaccurate or ineehorcnt. Not this!
Anonymous (没有被验证)
周三, 2014-03-05 22:02
Permalink
tolhLOSdFRULQtdZuqZG
At last, somnoee who comes to the heart of it all
Anonymous (没有被验证)
周日, 2014-04-13 02:35
Permalink
IxVuWkWDcBqi
where to buy levitra buy cilias wwwlevitracom.net texas holdem online poker
Anonymous (没有被验证)
周四, 2014-11-06 14:58
Permalink
UPyCRTJRlByRSQy
car classic insurance quote no prescription prednisone car insurance monthly payments car insurance
Anonymous (没有被验证)
周三, 2014-03-05 14:57
Permalink
lfWvvGVecIzVB
Super iniromatfve writing; keep it up.