If you have a public ip address in the interface serial0 you can make
something like this:
int ethernet0
ip address 192.168.54.1 255.255.255.252
int serial0
ip address AAA.AAA.AAA.AAA 255.255.255.252
!
access-list 1 permit 192.168.54.0 0.0.0.3
!
ip nat inside source list 1 interface serial 0 overload
!
int ethernet0
ip nat inside
!
int serial0
ip nat outside
!
If you have got only one ip address (/32) you can create a loopback
interface and make the nat over it.
int loopback 0
ip address AAA.AAA.AAA.AAA 255.255.255.255
!
ip nat inside source list 1 interface loopback 0 overload
Diego
-----Original Message-----
From: Kenny Long [mailto:kennyl@mail.csolutions.net]
Sent: Lunes, 29 de Abril de 2002 11:24 a.m.
To: cisco-nsp@puck.nether.net
Subject: NAT Question
Group,
I currently have one public IP address available to me, and I have that set
as the ip address for a dialer interface. Behind this router is only one
host. I need a way to have all TCP and UDP traffic NATted to this
particular host (lets say 192.168.54.2), while all other IP protocols remain
at the router. The reason for this is that I am playing with IPv6 and need
to have a tunnel between my router and the remote sites router. I believe
this is possible with route-maps, but I dont know the syntax. Any help is
appreciated. Thanks.
Kenny Long
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:43 EDT