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
- What_Lies_Bene1Cirrostratus
I'm not sure an iRule could be used to redirect the traffic as a HTTP redirect would by definition require a different FQDN. It's not a great solution but the only other thing I can think of is to configure a forwarding/performance Virtual Server and have the new Virtual Server (2.2.2.2) configured as the sole Member of a Pool attached to the old Virtual Server. Does that make sense?
It's not great but however you do it, there is an unwanted dependency on the old BIG-IP(s).
- HamishCirrocumulusYou could... In advance, setup an A record in DNS that resolves to your old address. The get everyone who DOES own the domains to replace their A records with CNAMES.
- nitassEmployeecan we just use "node" command pointing to 2.2.2.2? by the way, you will eventually change dns to 2.2.2.2, won't you?
[root@ve10:Active] config b virtual bar list virtual bar { snat automap destination 1.1.1.1:80 ip protocol 6 rules myrule } [root@ve10:Active] config b rule myrule list rule myrule { when CLIENT_ACCEPTED { node 2.2.2.2 } }
- frank_thyes_309Nimbostratus
Yes the DNS will be changed after a short transition phase. You suggested solution does unfortunately not work. The old lb pair with the PA adresses don't know the new address. I assume your solution works like a charme when den new address space is reachable through a directly attached vlan.
Best Frank
- nitassEmployeeThe old lb pair with the PA adresses don't know the new address.
i thought 1.1.1.1 and 2.2.2.2 are public routable ip addresses (virtual server ip address).
- frank_thyes_309Nimbostratus
Yes that's the point, we need an independent solution. Our partners are big with very long processes... you know what I mean?
Best
Frank
- frank_thyes_309Nimbostratus
Thanks for you reply.
I'm afraid we are running into same problem as by the solution suggested from nitass. The old pair does not reach the new address through any directly attached vlan.
virtual fart {
Best Frank
- frank_thyes_309Nimbostratus
They are.
- frank_thyes_309Nimbostratus
They are, Maybe I'm doing it wrong.
virtual test {
From the BigIP with the old address space the new one is reachable.
ping -c 2.2.2.2
Checking from a Host outside the network.
~$ curl -v test.abc.com
Any Ideas?
Best
Frank
- nitassEmployeecan you try this on the old bigip?
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