Forum Discussion
AngryCat_52750
Nimbostratus
Apr 18, 2012DNS query
we are making a service call to an external vendor.. but internally, we are masking it with an internal URL.. so essentially, abc.mydomain.com:8080/service/getinfo needs to end up at soap.vendor.com:8080/service/getinfo.. i got the following irule but keeping getting a weird ARP error.. (arp who-has f5-dns.mydomain.com tell 10.10.10.10)(self ip)
12 Replies
- nitass
Employee
have you configured default gateway on bigip?
by the way, isn't port number included in http host header?
e.g.
HTTP::header replace Host "soap.vendor.com:8080" - AngryCat_52750
Nimbostratus
so i tried the following -
1.) I forgot the my DNS servers were in vlan 200 and that wasnt on the F5 and thus no self-ip.. i added that and still no luck..
2.) does it matter if i have dns servers setup on the f5? - configuration-device-dns.. does that matter
3.) under network-arp-dynamic list, the dns servers have an entry there..
4.) i am able to ping the dns servers from the f5 from vlan 200 just fine... - nitass
Employee
can you post the virtual server and routing configuration?
b virtual ...name... list
b route list - AngryCat_52750
Nimbostratus
ltm virtual vs_PAS_DEV {
destination 172.26.11.135:webcache
ip-protocol tcp
mask 255.255.255.255
profiles {
http { }
tcp-lan-optimized { }
}
rules {
irule_PAS_DEv
}
snat automap
vlans-disabled
}
ltm virtual vs_dns {
description "DNS pool"
destination 172.26.11.138:any
ip-protocol tcp
mask 255.255.255.255
pool dns_pool
profiles {
tcp-lan-optimized { }
}
snat automap
translate-port disabled
vlans-disabled
}
no static routes.. - nitass
Employee
what is soap.vendor.com ip address? it is not in connected subnet, is it? if so, how can bigip reach it without having static route?
is there anything i missed?? - AngryCat_52750
Nimbostratus
So once the bigIP resolves the name to an address, I am going to need a default route our some kind of route to point that traffic out.. That makes sense.. I guess my problem is that the bigip isn't resolving my soap.vendor.com address.. :( - nitass
Employee
I guess my problem is that the bigip isn't resolving my soap.vendor.com address.. you may put some log command to see the RESOLV::lookup result.
by the way, in the irule, have you tried dns_pool ip address instead of 172.26.11.138? - AngryCat_52750
Nimbostratus
so i tried the dns server directly instead of the vs_dns and that was able to resolve the name to an ip..
now i have to figure out why the request is being sent to the ip adn not IP/URI...
tmm info tmm[7386]: Rule /Common/irule_PAS_DEv: Sent request abc.mydomain.com:8080 /services/AssignGetInfo to 66.179.80.123 - AngryCat_52750
Nimbostratus
btw you have been very helpful!! to a newb like me this is a good learning experience.. thanks :) - nitass
Employee
now i have to figure out why the request is being sent to the ip adn not IP/URI...
tmm info tmm[7386]: Rule /Common/irule_PAS_DEv: Sent request abc.mydomain.com:8080 /services/AssignGetInfo to 66.179.80.123node_used is ip address, so i think what u see from log is expected.
if you run tcpdump, i think you could see the url.
btw you have been very helpful!! to a newb like me this is a good learning experience.. thanks :)you are welcome. i am a newbie too. :D
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
