# VS Issue

**URL:** <https://community.f5.com/t/vs-issue/42011>\
**Category:** Technical Forums\
**Tags:** new-to-f5, basic, getting-started\
**Created:** [June 27, 2012, 3:26pm UTC](https://community.f5.com/t/vs-issue/42011 "2012-06-27T15:26:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 27, 2012, 3:26pm UTC](https://community.f5.com/t/vs-issue/42011/1 "2012-06-27T15:26:25Z")

</div>

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](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-](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

---

<div class="post-metadata">

**Author:** ![nitass](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/nitass/32/2270_2.png) [@nitass](https://community.f5.com/u/nitass)\
**Post date:** [June 27, 2012, 5:12pm UTC](https://community.f5.com/t/vs-issue/42011/2 "2012-06-27T17:12:19Z")

</div>

have you done tcpdump? how was it?

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 27, 2012, 5:24pm UTC](https://community.f5.com/t/vs-issue/42011/3 "2012-06-27T17:24:45Z")

</div>

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..

---

<div class="post-metadata">

**Author:** ![nitass](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/nitass/32/2270_2.png) [@nitass](https://community.f5.com/u/nitass)\
**Post date:** [June 27, 2012, 5:40pm UTC](https://community.f5.com/t/vs-issue/42011/4 "2012-06-27T17:40:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![El\_Jefe](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@El\_Jefe](https://community.f5.com/u/El_Jefe)\
**Post date:** [June 27, 2012, 7:04pm UTC](https://community.f5.com/t/vs-issue/42011/5 "2012-06-27T19:04:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 28, 2012, 5:21am UTC](https://community.f5.com/t/vs-issue/42011/6 "2012-06-28T05:21:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![nitass](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/nitass/32/2270_2.png) [@nitass](https://community.f5.com/u/nitass)\
**Post date:** [June 28, 2012, 10:23am UTC](https://community.f5.com/t/vs-issue/42011/7 "2012-06-28T10:23:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 28, 2012, 12:37pm UTC](https://community.f5.com/t/vs-issue/42011/8 "2012-06-28T12:37:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![El\_Jefe](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@El\_Jefe](https://community.f5.com/u/El_Jefe)\
**Post date:** [June 28, 2012, 1:52pm UTC](https://community.f5.com/t/vs-issue/42011/9 "2012-06-28T13:52:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nitass](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/nitass/32/2270_2.png) [@nitass](https://community.f5.com/u/nitass)\
**Post date:** [June 28, 2012, 2:33pm UTC](https://community.f5.com/t/vs-issue/42011/10 "2012-06-28T14:33:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Hamish](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hamish](https://community.f5.com/u/Hamish)\
**Post date:** [June 28, 2012, 8:12pm UTC](https://community.f5.com/t/vs-issue/42011/11 "2012-06-28T20:12:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 29, 2012, 5:21pm UTC](https://community.f5.com/t/vs-issue/42011/12 "2012-06-29T17:21:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Hamish](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hamish](https://community.f5.com/u/Hamish)\
**Post date:** [June 29, 2012, 8:21pm UTC](https://community.f5.com/t/vs-issue/42011/13 "2012-06-29T20:21:59Z")

</div>

‘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

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [June 30, 2012, 2:55am UTC](https://community.f5.com/t/vs-issue/42011/14 "2012-06-30T02:55:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Hamish](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hamish](https://community.f5.com/u/Hamish)\
**Post date:** [July 1, 2012, 7:19pm UTC](https://community.f5.com/t/vs-issue/42011/15 "2012-07-01T19:19:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [July 2, 2012, 2:39am UTC](https://community.f5.com/t/vs-issue/42011/16 "2012-07-02T02:39:36Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [July 2, 2012, 8:54am UTC](https://community.f5.com/t/vs-issue/42011/17 "2012-07-02T08:54:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [July 3, 2012, 12:41pm UTC](https://community.f5.com/t/vs-issue/42011/18 "2012-07-03T12:41:02Z")

</div>

hamish,

any updates…

---

<div class="post-metadata">

**Author:** ![genseek\_32178](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@genseek\_32178](https://community.f5.com/u/genseek_32178)\
**Post date:** [July 3, 2012, 12:41pm UTC](https://community.f5.com/t/vs-issue/42011/19 "2012-07-03T12:41:14Z")

</div>

any updates…

---

<div class="post-metadata">

**Author:** ![Eric\_St\_John](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/eric_st_john/32/21982_2.png) [@Eric\_St\_John](https://community.f5.com/u/Eric_St_John)\
**Post date:** [July 3, 2012, 2:45pm UTC](https://community.f5.com/t/vs-issue/42011/20 "2012-07-03T14:45:51Z")

</div>

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

[Next page](https://community.f5.com/t/vs-issue/42011.md?page=2)
