×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

3750G to Router config

Unanswered Question
Jun 20th, 2006
User Badges:

I have a mobile production truck that has a 3750G switch and a 2821 router. When the truck is on the road I set a static route to the 2821. When the truck is at home, I have to change the static route to a 3750G in our office, which connects to a 3845.


My question is, is there a way to have the 3750G in the truck determine which route to use based on which device is connected?


Thanks,

Greg

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
leonvd79 Tue, 06/20/2006 - 07:14
User Badges:
  • Silver, 250 points or more

If you are talking about a static default route i.e. 0.0.0.0/0,you can use a floating static route.


For instance


Route from 3750 to 2821

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0/1 distance 10


Route from 3750 to 3750

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0/2


In case you are connected to the office 3750, that route is preffered. When the interface goes down, the route disapears from the routing table.


HTH


--Leon


* Please rate posts.

Actions

This Discussion