cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1223
Views
0
Helpful
18
Replies

Newbie Routing Question

waller.brad
Level 1
Level 1

I have a 3925. I have one int on the same subnet as our internet connection (gi0/1) and one on the subnet for our local traffic (gi0/2) and an ip route for that to get out. The problem I am having is that it is not routing the local traffic to the next hop (ISP router (ip of 10.250.250.1)) that is on the same subnet as gi0/1. Here is my current config. Please be aware that my Cisco knwledge is very limited. This router was also setup befoe I was part of the project, and that person has since left. Any help would be greatly appreciated. If you need more of the config let me know. Thanks.

!

interface Loopback0

ip address 10.200.1.1 255.255.255.255

!

interface Embedded-Service-Engine0/0

no ip address

shutdown

!

interface GigabitEthernet0/0

description CAJ LAN connection

ip address 10.245.245.1 255.255.255.248

duplex full

speed 1000

!

interface GigabitEthernet0/1

Description ISP Connection

ip address 10.250.250.2 255.255.255.252

duplex full

speed 100

!

interface GigabitEthernet0/2

description Test Laptop

ip address 10.100.100.1 255.255.255.0

duplex auto

speed auto

!

ip forward-protocol nd

!

no ip http server

ip http secure-server

ip http timeout-policy idle 60 life 86400 requests 10000

!

ip route 0.0.0.0 0.0.0.0 Null0

ip route 10.1.0.0 255.255.0.0 10.245.245.2

ip route 10.10.0.0 255.255.0.0 10.245.245.2

ip route 10.100.100.0 255.255.255.0 10.250.250.1

ip route 10.250.250.0 255.255.255.0 10.250.250.1

!

logging trap debugging

logging 192.168.100.4

access-list 23 permit 1.1.1.0 0.0.0.255

access-list 99 permit 10.1.40.90

!

route-map MESDG permit 10

match ip address 99

set ip next-hop 72.14.100.1

18 Replies 18

danbowencisco
Level 1
Level 1

you have your default route pointing at Null0. It should be pointing at your ISP router out of G0/1.

Dan

here are the commands I ran:

MurrayDC3925(config)#no ip route 0.0.0.0 0.0.0.0 Null0

MurrayDC3925(config)#ip route 0.0.0.0 0.0.0.0 Gi0/1

correct?

yeah, or you could just use the next hop for 0.0.0.0 to be the IP address of the ISP router.

Dan

I made that change, but am still unable to ping 10.250.250.1 from my test laptop at 10.100.100.2.

can you ping that IP from the router?

yes. and the next hop in the ISP chain.

ok, can the client ping the router interface?

It cannot.

I actually also tried to ping the IP of gi0/2 from the router and it fails also.

JJohnson1
Level 1
Level 1

The ISP doesnt have knowledge of the network your laptop is on Brad. ISP only knows the network to which it is directly connected. You should be able to ping the ISP with source interface gig0/1 from the router.  For you to ping the ISP you need to set up a source nat to the gig0/1 interface.

again, please excuse my inexperiance. How would this be done? Or can you point me in the direction to find out the information?

ok then Brad, just to confirm you cannot ping 10.250.250.2 from the client machine on 10.245.245.x?

Im assuming that the clinet can ping its default gateway?

As both networks are directly connected to the router, there shouldnt be an issue - can you post the static routes you have configured?


Dan

as the other person said, the ISP router doesnt know how to get back to the source network so unless you have a routing protocol running on both routers, you will need a static route on the ISP router for the client router (via 10.250.250.2).


Dan

I cannot ping the IP of GI0/2 (10.100.100.1) from the router (ssh'd into the management port with is 10.245.245.x)

I cannot ping the IP of GI0/1 (10.250.250.2) from a laptop that is plugged into Gi0/2 with a static address of 10.100.100.2.

Here are my static routes at this time

ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1

ip route 10.1.0.0 255.255.0.0 10.245.245.2

ip route 10.10.0.0 255.255.0.0 10.245.245.2

I'm had more but removed them during testing.

Crypt0
Level 1
Level 1

Can your laptop ping 10.100.100.1?

I assume you are plugging straight into the router? If so are you using a straight through cable or cross over?

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:

Review Cisco Networking products for a $25 gift card