[f-nsp] ServerIron multiple virtual ports to real ports

Jonas Frey jf at probe-networks.de
Sat Feb 21 07:58:01 EST 2009


Hi,

thanks for the help, solved this via real-port as Ryan proposed:

RS1
port 12345

RS2
port 23456

VS1
port 12345
port 23456
bind 12345 RS1 12345 real-port http
bind 23456 RS2 23456 real-port http

Regards,
Jonas

On Sat, 2009-02-21 at 11:53, Nicolaj Kamensek wrote:
> Jonas Frey schrieb:
> 
> Hello,
> 
> > Now i want to define ports on teh virtual server which each always go to
> > the same real server.
> > For example:
> > 
> > 10.0.0.1 (VS) Port 81 -> 10.0.10.2 (RS) Port 80
> > 10.0.0.1 (VS) Port 82 -> 10.0.10.3 (RS) Port 80
> > 
> > The problem here is that i already have "used up" port 80 on the real
> > servers for the load balancing.
> > 
> > I basically need a way to circumvent the loadbalancing and get on the
> > real servers standard http port. Has anyone found a way to solve this?
> 
> for that purpose, we have a 2nd routing table running on the nodes. The 
> trick is to mark port-80 traffic with iptables and forward exactly that 
> kind of traffic to the load-balancer using an ip rule.
> 
> This makes it possible to add another http vhost on a different port 
> which can be used to directly access the server.
> 
> 
> HTH,
> Nico




More information about the foundry-nsp mailing list