DX - Load Balancing & Application Acceleration
DX - Load Balancing & Application Acceleration

Source IP

‎01-30-2009 10:19 AM

Is there a way to configure DX to pass source IP?

Setup is a forwarder and traffic is SFTP.

 

I know about the IP transparency but that option is not available on Forwarder.

 

 

We want the application on the server to see the source IP rather than the VIP on DX.

 

Does anyone have alternative way of doing this?

 

Can I view it on the DX itself where the connections are originating from in real time?

 

 

 

1 REPLY 1
DX - Load Balancing & Application Acceleration

Re: Source IP

‎02-02-2009 02:59 AM

 

Forwarders cannot pass the client's source IP to the target servers.  If you use client IP sticky you can view the sticky table on the DX with 'show forwarder <forwarder-name> sticky clientip entries'.   Another way to find out which clients are connecting is to use SNMP, here is the output from a snpwalk when no clients are connected to the forwarder 172.26.31.218:88.  The output shows the DX listening on this IP and port:

 

$ snmpwalk -v 2c -c public 172.26.31.206 | grep 172.26.31.217.88
TCP-MIB::tcpConnState.172.26.31.217.88.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnLocalAddress.172.26.31.217.88.0.0.0.0.0 = IpAddress: 172.26.31.217
TCP-MIB::tcpConnLocalPort.172.26.31.217.88.0.0.0.0.0 = INTEGER: 88
TCP-MIB::tcpConnRemAddress.172.26.31.217.88.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemPort.172.26.31.217.88.0.0.0.0.0 = INTEGER: 0

 

When I now make a connection from a client 172.26.124.186 we see this client is using port 2805 to connect to the forwarder:

 

$ snmpwalk -v 2c -c public 172.26.31.206 | grep 172.26.31.217.88
TCP-MIB::tcpConnState.172.26.31.217.88.0.0.0.0.0 = INTEGER: listen(2)
TCP-MIB::tcpConnState.172.26.31.217.88.172.26.124.186.2805 = INTEGER: established(5)
TCP-MIB::tcpConnLocalAddress.172.26.31.217.88.0.0.0.0.0 = IpAddress: 172.26.31.217
TCP-MIB::tcpConnLocalAddress.172.26.31.217.88.172.26.124.186.2805 = IpAddress: 172.26.31.217
TCP-MIB::tcpConnLocalPort.172.26.31.217.88.0.0.0.0.0 = INTEGER: 88
TCP-MIB::tcpConnLocalPort.172.26.31.217.88.172.26.124.186.2805 = INTEGER: 88
TCP-MIB::tcpConnRemAddress.172.26.31.217.88.0.0.0.0.0 = IpAddress: 0.0.0.0
TCP-MIB::tcpConnRemAddress.172.26.31.217.88.172.26.124.186.2805 = IpAddress: 172.26.124.186
TCP-MIB::tcpConnRemPort.172.26.31.217.88.0.0.0.0.0 = INTEGER: 0
TCP-MIB::tcpConnRemPort.172.26.31.217.88.172.26.124.186.2805 = INTEGER: 2805

 

 

 

Announcements

DX SERIES

The Juniper Networks DX application acceleration platform delivers a complete data center acceleration solution for Web-enabled and IP-based business applications.

RSS Icon