Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

mk0
New Member

NAT and DHCP

I'm having trouble configuring my 1605R (IOS 12.1-5.T12) with both DHCP and NAT. The router is getting a DHCP address from my ISP and therefore the WAN IF(eth0) is configured as DHCP client.

Now I would like to let the LAN (eth1) access WAN via NAT. I've tried the command: IP NAT POOL ... but it demands an IP address, which in my case is dynamic.

How do I define eth0 as the outside ?

Sincerely,Mads

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: NAT and DHCP

Hi,

There are many ways to configure NAT.

You can try this:

! On global config mode:

! configure an acl which permits your local network

! in this example 192.168.1.0/24

access-list 1 permit 192.168.1.0 0.0.0.255

! configure NAT

ip nat inside source list 1 interface eth0 overload

! On eth0 configure:

ip nat outside

! On eth1 configure:

ip nat inside

...

If it doesn't work please post your "sh run" und "sh ip int br".

best regards,

Manuel

1 REPLY
New Member

Re: NAT and DHCP

Hi,

There are many ways to configure NAT.

You can try this:

! On global config mode:

! configure an acl which permits your local network

! in this example 192.168.1.0/24

access-list 1 permit 192.168.1.0 0.0.0.255

! configure NAT

ip nat inside source list 1 interface eth0 overload

! On eth0 configure:

ip nat outside

! On eth1 configure:

ip nat inside

...

If it doesn't work please post your "sh run" und "sh ip int br".

best regards,

Manuel

196
Views
0
Helpful
1
Replies
CreatePlease login to create content