cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1174
Views
0
Helpful
1
Replies

Why my LocalDirecter 430 can not works?

jeff.chang
Level 1
Level 1

Hello,friends:

I am a chinese man,so please forget my pool english first!I have two servers and there are two jboss servers on each one servers.I use LD 430 to load balancing.The before configuation is below:

lb(config)# show config

......

hostname lb

no shutdown ethernet 0

no shutdown ethernet 1

no shutdown ethernet 2

no shutdown ethernet 3

interface ethernet 0 auto

interface ethernet 1 auto

interface ethernet 2 auto

interface ethernet 3 10baset

mtu 0 1500

mtu 1 1500

mtu 2 1500

mtu 3 1500

multiring all

no secure 0

no secure 1

no secure 2

no secure 3

ping-allow 0

ping-allow 1

ping-allow 2

ping-allow 3

ip address 10.0.0.2 255.255.255.0

route 0.0.0.0 0.0.0.0 10.0.0.1 1

arp timeout 30

no rip passive

rip version 1

failover ip address 0.0.0.0

no failover

failover hellotime 30

password xxxx

telnet 218.x.x.x.255.255.0

telnet 10.0.0.0 255.255.255.0

telnet 211.x.x.255.255.0

no snmp-server enable traps

snmp-server community public

no snmp-server contact

no snmp-server location

tftp-server 192.168.1.41 port 69 conf

virtual 10.0.0.205:80:0:tcp is

virtual 10.0.0.205:8080:0:tcp is

real 10.0.0.101:8081:0:tcp is

real 10.0.0.100:8081:0:tcp is

real 10.0.0.101:8080:0:tcp is

real 10.0.0.100:8080:0:tcp is

name 10.0.0.101 server2

name 10.0.0.100 server1

name 10.0.0.205 vserver

no names

bind 10.0.0.205:80:0:tcp 10.0.0.100:8080:0:tcp

bind 10.0.0.205:80:0:tcp 10.0.0.100:8081:0:tcp

bind 10.0.0.205:80:0:tcp 10.0.0.101:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.101:8081:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.100:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.101:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.100:8081:0:tcp

probeconfig http 3.

It works well.

But now I want add a virtual IP 10.0.0.205:9090 to bind 10.0.0.100:8080,so I can access the service on the port 9090 on website.so I config again,but the virtual can not work,that means that I can not access the website on port 9090.What is wrong with the virtual IP?,the current configuation is below:

lb(config)# show config

......

hostname lb

no shutdown ethernet 0

no shutdown ethernet 1

no shutdown ethernet 2

no shutdown ethernet 3

interface ethernet 0 auto

interface ethernet 1 auto

interface ethernet 2 auto

interface ethernet 3 10baset

mtu 0 1500

mtu 1 1500

mtu 2 1500

mtu 3 1500

multiring all

no secure 0

no secure 1

no secure 2

no secure 3

ping-allow 0

ping-allow 1

ping-allow 2

ping-allow 3

ip address 10.0.0.2 255.255.255.0

route 0.0.0.0 0.0.0.0 10.0.0.1 1

arp timeout 30

no rip passive

rip version 1

failover ip address 0.0.0.0

no failover

failover hellotime 30

password xxx

telnet 218.x.x.x.255.255.0

telnet 10.0.0.0 255.255.255.0

telnet 211.x.x.x.255.255.0

no snmp-server enable traps

snmp-server community public

no snmp-server contact

no snmp-server location

tftp-server 192.168.1.41 port 69 conf

virtual 10.0.0.205:80:0:tcp is

virtual 10.0.0.205:8080:0:tcp is

virtual 10.0.0.205:9090:0:tcp is

predictor 10.0.0.205:9090:0:tcp leastconns none

real 10.0.0.101:8081:0:tcp is

real 10.0.0.100:8081:0:tcp is

real 10.0.0.101:8080:0:tcp is

real 10.0.0.100:8080:0:tcp is

replicate 10.0.0.205:9090:0:tcp

name 10.0.0.101 server2

name 10.0.0.100 server1

name 10.0.0.205 vserver

no names

bind 10.0.0.205:80:0:tcp 10.0.0.100:8080:0:tcp

bind 10.0.0.205:80:0:tcp 10.0.0.100:8081:0:tcp

bind 10.0.0.205:80:0:tcp 10.0.0.101:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.101:8081:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.100:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.101:8080:0:tcp

bind 10.0.0.205:8080:0:tcp 10.0.0.100:8081:0:tcp

bind 10.0.0.205:9090:0:tcp 10.0.0.100:8080:0:tcp

probeconfig http 3

1 Reply 1

mike.bradley
Level 1
Level 1

Try adding the following

real 10.0.0.100:9090:0:tcp is

bind 10.0.0.205:9090:0:tcp 10.0.0.100:9090:0:tcp

If I understand your problem your LD is NAT the port from 9090 to 8080.

HTH

Mike