Hello,
A couple weeks ago when I tested LVS-TUN on a simple setting (1 director, 1
real), I got it working alright. During this period I did not actively use
the LVS. Today I tried them out again and it no longer works. When I tried
the same command to debug it, it gave me an error instead of the normal
result (which I got correct 3 weeks ago). I might have upgraded some
packages using yum (CentOS 3.4). Can anyone identify what went wrong? Thanks
root@realserver [~]# ip route get from CIP to VIP iif tunl0
RTNETLINK answers: Invalid argument
(OLD result 3 weeks ago as I documented:
realserver# ip route get from CIP to VIP iif tunl0
local VIP from CIP dev lo src VIP
cache <local> iif tunl0
)
The current ifconfig for the realserver:
root@realserver [~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:0C:70:9B:DC
inet addr:RIP Bcast:******.247 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2147 errors:0 dropped:0 overruns:0 frame:0
TX packets:2054 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341073 (333.0 Kb) TX bytes:224087 (218.8 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19415 (18.9 Kb) TX bytes:19415 (18.9 Kb)
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:VIP Mask:255.255.255.255
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Best regards,
Son Nguyen
|