cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
716
Views
5
Helpful
30
Replies

No internet problem Cisco 4200 Series

vm05444
Beginner
Beginner
Fibre cable (media converter to ethernet) connect to Cisco 4200 series
router> router>en router#config t router(config)# router(config)#int gi0/0/0 router(config-if)#ip add 106.51.xx.xx 255.255.224.0 router(config-if)#no shutdown
router(config-if)#ip nat outside
router(config-if)#exit router(config)#ip route 0.0.0.0 0.0.0.0 106.51.64.xx router(config)#int gi0/0/1 anged state to up. router(config-if)#ip add 192.168.1.1 255.255.255.0 router(config-if)#no shutdown router(config-if)#ip nat inside router(config-if)#exit router(config)#ip dhcp pool LAN router(dhcp-config)#network 192.168.1.0 255.255.255.0 router(dhcp-config)#default-router 192.168.1.1 router(dhcp-config)#dns-server 8.8.8.8 8.8.4.4 router(dhcp-config)#exit router(config)#ip name-server 8.8.8.8 router(config)#access-list 1 permit 192.168.1.0 0.0.0.255 router(config)#ip nat inside source list 1 int gi0/0/0 overload router(config)#exit

Please give best solution
5 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

what is not working - user not able to get internet ?

high level i do not see anything wrong with config

can you post below information :

1. show ip interface brief

2. show ip arp

3. ping 106.51.64.xx  (from router)

4. ping 8.8.8.8

if the user not getting internet - can user get ip correctly ipconfig /all - can user device can ping gateway and ISP IP and 8.8.8.8

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

johnlloyd_13
Engager
Engager

hi,

are the 4200 interfaces up?

can you ping the ISP GW 106.51.64.xx?

check your ISP speed and duplex setting in their media converter and configure the same in your 4200 g0/0/0 interface.

you can also connect your laptop directly in the media converter RJ45 port, manually assign your laptop LAN settings, ping 8.8.8.8 and open a website.

IP: 106.51.xx.xx

SM: 255.255.224.0

DNS: 8.8.8.8

 

View solution in original post

For now we are in assumptions only until we get all the output i have asked before  its hard to tell what is wrong ?

is this  IP configured manually ? or DHCP ?

as per the information you provided the ISP using /19 

what is your 106.51.xx.xx  (3rd octet here is important).

is the XX is 32  or 64 range ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

ISP given ip address 106.51.37.56 subnet mask 255.255.224.0 Getway 106.51.64.x

As you mentioned if you connect Laptop with this configuration is this works  - personally i believe its typo on the Gateway provided.

106.51.63.xx  (you can try replacing with 64 with 63 and testi) - or contact ISP to validate the information correct.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

I have asked ipconfig /all (from PC when you connected - can you post - what DNS Server you using to browse internet sites)

May be ISP not allowed to ping

But if the PC configured DNS, you can check nslookup command google.com try it not resolved (if not then as mentioned  contact ISP).

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

30 Replies 30

balaji.bandi
Hall of Fame
Hall of Fame

what is not working - user not able to get internet ?

high level i do not see anything wrong with config

can you post below information :

1. show ip interface brief

2. show ip arp

3. ping 106.51.64.xx  (from router)

4. ping 8.8.8.8

if the user not getting internet - can user get ip correctly ipconfig /all - can user device can ping gateway and ISP IP and 8.8.8.8

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

router#ping google.com

%Bad IP address or unknown hostname!

router#ping 106.51.64.x


Press key (ctrl + shift + 6) interrupt it.
Sending 5, 76-byte ICMP Echos to 106.51.64.x , timeout is 2 seconds:
.....
Success rate is 0% (0/5).

Gi0/0/0 UP and gi0/0/1 UP but not ping GW 

If the laptop directly connected and works, once you connect the router connect not working.

basic start with if the router interface up and you are not able to ping ISP IP, then you need to check with ISP

on the router check any speed negotiation issue ? Does the ISP Looking any VLAN Information for your devices to work ?

post below information also - i have asked before ?

1. show ip interface brief

2. show interface gi0/0/0

3. show interface gi0/0/1

4. show ip arp

5. ping 106.51.64.xx  (from router)

6. ping 8.8.8.8

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Interface gi0/0/0 given ip address 106.51.xx.xx subnet mask 255.255.224.0 and GW 106.51.64.xx but show ip route in Connect network show 106.51.32.0 interface gi0/0/0

For now we are in assumptions only until we get all the output i have asked before  its hard to tell what is wrong ?

is this  IP configured manually ? or DHCP ?

as per the information you provided the ISP using /19 

what is your 106.51.xx.xx  (3rd octet here is important).

is the XX is 32  or 64 range ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help


interface gigabitethernet0/0/0
ip address 106.51.37.xx 255.255.224.0
media-type copper
speed 1000
duplex full
ip nat outside
exit
interface gigabitethernet0/0/1
ip address 192.168.31.1 255.255.255.0
media-type copper
ip nat inside
exit

router#ping 106.51.64.x


Press key (ctrl + shift + 6) interrupt it.
Sending 5, 76-byte ICMP Echos to 106.51.64.x , timeout is 2 seconds:
!!!!!
Success rate is 100% (5/5). Round-trip min/avg/max = 0/0/1 ms.

router#ping 8.8.8.8


Press key (ctrl + shift + 6) interrupt it.
Sending 5, 76-byte ICMP Echos to 8.8.8.8 , timeout is 2 seconds:
.....
Success rate is 0% (0/5).

You able to ping ISP Gateway, but not able to ping 8.8.8.8 (check with ISP is this ping allowed for 8.8.8.8 - most case this allowed, but some provide blocks - depends on ISP to ISP)

even on your Windows you are not able to browse, so contact ISP and check is the information provided correct.

I have asked ipconfig /all (from PC when you connected - can you post - what DNS Server you using to browse internet sites)

some ISP like to use thier OWN DNS, they dont allow google DNS, so check with ISP again and use ISP provided DNS setting and test it.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

yes ISP given own dns but not ping DNS like this 49.34.23.130 18.82.34.66

show this problem in LAPTAP

vm05444_0-1707736141777.jpeg

 

I have asked ipconfig /all (from PC when you connected - can you post - what DNS Server you using to browse internet sites)

May be ISP not allowed to ping

But if the PC configured DNS, you can check nslookup command google.com try it not resolved (if not then as mentioned  contact ISP).

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you resolved all problem 

Glad all good and suggestion made to fix the issue and appriciated your feedback.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

router#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management
D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S 0.0.0.0/0 [1/10] is directly connected, 00:14:16, gigabitethernet0/0/0
C 106.51.32.0/19 is directly connected, 00:14:16, gigabitethernet0/0/0
C 127.0.0.0/8 is directly connected, 00:14:32, lo0
C 192.168.31.0/24 is directly connected, 00:13:31,gigabitethernet0/0/1

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: