cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
1
Replies

3750G to Router config

gregorymccarty
Level 1
Level 1

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 Reply 1

leonvd79
Level 4
Level 4

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.

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: