Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

2611 Nat with DHCP

I'm sure this is fairly simple for most but how would I set up NAT for a router with two connections? Config is:

version 12.3
ip subnet-zero
!
interface FastEthernet0/0
 description LAN / Firewall Connection
 ip address 192.168.1.1 255.255.255.0
!
interface Serial0/0
 description to ISP Circuit T1
 ip address 1.1.1.2 255.255.255.252
 service-module t1 timeslots 1-24
!
interface FastEthernet0/1
 description Connection to Cable Provider
 ip address dhcp
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 10
!
end

Not sure if I need the nat on the FE0/0 or if it's a global statement.
0
eedlee
Asked:
eedlee
2 Solutions
 
lrmooreCommented:
interface FastEthernet 0/0
 ip nat inside

interface Serial 0/0
 ip nat outside

interface FastEthernet 0/1
 ip nat outside

ip nat inside source list 1 interface Serial 0/0 overload
ip nat inside source list 2 interface FastEthernet 0/1 overload
access-list 1 permit 192.168.1.0
access-list 2 permit 192.168.1.0

0
 
nbutterhornCommented:
interface FastEthernet0/1
 description connected to Internet
 ip address dhcp
 ip nat outside
 half-duplex
!
!
interface FastEthernet 0/1
description connected to EthernetLAN
 ip address 192.168.1.2 255.255.255.0
 ip nat inside
full-duplex
!
router rip
 version 2
 passive-interface Ethernet0/0
 network 192.168.1.0
 no auto-summary
!
ip nat inside source list 1 interface Ethernet0/0 overload
0
 
eedleeAuthor Commented:
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now