cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7987
Views
227
Helpful
107
Replies

Dynamic routing issue

Bruno Silva
Level 1
Level 1

Hello,

well, my question is: I have one central route (Cisco Catalyst 3750G-48TS-S) and twenty Switch with layer three ios (Cisco 3560G-24) conected in star topology....

What i want to know is, how central router can communicate with just another router (Cisco 1841) that is behind any 3560G layer three switch?

the cisco 1841 is always the same router that could be behind any other cisco 3560G switch.

Thanks a lot for your patience!

Bruno

107 Replies 107

Yeh... i understanding you! But, i think it's ridiculous have dynamic routing between adjacent interfaces... no? 7301 it's announcing ip network of interface connected directly to 3560 switches. i thonk it's unusefull...

But they are not adjacent to the 7301 so they have to be advertised to the 7301. The 10.10.56.0/24 network does not have an interface on the 7301 so it has to be advertised or the 7301 would not know how to get there.

If we come up with a solution though all those routes on the 7301 for the WiMAX subnets will disappear so when you do a "sh ip route 10.10.56.0 255.255.255.0" you will only see a route if an 1841 is connected. If there are no 1841 routers connected then there will be no routes on the 7301 for that network.

Jon

Bruno,

If you can guarantee the router will be connected to the same port on the 3560 every time, you can try this script. It uses tracking and eem. Please let us know how it turns out.

On your 3560:

track 1 interface fa1/2 line-protocol

event manager applet WimaxUp

event track 1 state up

action 1 cli command "enable"

action 2 cli command "config ter"

action 3 cli command "router eigrp 100"

action 4 cli command "network 192.168.20.0"

action 5 cli command "end"

action 6 cli command "exit"

event manager applet WimaxDown

event track 1 state down

action 1 cli command "enable"

action 2 cli command "config t"

action 3 cli command "router eigrp 100"

action 4 cli command "no network 192.168.20.0"

action 5 cli command "end"

action 6 cli command "exit"

What the first script will do is add the network statement (like Jon suggested) while the interface that you're monitoring (the interface of the 3560 when you connect the router) is up. This script only runs once. While the interface is up, your 3560 will advertise the network. Once the interface goes down, either physically or admin shut, the second script will run and remove the network statement.

I can't stress to you enough that you must have control over the port that the router is connects to. The reason I say this is if a user or another administrator simply connects a PC to the port that you're monitoring, the script will still run. This is why I suggested port security earlier. I would at least enable port security and designate a port with the mac address that belongs to the interface of the router. That way you won't have any accidental outages if someone does come behind you and plug the non-router device into the port that will kick the script off. Be sure to change the above to match what you're wanting to advertise, your eigrp AS, and the tracked interace.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

Good Morning,

Well, Jon... yeh, indeed the type of 10.10.5X.0/24 network does not have an interface on the 7301 so it  has to be advertised to the 7301, but the other Vlan 201-220, 230 they are adjacent between 7301 router and 3560 switches so they has not to be advertised...or am i wrong?

By other way...

John, i understand your help but i have a doubt. I think it will work if the interface wich i connect 1841 is either on state up or down, but the question is that i have a wimax equipment between a 1841 router and 3560G switch that puts interface on 3560 always on state up/up .

It's not possible to put a static route on 3560 switch to vlans 501-508 ip of 1841, and systhematically do eigth pings to them and when receive sucessfully icmp echo reply open a telnet on 7301 and put a static route to that vlan by the 3560 ip gateway?

Bruno,

In all honesty, I'm still very confused how you're connecting this equipment. The wimax equipment is nothing more than a bridge, correct? That's going to be connected to the 3560 on one port, but if your router is mobile and moving between 3560s, that means that you have to be connecting it to a different port on the 3560 than the wimax equipment is on.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

John,

I have one fixed station with 3650 switch. On that switch i have one wimax radio equipment on port g0/5 connected with all 8 Vlan 501-508 (trunk mode)... in that case, eigrp will announce always this networks.:(

When you connect an 1841 to this fixed station switch, what port do you connect it to?

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

John

Sorry to jump back in and maybe cause confusion but i t think there is a WiMAX bridge per 3560 so every switch has one. So the 1841 is mobile but it always connects to a WiMAX bridge.

The only thing that i could think of was to run a continuous ping from each 3560 to the 1841 interface address and when it responds add the route which may or may not be possible and i don't know how efficient that would be. And it would need to keep sending pings to know when the 1841 has been disconnected so it can remove the route.

Perhaps a ping a minute or 30 seconds is good enough for this.

Bruno

Telnetting into the 7301 is way too complicated. All we need to do is add the network statement under EIGRP on the 3560 which is much simpler ie. no remote connections etc. The problem is not with the 7301, it is with the 3560s.

Jon

Jon,

Maybe ip sla with tracking would work with an eem script?

I guess my question is where the physical connection from the 1841 goes. Does it get connected directly to the wimax device or to the 3560?

Something like attached...

If it's scenario 2, the first script should work with a dedicated port, but if it's more like 1, you're very correct in that the 3560 will need to be able to ping it in order to know that it's up. We could tailor the script for that as well.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

John!

It's exactly first scenario! All i need to now is if there is one of the eigth 1841 router connected by wimax!

There is a chance with EEM?

I'll ping:

-10.10.51.1/24 ----- Vlan 501

-10.10.52.1/24 ----- Vlan 502

-10.10.53.1/24 ----- Vlan 503

-10.10.54.1/24 ----- Vlan 504

-10.10.55.1/24 ----- Vlan 505

-10.10.56.1/24 ----- Vlan 506

-10.10.57.1/24 ----- Vlan 507

-10.10.58.1/24 ----- Vlan 508

and if one of 1841 (maximum can be two of them) is connected, i'll announce by eigrp his network.

Bruno

Possibly. Can you check a couple of things for me? I have 3560s, but the version that I have doesn't support eem, tcl, or ip sla. Can you check yours? See if you have the following commands and report back

Post the following from global config:

ip sla ?

event manager ?

Post the following from exec prompt:

tcl?

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

From global config i do not have ip sla neither event manager.....

From exec prompt there is no tcl

With that conclusion.... There's no way....?

Yeah...that's going to be a problem...

My next question is why are you advertising the subnet from the 3560 if you only need the subnet when the router is connected to the wimax? Why not let the 1841 advertise it for you?

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***