Hi,
I've run LVS/NAT several times, always successful, right now faced problem:
ip_vs is active, but all incoming packets are facing INPUT/director server
interface instead of being forwarded to realservers.
serial_no = 29
primary = 123.123.123.251
service = lvs
backup_active = 0
backup = 0.0.0.0
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 172.16.112.251 br5:1
nat_nmask = 255.255.255.0
debug_level = 7
monitor_links = 0
syncdaemon = 0
syncd_iface = br1
syncd_id = 0
virtual web2_80 {
active = 1
address = 80.92.177.252 br1:1
vip_nmask = 255.255.255.240
port = 80
persistent = 100
use_regex = 0
load_monitor = none
scheduler = rr
protocol = tcp
timeout = 15
reentry = 12
quiesce_server = 1
server web2b {
address = 172.16.112.52
active = 1
port = 80
weight = 50
}
}
kernel net.ipv4.conf.*.forwarding all set to 1
[root@node1 ~]# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 123.123.123.252:80 rr persistent 100
-> 172.16.112.52:80 Masq 50 0 0
only difference i see in current configuration - bridged interfaces
Centos 6
I don't even know what and where to check and debug, everything should
work...
*George Machitidze*
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
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
|