iRule for Dynamic NATING

Hi All,

Is anyone had done some dynamic NATing for example,

Origin:

10.19.0.0/19

Translation:

172.26.0.2 -172.26.31.254

Thanks!

Ferdz

You should be able to use an SNAT Pool for this. Can you tell us a bit more about the exact requirements and your planned design?

Hi Steve,

The reason why we need to NAT IP addresses because of the conflicting IPs, we are currently replacing a Cisco router using an F5.

Here some snapshots from NAT Router:

ip nat pool SUN1 172.26.0.2 172.26.31.254 netmask 255.255.224.0

ip nat inside source list 11 pool SUN1

access-list 11 permit 10.19.0.0 0.0.31.255

ip nat inside source static 10.157.8.84 172.26.210.84

ip nat outside source static 10.103.33.11 10.171.14.111

Here’s the flow

Company A <> Router Company A <> F5 <> Router Compny B <> Company B

Thanks!

Ferdz

Hi Steve,

The reason why we need to NAT IP addresses because of the conflicting IPs, we are currently replacing a Cisco router using an F5.

Here some snapshots from NAT Router:

ip nat pool SUN1 172.26.0.2 172.26.31.254 netmask 255.255.224.0

ip nat inside source list 11 pool SUN1

access-list 11 permit 10.19.0.0 0.0.31.255

ip nat inside source static 10.157.8.84 172.26.210.84

ip nat outside source static 10.103.33.11 10.171.14.111

Here’s the flow

Company A <> Router Company A <> F5 <> Router Compny B <> Company B

Thanks!

Ferdz

Hi Steve,

The reason why we need to NAT IP addresses because of the conflicting IPs, we are currently replacing a Cisco router using an F5.

Here some snapshots from NAT Router:

ip nat pool SUN1 172.26.0.2 172.26.31.254 netmask 255.255.224.0

ip nat inside source list 11 pool SUN1

access-list 11 permit 10.19.0.0 0.0.31.255

ip nat inside source static 10.157.8.84 172.26.210.84

ip nat outside source static 10.103.33.11 10.171.14.111

Here’s the flow

Company A <> Router Company A <> F5 <> Router Compny B <> Company B

Thanks!

Ferdz

Hi Steve,

The reason why we need to NAT IP addresses because of the conflicting IPs, we are currently replacing a Cisco router using an F5.

Here some snapshots from NAT Router:

ip nat pool SUN1 172.26.0.2 172.26.31.254 netmask 255.255.224.0

ip nat inside source list 11 pool SUN1

access-list 11 permit 10.19.0.0 0.0.31.255

ip nat inside source static 10.157.8.84 172.26.210.84

ip nat outside source static 10.103.33.11 10.171.14.111

Here’s the flow

Company A <> Router Company A <> F5 <> Router Compny B <> Company B

Thanks!

Ferdz

Hi Steve,

The reason why we need to NAT IP addresses because of the conflicting IPs, we are currently replacing a Cisco router using an F5.

Here some snapshots from NAT Router:

ip nat pool SUN1 172.26.0.2 172.26.31.254 netmask 255.255.224.0

ip nat inside source list 11 pool SUN1

access-list 11 permit 10.19.0.0 0.0.31.255

ip nat inside source static 10.157.8.84 172.26.210.84

ip nat outside source static 10.103.33.11 10.171.14.111

Here’s the flow

Company A <> Router Company A <> F5 <> Router Compny B <> Company B

Thanks!

Ferdz

Thanks. I’ll reply in your other post here: https://devcentral.f5.com/community…852/asg/39