Hello,
On Tue, 15 Jan 2002, Padraig Brady wrote:
> Hi,
>
> I'm having problems with local routing, i.e.
> I can't telnet to port 111 or 112 with the
> following config. I immediately get
> connection refused. What am I doing wrong?
> p.s. there definitely is a realservice listening
> on ports 89 and 98.
The trick you are trying works only when the port
is preserved, you can't alter the port. I'm not sure whether
ipvsadm should return error on such setup.
> Also which might be related, if the realservice
> binds to a particular ip address (like 127.0.0.1
> or 172.24.1.156 below), then you can't even connect
> locally (connection refused), it must bind(INADDR_ANY)?
Remote host can't connect to 127.0.0.1 but with .156 should
be able, on the 111 or 112 ports (if you listen there).
> thanks,
> Padraig.
>
> # ipvsadm -Ln
> IP Virtual Server version 0.8.2 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 172.24.1.156:112 lc
> -> 127.0.0.1:98 Local 1 0 0
> TCP 172.24.1.156:111 wlc
> -> 127.0.0.1:89 Local 1 0 0
> -> 172.24.1.101:80 Masq 1 0 0
Regards
--
Julian Anastasov <ja@xxxxxx>
|