Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Cisco 1905 configuration.

I've a setup where the customer is using 1905 router for Internet access. They have a LAN segment with 192.168.1.0/24 and an WAN segment of 150.129.126.168/29 provided by ISP.

Right now they are using a D-Link router for internet access and its working fine. But when we use the Cisco router with below config, users are unable to access internet.

Cisco Config:

interface gi0/0------ 192.168.1.1/24 (LAN)

interface gi0/1------ 150.129.126.170/29 (WAN)

ip route--------------- 0.0.0.0 0.0.0.0 150.129.126.169

DHCP pool --------- 192.168.1.180 to 192.168.1.199

Now, since we are using Pvt Ip in LAN segment and Public in WAN, I feel like we have to perform NAT for the users to access internet. But not quite sure of how to do it.

Any suggestion and help in this regard would be highly appreciated :).

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Hi chinmoy.boruah1,

Hi chinmoy.boruah1,

You can use the following commands:

R1(config)#ip access-list standard 7

R1(config-std-nacl)#permit 192.168.1.0 0.0.0.255

R1(config)#ip nat inside source list 7 interface g0/1 overload

R1(config)#interface gi0/0

R1(config-if)#ip nat inside

R1(config)#interface gi0/1

R1(config-if)#ip nat outside

If you need more documentation about the different ways to configure nat this is going to help you:

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuration/15-mt/nat-15-mt-book/iadnat-addr-consv.html#GUID-B06BC2B4-4345-4A14-A74D-25E09DCB571A

Hope this info helps!!

Rate if helps you!! 

-JP-

2 REPLIES
Cisco Employee

Hi chinmoy.boruah1,

Hi chinmoy.boruah1,

You can use the following commands:

R1(config)#ip access-list standard 7

R1(config-std-nacl)#permit 192.168.1.0 0.0.0.255

R1(config)#ip nat inside source list 7 interface g0/1 overload

R1(config)#interface gi0/0

R1(config-if)#ip nat inside

R1(config)#interface gi0/1

R1(config-if)#ip nat outside

If you need more documentation about the different ways to configure nat this is going to help you:

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuration/15-mt/nat-15-mt-book/iadnat-addr-consv.html#GUID-B06BC2B4-4345-4A14-A74D-25E09DCB571A

Hope this info helps!!

Rate if helps you!! 

-JP-

New Member

Thanks a lot JP.

Thanks a lot JP.

This worked out fine and system is running tight right now. Appreciate your support.

Regards
Chinmoy

95
Views
0
Helpful
2
Replies
CreatePlease to create content