cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
327
Views
0
Helpful
3
Replies

Simple NAT Network

feroz syed
Level 3
Level 3

nat.jpg

i try to access web server(8.8.8.8) but it didn't work, here is my cmds :-

interface FastEthernet0/0

ip address 88.84.121.121 255.255.255.0

ip nat outside

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.1.1 255.255.255.0

ip nat inside

duplex auto

speed auto

!

interface Serial0/1/0

ip address 192.168.50.1 255.255.255.0

clock rate 64000

!

interface Serial0/1/1

no ip address

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip nat inside source list NAT interface FastEthernet0/0 overload

ip classless

!

!

ip access-list standard NAT

permit 192.168.1.0 0.0.0.255

1 Accepted Solution

Accepted Solutions

Hi,

then this won't work because routing is done first before NAT and you don't have a route for 8.8.8.8 on the router and the server has got no route for 88.84.121.0/24 as it has no connected interface in that subnet.

change your server address to 88.84.121.2/24 and you'll be natting your inside subnet.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

your server with 8.8.8.8 must have an ip address in the 88.84.121.0/24 network. How did you configure your server?

Is the default gateway of the PC correctly configured(192.168.1.1) and in same subnet as the ip of the machines ?

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

hi, web server just have a single ip address without any gateway, and yes all pc has default gw of 1.1. i can able to ping 88.84.121.121 ip.

Hi,

then this won't work because routing is done first before NAT and you don't have a route for 8.8.8.8 on the router and the server has got no route for 88.84.121.0/24 as it has no connected interface in that subnet.

change your server address to 88.84.121.2/24 and you'll be natting your inside subnet.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Review Cisco Networking products for a $25 gift card