cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3168
Views
0
Helpful
7
Replies

Packet tracer help with NAT

mjt123001
Level 1
Level 1

Hello,

 

I have this network setup in packet tracer one network (CompanyD) can ping out and the addresses are being translated by NAT.

But the other network (CompanyC) cannot ping out and the addresses are not being translated by NAT.

 

Please help

 

Thanks,

1 Accepted Solution

Accepted Solutions

Hello,

I think you simply forgot the 'ip nat inside' command on interface FastEthernet0/0:

interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0

--> ip nat inside
duplex auto
speed auto

View solution in original post

7 Replies 7

Hello,

post the packet tracer file if possible...

It's not letting me :(

I can post the router config?

Router config is ok as well. To upload the .pkt file, you could rename it to e.g. a JPG file...

Network 1.PNG

%SYS-5-CONFIG_I: Configured from console by console

London#sh run
Building configuration...

Current configuration : 1141 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname London
!
!
!
!
ip dhcp excluded-address 192.168.40.23
ip dhcp excluded-address 192.168.40.1
!
ip dhcp pool CompanyD
network 192.168.40.0 255.255.255.0
dns-server 192.168.40.23
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.40.1 255.255.255.0
ip access-group 100 out
ip nat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 106.24.23.50 255.0.0.0
ip nat outside
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 106.0.0.0 0.255.255.255 area 1
network 192.168.40.0 0.0.0.255 area 2
network 192.168.30.0 0.0.0.255 area 3
!
ip nat pool companyd 106.50.50.1 106.50.50.20 netmask 255.0.0.0
ip nat inside source list 1 pool companyd overload
ip classless
!
!
access-list 1 permit 192.168.40.0 0.0.0.127
access-list 1 permit 192.168.30.0 0.0.0.127
access-list 1 deny any
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end

Hello,

I think you simply forgot the 'ip nat inside' command on interface FastEthernet0/0:

interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0

--> ip nat inside
duplex auto
speed auto

Oh yeah, DUH! Thanks mate !

Review Cisco Networking for a $25 gift card