03-18-2015 02:45 PM - edited 03-05-2019 01:02 AM
Hello guys,
I have a problem with a configuration I need to do. I uploaded a sample picture of the network.
I want that the server (192.168.1.2) is Nated with the ip 217.X.X.2 (int fast 0/0) and the other equipment in 192.168.1.0/24 nated with the public ip address of the dialer 1 interface.
I do that :
int dialer 1
ip nat outside
!
int fa 0/0
ip address 217.X.X.2
ip nat outside
!
int vlan 1
ip address 192.168.1.254 255.255.255.0
ip nat inside
!
access-list 100 permit ip 192.168.1.0 0.255.255.255 any
access-list 130 permit ip host 192.168.1.2 any
route-map rm-orange permit 10
match ip address 130
!
route-map rm-internet permit 10
match ip address 100
ip nat inside source route-map rm-internet interface dialer1 overload
ip nat inside source route-map rm-orange interface fa 0/0 overload
Does I need to use set ip next-hop 217.X.X.1 in my route-map ?
I didn't see any statement when I do a show ip nat translation, but I think my access-list are corrects, or does I need to use extended AL?
I'm unable to find similar config on Internet (or I didn't have the right keyword)
Can you help me please ?
03-18-2015 05:15 PM
Kevin
Have a look at this document which is pretty much what you are trying to do -
https://supportforums.cisco.com/document/32186/dual-internet-links-nating-pbr-and-ip-sla
it also includes IP SLA which allows yo to failover traffic if one of the links fails then all traffic is sent via the other link. You may or may not need that bit but the rest is relevant.
If you are still having problems let us know.
Jon
03-19-2015 09:34 AM
Hy Jon,
Thank you to provide me this great document !
I will test that in few days and will share my configuration.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide