LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Can you change the destination port in DR mode ?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Can you change the destination port in DR mode ?
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 19 May 2004 11:16:16 -0400
Jacob Coby wrote:
> 
>
>   -t, --tcp-service service-address

the VIP:port that ip_vs intercepts on the director

> The -r option can also accept a port. 

the dst_port that will be on the packet when it
exits the LVS-NAT director heading to the realserver.

in the case of LVS-DR, LVS-Tun, the -r port is ignored.

> Why is the port required if it isn't used? 

It's not _required_ for any of the forwarding methods.
It's only used if its present with LVS-NAT

> Why is there a destination port if it isn't used?

Maybe it was easier than fixing up ivsadm to lock it out. 
I guess ipvsadm should give a notice that it's ignoring
the -r port with LVS-DR and LVS-Tun.
 
> I'm just a little confused as to why it's so difficult to aggregate
> ports.  

this is what fwmark does

> I'm also a little confused why anyone would want to aggregate
> the http and https ports.

I don't know either. He didn't tell us. 

Joe

-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>