Forum Discussion
DNS Query - reply from unexpected source
Hi Guys,
I'm new to F5, and something annoy me i can't find why it happen.
My topology:
Network (Public IP - Pretend its 100.100.100.0/24) --> Switch Stack --> LAG --> Viprion LTM --> Cisco CRS --> WWW
I have Viprion 4800 and for now i just wanna allow traffic to go outside, here are my questions :
1. I've added virtual-server with 0.0.0.0/0.0.0.0 as Forwarding (IP) to allow the LAN to have connectivity.
but unless i open virtual server back inside (100.100.100.0/255.255.255.0) i have no connectivity. Isn't it statefull ?
2. After i open the rule I talked about in (1). i have this message when i try simple resolving from server behind the F5.
[ip@qa-env ~]$ host google.com 8.8.4.4
;; reply from unexpected source: 8.8.4.425965, expected 8.8.4.453
tcpdump show this
22:45:39.033309 IP 100.100.100.40.39945 > 8.8.4.4.53: 8917+ A? google.com. (27)
22:45:39.033315 IP 100.100.100.40.39945 > 8.8.4.4.53: 8917+ A? google.com. (27)
22:45:39.123868 IP 8.8.4.4.53 > 100.100.100.40.39945: 8917 1/0/0 A 173.194.41.69 (43)
22:45:39.123884 IP 8.8.4.4.25965 > 100.100.100.40.39945: UDP, length 43
So the packets goes all good until the return packet back to the F5 and then he alter the port!
What am i missing ?
*remember, i have public ip on the server. i just changed it to 100.100.100.40 for the example.
my Virtuals
ltm virtual MNG_ALLOW_ALL_OUT {
description "Management Rule - Allow All Traffic Outside"
destination 0.0.0.0:any
ip-forward
mask any
profiles {
fastL4 { }
}
translate-address disabled
translate-port disabled
vlans {
DNS_LAN
LDAP_LAN
RADIUS_LAN
}
vlans-enabled
}
ltm virtual MNG_QA_ENV_IN {
description "Management Rule - Allow Radius traffic in"
destination 100.100.100.0:any
ip-forward
mask 255.255.255.0
profiles {
fastL4 { }
}
translate-address disabled
translate-port disabled
vlans {
CRS1.WAN
CRS2.WAN
}
vlans-enabled
}
- Chura_16140Nimbostratus
LOL, Thanks for that :)
EDIT:
OK that's getting strange!
If i try many times, something it work... Can i do somekind of virtual debug or i dunno...
$ host godaddy.com 8.8.4.4
Using domain server:
Name: 8.8.4.4
Address: 8.8.4.453
Aliases:
godaddy.com has address 208.109.4.201
;; reply from unexpected source: 8.8.4.462781, expected 8.8.4.453
;; reply from unexpected source: 8.8.4.462781, expected 8.8.4.453
;; connection timed out; no servers could be reached
- What_Lies_Bene1CirrostratusNow that's one of those fundamental basic questions that seem to throw me every now and then. Ignoring the Packet Filter for a moment I'm thinking yes, you're right and actually, the Virtual Server doesn't have to be on the external VLAN, it only needs to be on the VLANs the initiating host can communicate through.
- Chura_16140NimbostratusThat what i initially did :)
- What_Lies_Bene1CirrostratusI know, sorry, should have done the tcpdump first!
- Chura_16140NimbostratusWell I need to check, I need my system team to make this.
- What_Lies_Bene1CirrostratusI thought we'd got rid of the second Virtual Server? It shouldn't be required and I wanted to test without it there, can you at least disable it?
- Chura_16140Nimbostratusif i'll disable it i can't make the test. i don't have access.
- What_Lies_Bene1CirrostratusCan you create a specific Virtual Server so you can maintain your management connection (specific IP but wilcard port should do it)?
- Chura_16140Nimbostratus
Yeah, All test with the second virtual since its my management inside.
I've changed it to port TCP/22 only now. but its not any better. now i dont get any answer.
tcpdump -nnS -i any host 8.8.4.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type EN10MB (Ethernet), capture size 96 bytes
17:51:43.584990 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:43.585014 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:43.585028 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:43.672222 IP 8.8.4.4.53 > 100.100.100.40.54081: 47009 6/0/0 A 74.125.132.113,[|domain]
17:51:48.586382 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:48.586388 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:48.586392 IP 100.100.100.40.54081 > 8.8.4.4.53: 47009+ A? google.com. (28)
17:51:48.680348 IP 8.8.4.4.53 > 100.100.100.40.54081: 47009 6/0/0 A 74.125.132.113,[|domain]
]$ host google.com 8.8.4.4
;; connection timed out; no servers could be reached
ltm virtual MNG_RADIUS_IN {
destination 100.100.100.0:ssh
ip-forward
ip-protocol tcp
mask 255.255.255.0
profiles {
fastL4 { }
}
translate-address disabled
translate-port disabled
vlans {
CRS1.WAN
CRS2.WAN
}
vlans-enabled
}
- Chura_16140NimbostratusGod dammit !
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com