Jump to content

Routing expert help needed


newskoda

Recommended Posts

This ones for all those routing experts out there. I am trying to alter the connection a route will take based on certain IP address.I have a few Cisco routers. I maybe able to post up the topology diagram. If anyone thinks they can help?

Link to comment
Share on other sites

Would a set static route on R3 and R1 not do it?

Something like that?

ip route 172.16.10.0 255.255.255.255 router inteface/IP address

Hi

A static route won't do it because R3 needs to be able to discern traffic from 172.16.30.0/29 and route accordingly.Similarly traffic destined for 172.16.30.0/29 from R2 must flow going from R2>R1>R3.

R2#SHOW 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 0.0.0.0 to network 0.0.0.0

192.168.12.0/30 is subnetted, 1 subnets

C 192.168.12.0 is directly connected, FastEthernet0/0

192.168.13.0/30 is subnetted, 1 subnets

O 192.168.13.0 [110/2] via 192.168.23.2, 00:17:02, FastEthernet1/0

[110/2] via 192.168.12.1, 00:17:02, FastEthernet0/0

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks

O IA 172.16.30.0/29 [110/2] via 192.168.23.2, 00:17:02, FastEthernet1/0

O IA 172.16.20.0/29 [110/2] via 192.168.23.2, 00:17:04, FastEthernet1/0

O IA 172.16.10.0/29 [110/2] via 192.168.23.2, 00:17:04, FastEthernet1/0

S 172.16.10.0/24 [1/0] via 192.168.12.1

24.0.0.0/24 is subnetted, 1 subnets

C 24.24.24.0 is directly connected, Serial2/0

192.168.23.0/30 is subnetted, 1 subnets

C 192.168.23.0 is directly connected, FastEthernet1/0

S* 0.0.0.0/0 is directly connected, Null0

As you can see I put a 172.16.30.0/29 static route in which points to 192.168.12.1. However this path is ignored due to the longest match rule.

I have since removed the 172.16.30.0/29 static route.

I need to somehow create a rule On R3 which examines traffic from 172.16.30.0/29 AND ROUTES it via R1 and then onto R2.As these are faster links and my 172.16.30.0/29 is a lot busier

similarly I need to ensure that traffic destined for 172.16.30.0/29 which passes through R2 uses the faster 1Gb links.

Link to comment
Share on other sites

Sorry I ment to say my static route is

S 172.16.30.0 [1/0] via 192.168.12.1

O IA 172.16.20.0 [110/3] via 192.168.12.1, 00:01:50, FastEthernet0/0

O IA 172.16.10.0 [110/3] via 192.168.12.1, 00:01:50, FastEthernet0/0

*Mar 1 01:03:19.699: %SYS-5-CONFIG_I: Configured from console by console 24.0.0.0/24 is subnetted, 1 subnets

C 24.24.24.0 is directly connected, Serial2/0

192.168.23.0/30 is subnetted, 1 subnets

C 192.168.23.0 is directly connected, FastEthernet1/0

S* 0.0.0.0/0 is directly connected, Null0

R2#traceroute 172.16.30.1

Type escape sequence to abort.

Tracing the route to 172.16.30.1

1 192.168.12.1 180 msec 84 msec 72 msec

2 192.168.13.2 96 msec 156 msec *

I appreciate the idea about the static route but it doesn't solve the problem. Sorry. I don't want to use static routes as they take up resources. I also have to examine the source traffic when it comes from 172.16.30.0/29 when passing through R3. R3 will need to make the correct routing decision to send it to R1 instead of R2.

Here is R3's table

R3#show ip route ospf

192.168.12.0/30 is subnetted, 1 subnets

O 192.168.12.0 [110/2] via 192.168.23.1, 00:04:44, FastEthernet0/0

[110/2] via 192.168.13.1, 00:04:44, FastEthernet1/0

O*E2 0.0.0.0/0 [110/1] via 192.168.23.1, 00:04:44, FastEthernet0/0

I hope this makes sense. It is a bit confusing.

Edited by newskoda
Link to comment
Share on other sites

Would a set static route on R3 and R1 not do it?

Something like that?

ip route 172.16.10.0 255.255.255.255 router inteface/IP address

An IP route cannot be used if you are just wanting to add a route for one specific IP. Newskoda - Not able to look at the image so I am blind - Have you signed up to Ciscos Forum? I am on there if you post it I might be able to help

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

An IP route cannot be used if you are just wanting to add a route for one specific IP. Newskoda - Not able to look at the image so I am blind - Have you signed up to Ciscos Forum? I am on there if you post it I might be able to help

 

Hi,

 

Did you ever resolve this?

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Community Partner

×
×
  • Create New...

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.