01-16-2013 12:14 PM - edited 03-04-2019 06:43 PM
Hello, I have a cisco 871w router that I'm trying to incorporate into an existing network. I have FastEthernet4 (WAN port) plugged into an ISP device, which I don't have access to. I have the address set to use dhcp, which is successfully recognized and I see that the interface gets a valid ip address that I can ping with other computers on the same network.
Problems:
I am logged into the router via the serial port and I cannot ping websites on the internet. I am able to ping sites that are hosted inside the WAN, but when I try "google.com" for instance, I see it sending out packets, but none are received. It resolves the hostname from the local DNS server, but there are no packets received.
Configuration:
I'm really new at this, so I was wondering if you guys could take a look at the commands that I type into the console to set up the router. I'm missing a lot of stuff. This is what I've been able to piece together using google and the software manuals:
enable
config t
hostname [hostname]
interface FastEthernet 4
ip address dhcp
ip nat outside
no shutdown
interface loopback 0
ip address 192.168.0.1 255.255.255.248
no shutdown
interface Vlan 1
ip dhcp pool vlan1
network 192.168.1.0 255.255.255.0
domain-name [domain]
default-router 192.168.0.1
dns-server 10.195.57.1
ip address 192.168.1.1 255.255.255.0
ip helper-address 10.195.57.2
ip virtual-reassembly
ip nat inside
no shutdown
interface FastEthernet 0
switchport access vlan 1
no shutdown
interface FastEthernet 1
switchport access vlan 1
no shutdown
interface FastEthernet 2
switchport access vlan 1
no shutdown
interface FastEthernet 3
switchport access vlan 1
no shutdown
interface FastEthernet 4
switchport access vlan 1
no shutdown
ip nat inside source list 100 interface FastEthernet4 overload
access-list 100 permit ip 192.168.1.1 0.0.0.255 any
Thank you very much for your help!
Solved! Go to Solution.
01-16-2013 04:28 PM
Ok. I took out those lines and added the LAN dhcp pool stuff. I'm seeing the same behavior, however. I can still use my laptop to browse the internet, though.
1. I am able to ping this server. I get 100% success.
2. I'm not really in a position to do this... I just took an ethernet cable meant for a client machine and hooked it up to my router...
Thanks!
EDIT: Worrr, hang on. I tried pinging "google.com" from another computer that I know works perfectly. It experiences timeout as well. I think the network might be blocking ICMP traffic.
Well, I guess I'm satisfied and I can consider everything to be working fine... Thank you very much for your help!
Here is my final config:
enable
config t
hostname [router name]
interface FastEthernet 4
ip address dhcp
ip nat outside
no shutdown
interface loopback 0
ip address 192.168.0.1 255.255.255.248
no shutdown
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
domain-name [domain name]
default-router 192.168.1.1
dns-server x.x.x.x
interface Vlan 1
ip address 192.168.1.1 255.255.255.0
ip virtual-reassembly
ip nat inside
no shutdown
interface FastEthernet 0
switchport access vlan 1
no shutdown
interface FastEthernet 1
switchport access vlan 1
no shutdown
interface FastEthernet 2
switchport access vlan 1
no shutdown
interface FastEthernet 3
switchport access vlan 1
no shutdown
interface FastEthernet 4
switchport access vlan 1
no shutdown
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface FastEthernet4 overload
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide