|
Posted by Mike Rahl on November 8, 2006, 9:49 pm
If you were Registered and logged in, you could reply and use other advanced thread options
You have to do a few things here.
First you have to define what you are natting to (be it an interface,
or an IP address; you can do both). Then you have to indicate what
traffic you are NATting. Because you have only 1 IP address on the
public side, you will need to do a NAT overload
A basic configuration would be something like this:
access-list 101 permit ip 172.20.0.0 0.0.31.255 any
ip nat inside source list 101 interface dialer1 overload
interface fastethernet0/0 !(or whatever your LAN interface is)
ip nat inside
interface dialer1 !(the interface that is configured with your WAN IP
address)
ip nat outside
I usually indicate the WAN interface that has the IP address
configured, as it's the easiest way I know
Hope that helps!
sphealey wrote:
> 2691
> IOS 12.3(14)T6
> SP Services
>
> I am working on setting up a simple dynamic NAT connection to an ADSL
> ISP. The ISP's device is very simple and there is basically nothing I
> can do to fix that.
>
> My setup is:
>
>
> ---------
> == 172.20.10.0 ==| | -------
> | 2691 | | |
> == 172.20.20.0 ==| 0/4|= 2.2.2.2 === 2.2.2.1=| ISP |== 3.3.3.3
> | | | box |
> == 172.20.30.0 ==| | -------
> ---------
>
> where 2.2.2.1 and 2.2.2.2 are valid IP addresses provided by the ISP.
> There are about 30 hosts (PCs) per private network. The ISP box will
> not NAT multiple connections.
>
> Is this as simple as doing a
>
> conf t
> int FE 0/4
> ip nat enable
> exit
> exit
>
> or is there more to it than that? I am suspicious because the Cisco
> document (Configuring NAT for IP Address Conservaton) appears too
> simple!
>
> Thanks.
>
> sPh
|