Forum Discussion
IP forwarding
Hi Group,
we are migrating from PA address space to our own PI address space. Cooperation partners using domains like this: my.company.partner.com which point to our main IP address i.e 1.1.1.1, because I do not own the domain I can't change the IP by my own. Now we are migrating from 1.1.1.1 to lets assume 2.2.2.2 located on another HA pair of BigIPs.
The URL have to be the same because our application use it to decide which content have to be delivered.
How can I redirect / forward traffic for domain my.company.partner.com which points to 1.1.1.1 on bigip pair 1 to 2.2.2.2 on bigip pair 2 without changing the URL?
Any help is appreciated.
Best
Frank
- frank_thyes_309Nimbostratus
Here we go...
curl -v -I http://2.2.2.2 -H "Host: test.abc.com"
- nitassEmployeehave you configured tmm route for 2.2.2.2 (e.g. default route) on the old bigip (i am not sure when you ping 2.2.2.2, did it use mgmt route or tmm route)?
- frank_thyes_309NimbostratusThe old bigip device is using a default route, reachable through the self ip 123.123.123.123
- nitassEmployee17:51:22.381317 IP 2.2.2.2.80 > 123.123.123.123.55841: P 1:284(283) ack 156 win 429 in slot1/tmm1 lis= flowtype=130 flowid=D10F1C0 peerid=1A3A6E40 conflags=E26 inslot=0 inport=512 haunit=0 peerremote=00000000:00000000:0000FFFF:D4121204 peerlocal=00000000:00000000:0000FFFF:BCAEB90A remoteport=55841 localport=80 proto=0 vlan=4094 is this not http response?
- frank_thyes_309NimbostratusSure it is. I did what you asked me to.
- nitassEmployeeFrom the old device "curl -v -I http://2.2.2. 2-H "Host: test.abc.com" while dumping.sorry to confuse. actually, i mean "curl -v -I http://1.1.1.1 -H "Host: test.abc.com" while running "tcpdump -nni 0.0 host 1.1.1.1 or host 2.2.2.2 and port 80" (to screen) or "tcpdump -nni 0.0:nnn -s0 -w /var/tmp/output.pcap host 1.1.1.1 or host 2.2.2.2 and port 80" (to file).
- frank_thyes_309Nimbostratus[root@lb2:Active] config curl -v -I http://1.1.1.1 -H "Host: test.abc.com"
- nitassEmployeeLooks like the device send the request to the outside host using the wrong interface. I expected 123.123.123.123 instead of the internal address 10.0.35.2is route for 2.2.2.2 in same subnet as 123.123.123.123 interface? 123.123.123.123 is tmm interface (selfip), isn't it?
- nitassEmployeenot sure if it is relevant. anyway, just in case if you have not yet seen it.
- frank_thyes_309Nimbostratus2.2.2.2 is a public address and 123.123.123.123 is one of the external public addresses on the device. On this box we have a default gw configured. Unknown public IP address should be routed to the default gateway, don't they?
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