cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1059
Views
0
Helpful
6
Replies

No DNS, Cannot ping internet

james.e.squier
Level 1
Level 1

HELP! Why do I not have internet access from C1700?

I have 2 routers and two cat switches.

c2911xm is connected to the internet via att dls modem. Internet access works from switch connected from here.

hedge-c2911xm#sh ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            192.168.1.100   YES DHCP   up                    up

Serial0/0                  10.1.1.1        YES NVRAM  up                    up

FastEthernet0/1            192.168.0.1     YES NVRAM  up                    up

C1700 is connected via serial to c2911xm. from host int c1700 side I can ping the default gateway 192.168.1.100 but not the DLS router from the C1700..

C1700-1>sh ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            192.168.2.1     YES NVRAM  up                    up

Serial0/0                  10.1.1.2        YES NVRAM  up                    up

Serial1/0                  unassigned      YES NVRAM  administratively down down

I have EIGRP running on both routers.

hedge-c2911xm#sh ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.1.254 to network 0.0.0.0

     10.0.0.0/24 is subnetted, 1 subnets

C       10.1.1.0 is directly connected, Serial0/0

C    192.168.0.0/24 is directly connected, FastEthernet0/1

C    192.168.1.0/24 is directly connected, FastEthernet0/0

D    192.168.2.0/24 [90/2181120] via 10.1.1.2, 06:34:52, Serial0/0

S*   0.0.0.0/0 [254/0] via 192.168.1.254  #DSL Router

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets

C       10.1.1.0 is directly connected, Serial0/0

D    192.168.0.0/24 [90/2172416] via 10.1.1.1, 06:35:34, Serial0/0

D    192.168.1.0/24 [90/2172416] via 10.1.1.1, 06:35:17, Serial0/0

C    192.168.2.0/24 is directly connected, FastEthernet0/0

Thanks,

James

3 Accepted Solutions

Accepted Solutions

Sindhu_kumar
Level 1
Level 1

In Router C2911XM can you redistribute static route into EIGRP so that C1700 router will receive the default route via EIGRP. Then from C1700 router you can access Internet   if natting is configured properly.

In C2911XM Router

router eigrp [as]

redistribute static [metric x x x x x ]

In C1700 Router sh ip route

D*EX 0.0.0.0/0 [170/XXXXXXX] via 10.1.1.1

View solution in original post

Edwin Summers
Level 3
Level 3

First item I would confirm is routing.  Does the C1700 have all necessary routes (a route to the "DLS" as well as a default, if needed)?  Also confirm that the cable modem (is this the "DLS" router?) has routes to your internal network.  By default it likely only has a route to the immediate LAN that it serves.  Some will allow other static routes to be configured.

Once this is working you may need to confirm that your cable modem will also perform NAT for networks other than it's immediate LAN network.  If not, you may need to "double NAT" by having your c2911 NAT all internal traffic to it's fa0/0 interface.

Best of luck! -Ed

View solution in original post

Hi Did you enable Ip nat inside command on S0/0 interface on Router C2911XM.

View solution in original post

6 Replies 6

Sindhu_kumar
Level 1
Level 1

In Router C2911XM can you redistribute static route into EIGRP so that C1700 router will receive the default route via EIGRP. Then from C1700 router you can access Internet   if natting is configured properly.

In C2911XM Router

router eigrp [as]

redistribute static [metric x x x x x ]

In C1700 Router sh ip route

D*EX 0.0.0.0/0 [170/XXXXXXX] via 10.1.1.1

Edwin Summers
Level 3
Level 3

First item I would confirm is routing.  Does the C1700 have all necessary routes (a route to the "DLS" as well as a default, if needed)?  Also confirm that the cable modem (is this the "DLS" router?) has routes to your internal network.  By default it likely only has a route to the immediate LAN that it serves.  Some will allow other static routes to be configured.

Once this is working you may need to confirm that your cable modem will also perform NAT for networks other than it's immediate LAN network.  If not, you may need to "double NAT" by having your c2911 NAT all internal traffic to it's fa0/0 interface.

Best of luck! -Ed

Sindukumar and Edwin,

It is still not working. Maybe my NAT is wrong

Sindukumar, I did as you sugested and redistributed the static route via EIGRP.

C1700

C1700-1>sh ip rout

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

     10.0.0.0/24 is subnetted, 1 subnets

C       10.1.1.0 is directly connected, Serial0/0

D    192.168.0.0/24 [90/2172416] via 10.1.1.1, 08:11:21, Serial0/0

D    192.168.1.0/24 [90/2172416] via 10.1.1.1, 08:11:05, Serial0/0

C    192.168.2.0/24 is directly connected, FastEthernet0/0

D*EX 0.0.0.0/0 [170/2172416] via 10.1.1.1, 00:00:34, Serial0/0

Edwin,

C2911 is already double NAT'd.

hedge-c2911xm

ip nat pool gbl.net 192.168.1.100 192.168.1.100 netmask 255.255.255.0

ip nat inside source list 7 pool gbl.net overload

access-list 7 permit 192.168.0.0 0.0.0.255

access-list 7 permit 10.1.1.0 0.0.0.255

access-list 7 permit 192.168.2.0 0.0.0.255

interface FastEthernet0/0

ip address dhcp

# This interface is configured to DHCP because the DSL router will not route if is set to static but it will always be 192.168.1.100

ip nat outside

duplex auto

speed auto

interface FastEthernet0/1

ip address 192.168.0.1 255.255.255.0

ip nat inside

duplex auto

speed auto

Any other advice?

Thanks,

James

Hi Did you enable Ip nat inside command on S0/0 interface on Router C2911XM.

Sindhukumar and Edwin,

Thanks for the help. It works now.

ATT DSL Router 192.1.1.254 Connected to 192.168.1.100 (hedge-c2911xm fa0/1)

hedge-c2911xm

     fa0/0 192.168.0.1 -> Connected to switch

     fa0/1 192.168.1.100 -> Connected to DSL router

     Serial0/0 10.1.1.1 -> Connected to 10.1.1.2 (C1700-1 serial0/0)

C1700-1

      Serial0/0 10.1.1.2 -> Connected to 10.1.1.1 (hedge-c2911xm serial0/0)

      fa0/0 192.168.2.1 -> Connected to switch

Resolultion:

EIGRP: Redistribute static route

NAT:

access-list 7 permit 192.168.0.0 0.0.0.255

access-list 7 permit 10.1.1.0 0.0.0.255

access-list 7 permit 192.168.2.0 0.0.0.255

interface Serial0/0

ip nat inside

Question? I do not need

access-list 7 permit 192.168.2.0 0.0.0.255?

Thanks,

Iearned a lot.

James

ALIAOF_
Level 6
Level 6

Are you able to post a topology diagram with IP's?