Which additional command has to be issued on the LVS ho…

While setting up a load-balanced HTTP service, Linux Virtual Server was configured with the commands:
ipvsadm -A -t 198.51.100.2:80 -s rr
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.1:80 -m
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.2:80 -m
and all backend servers are using the LVS host as the default router. Which additional command has to be issued on the LVS host in order to correctly handle
incoming HTTP traffic?

While setting up a load-balanced HTTP service, Linux Virtual Server was configured with the commands:
ipvsadm -A -t 198.51.100.2:80 -s rr
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.1:80 -m
ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.2:80 -m
and all backend servers are using the LVS host as the default router. Which additional command has to be issued on the LVS host in order to correctly handle
incoming HTTP traffic?

A.
echo “1” > /proc/sys/net/ipv4/ip_forward

B.
iptables -t nat -Z

C.
ipvsadmin -L -n

D.
ipmasq -A 192.168.10.1 -A 192.168.10.2 -p tcp –dport www -j DEMASQ

E.
netstat -r



Leave a Reply 0

Your email address will not be published. Required fields are marked *