VS Issue

Hi,

Have the following 2 Virtual servers config,

virtual VS1

pool pl443

destination 1.1.1.1:443

ip protocol tcp

profiles tcp-default

vlan 2 enable

client - any

VIP - 1.1.1.1:443

pl443 - 10.10.10.10 ( status- UP )

when trying to access- https://1.1.1.1/active.html via VIP - Not working

when trying to access directly on pool member - https://10.10.10.10/active.html- Works

virtual VS2

pool pool443

destination 172.20.20.10:443

ip protocol tcp

profiles tcp-default

vlan 3 enable

client - any

VIP - 172.20.20.10:443

pool443 - 172.20.20.30 (status - up )

when connecting VIP via sql server studio - DOES NOT WORK

but when connecting via DIP/pool member via sql server studio- IT WORKS

any ideas would be greatful

genseek

have you done tcpdump? how was it?

VIP is responding on portqry from outside…and also responding to telnet on port 443 for both VS…

But when accessing the VIP using browser..it fails..but directly with DIP…it works fine..

when client accessed vip, did you see 3 ways handshake on server-side, i.e. between f5 and server, in tcpdump?

Clear your browser cache. I have seen weird issues like this be just that. If the VIP is truly responding on 443 via telnet, (i.e., you’re getting real traffic back from the pool member, and not just echos…), then the LTM is really working and doing it’s job. Also, I notices it just enabled on one vlan, try enabling it on all, and see if that makes a difference, and check to see if SNAT Automap is turned on or not.

Thanks for the reply nitass and El_Jefe

can you plz tell me the exact command for tcpdump…to check the handshake ..directly on the F5 and not using wireshark etc..etc

El_Jefe,

VIP is enabled on the VIP vlan 2

So does it mean, VIP will listen only if traffic is originating fom VLan 2 and not from ANY other VLAN creatd on the F5?

e.g.

tcpdump -i 0.0:nnn -s0 -w /var/tmp/test1.pcap host 1.1.1.1 or host 10.10.10.10

tcpdump -i 0.0:nnn -s0 -w /var/tmp/test1/pcap host 172.20.20.10 or host 172.20.20.30

nitass,

output from the tcpdump command we can see directly on the F5 prompt right..no need to to use any packet capture tool?

also can you answer on the question about enabling the vlan on the virtual?

genseek - enabling only on the one VLAN means it will only route traffic on that VLAN.

output from the tcpdump command we can see directly on the F5 prompt right..no need to to use any packet capture tool? i think it is easier to check packet trace using tool such as wireshark.

Posted By El_Jefe on 06/28/2012 06:52 AM

genseek - enabling only on the one VLAN means it will only route traffic on that VLAN.

To expand a little. To make a VS active on only 1 VLAN means that the packets TO that IP address need to come into he TMM via the named vlans. Any others will be dropped.

Also be aware that asymetric routing is not supported… If the bigip opens a tcp connection OUT one interface it will expect the responding packets to come IN tha interface roo.

Thanks for the expansion..Hamish. But in light of what you said, i ve another question. We have the below Virtual..this has NO vlans enabled…which means…the virtual is enabled for ALL VLANs.

Does it mean…that this virtual will listen traffic from ANY IP or ANY vlan on the F5 where this Virtual is hosted.

virtual 443_vs

destination:203.23.35.23:https

ip protocol tcp

rules standard_rule

profiles

clientssl

clientside

http_profile

tcp_profile

actually, there is a URL which is mapped to the VIP.

The URL is to be accessed by source IPs - 10.10.10.11 & 12..which are getting SNATed to 203.23.35.40..but the URL is not accessible.

Request you to please explain again in an expanded way..involving TMM…thnx

‘ANY VLAN’ means that it doesn’t matter which interface on the bigip the inbound packets come from.

So if the connection from client to VS completes. What happens with the connection form BigIP to pool member? Is the route back from the pool member to the client via the BigIP? And do the inbound packets form the pool member to the ‘client ip’ return on the SAME interface that the bigip SENT the packets to the pool member?

H

yes, thee is route back from pool member to the client via BigIP..as the gwy of the pool member is BigIP.

[ And do the inbound packets form the pool member to the ‘client ip’ return on the SAME interface that the bigip SENT the packets to the pool member? ]------------ How do i check this?

Do we need to enable the vlan on the Virtual on which the SNAT IP belongs..because…the incoming pkt to VIP..would be sourced with SNAT IP ..right?

tcpdump is your friend here. Specifying interface 0.0 you can dump traffic on all interfaces. Drop down to one pool member (Disable the rat) to make debugging simpler), and do something like (Assuming no SNAT, I don’t see it in your description at the top)

tcpdump -i 0.0 -nn -p -e “(host and host and port ) or (host and host and port )”

Where

clientIP == the IP address of the client

vsip == virtual server IP address

vsport == virtual server port

poolmemberip == IP address of the pool member still up

poolmemberpool == port number of the pool member still up

The -e flag will show you the TAG of the inbound clan. So you’ll be able to make sure that the packets back from the poolmember are coming back in the same VLAN as the BigIP sent them out.

H

Hamish,

SNAT is enabled and is defined as part of the iRule, rules standard_rule.

The URL mapped to the VIP cannot be accessed if the source is in the same range as the VIP,203.23.35.x…which is VLAN 10.

Do we need to enabled VLAN 10 on the Virtual?

Also,

Issue with virtual server, virtual VS1, is resolved…by changing the gwy of pool members to BigIP.

Issue with virtual server, virtual VS2, still persists.

src is able to telnet to VS2 VIP on 443 and response is listening.

However, when accessing the same VS2 VIP from same src via sql server studio, it is failing…and

tcpdump for virtual VS2 from src 10.10.214.10 is as below,

14:55:25.626243 802.1Q vlan21 P0 10.10.214.10.49448 > 172.20.20.10.1433: S 2503976789:2503976789(0) win 8192 (DF)

14:55:25.626541 802.1Q vlan21 P0 10.10.214.10.49448 > 172.20.20.10.1433: . ack 2045621418 win 256 (DF)

14:55:25.626553 802.1Q vlan21 P0 10.10.214.10.49448 > 172.20.20.30.1433: S 2296223818:2296223818(0) win 4380 (DF)

14:55:25.627153 802.1Q vlan21 P0 10.10.214.10.137 > 172.20.20.10.137: NBT UDP PACKET(137): QUERY; REQUEST; UNICAST

14:55:27.126335 802.1Q vlan21 P0 10.10.214.10.137 > 172.20.20.10.137: NBT UDP PACKET(137): QUERY; REQUEST; UNICAST (DF)

it seems client 10.10.214.10 is hitting VIP 172.20.20.10 but no reply coming from pool member 172.20.20.30.

any ideas..to fix would be great.

genseek

hamish,

any updates…

any updates…

Can you please paste the output of the following commands?

tmsh list ltm virtual

tmsh list ltm pool

tmsh list ltm rule standard_rule

This should help us to understand the entire configuration of this Virtual Server, and to assist you further.

Thanks,

Eric