Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 3600 problem 1

Status
Not open for further replies.

UKShark

Technical User
Jun 1, 2007
4
0
0
GB
hi all, hope you can help.
I have a cisco 3600 and a 192.168.0.200 ip on one interface, and a 81.187.211.X on the other interface that is connected to my adsl modem.

I can ping the internet from the router.
I can ping the wan interface of the router from the pc.
I cant ping the modem from the pc.
I can ping the modem from the router.


version 12.4
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 *********
enable password *********
!
no aaa new-model
memory-size iomem 15
!
!
ip cef
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.200 255.255.255.0
speed 100
full-duplex

!
interface FastEthernet2/0
ip address 81.187.211.**1 255.255.255.252
speed 100
full-duplex
!
!
ip http server
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 81.187.211.**2
!
!
!
control-plane
!
!
line con 0
speed 115200
line aux 0
line vty 0 4
password ********
login
!
!
end


*****************

Adsl modem is on 81.187.211.**2

*****************
Router#ping yahoo.com

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 69.147.114.224, timeout is 2 seconds:
!!!!!
rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Router#ping 81.187.211.**2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 81.187.211.**2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

*********from pc on 192.168.0.100*******

C:\Users\Stephen>ping 81.187.211.**2

Pinging 81.187.211.**2 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

C:\Users\Stephen>ping 81.187.211.**1

Pinging 81.187.211.**1 with 32 bytes of data:
Reply from 81.187.211.**1: bytes=32 time=1ms TTL=255
Reply from 81.187.211.**1: bytes=32 time=1ms TTL=255
Reply from 81.187.211.**1: bytes=32 time=1ms TTL=255
Reply from 81.187.211.**1: bytes=32 time=1ms TTL=255


PC gateway is set to router.

Can anyone please help?


 
NAT.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
you need to add a nat pool. something like

ip nat pool <name> <Pilot IP> 255.255.255.xx
ip nat inside source list xxx pool <name> overload

ip access-list xxx
permit ip 192.168.0.0 0.0.0.255 any

or you can use a route map if you want to go that way

ip nat inside source route-map <name> interface X overload

route-map <name> permit 10
match ip address xxx

access-list xxx permit ip 192.168.0.0 0.0.0.255 any
 
To add NAT Copy and past this into your router:

!------(cut start) ------
interface FastEthernet0/0
ip nat inside

interface FastEthernet2/0
ip nat outside

ip nat inside source list 100 interface FastEthernet2/0 overload

access-list 100 permit ip any any
!----(cut end)-------

If you wish to add DHCP (makes the router hand out IP address to your computer automatically) then cut and past the following also. Replace 208.67.222.222 (openDNS) with the DNS IP address that your ISP has given you if you wish.

!------(cut start)-----
ip dhcp pool ukshark
network 192.168.0.0 255.255.255.0
default-router 192.168.0.200
dns-server 208.67.222.222
!------(Cut End)-------

Hope this all helps get you working with your router!





CCNA, A+, HP Certified Professional
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top