Routing table metric.

Is it possible to higher a metric for network directly connected on the router? It is quite long to explain but first of all I would like to know if what I asked it is possible. I mean if the router reports

192.168.100.0/24 directly connected on dialer0

Can I modify the routing table with

ip route 192.168.100.0 255.255.255.0 dialer 0 100 ?

Do the networks directly connected to the interfaces take precedence over all the other routing informations?

Alex.

Reply to
AM
Loading thread data ...

Alex,

I'm reasonably sure that there's no way to change the administrative distance for a connected route.

I suppose you could do policy routing, but here's what I think is an easier approach:

- instead of giving d0 an address in 192.168.100/24, unnumber it to a local loopback or LAN interface

- configure a floating static to 192.168.100/24 via d0

Cheers,

Aaron

Reply to
Aaron Leonard

Yes

A floating static route would never defeat a directly connected route for 192.168.100.0

What is the problem that you are trying to address ?

Reply to
Merv

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.