R1 |--------GRE TUNNEL---------| R2 |------FastEternet0/1 to Internet
R1 uses IP address 10.1.55.0/24, R2 uses 10.1.50.0/24, the tunnel uses 10.1.255.0/30.
On R2 I have NAT that'w working fine. the NAT statemnet is as such:
ip nat inside source route-map fornat interface FastEthernet0/1 overload
ip access-list extended TONAT
permit ip 10.1.0.0 0.0.255.255 any
route-map fornat permit 10
match ip address TONAT
on R1 I have added the static:
ip route 0.0.0.0 0.0.0.0 tunnel 0 (the tunnel to R2)
When I ping an Internet address nothing happens, and R2 doesn't do any NAT translations.
If I change the static to
ip route 0.0.0.0 0.0.0.0 172.16.1.1 (ip address of Fasthethernet on R2)
then the ping returns unreachable (UUUUU).
I can ping anywhere from R2 using the tunnel interface.
My understanding is that once the packet arrives on R2 it is decapsulated from the GRE and then routed. But because the source IP should be NAT-ed then it should be translated and forwarded to FastEthernet.
Apparantly I am missing something. Can someone help.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.