View Single Post

   
  #4 (permalink)  
Old 01-16-2008, 09:36 AM
Ian Chard
 
Posts: n/a
Default Re: Specific default routes for each interface

Ben wrote:
> Ian Chard wrote:
>
>>Hi,
>>
>>I have a V240 connected to two different subnets, and I want to be able
>>to specify a different default route for each interface. If I don't
>>have a /etc/defaultrouter I end up with
>>
>>default 163.1.13.254 UG 1 6 bge1
>>default 163.1.62.254 UG 1 3 bge0
>>
>>which is what I want. However, I'd like to do this without relying on
>>router broadcasts, but I can't figure out how to do this. Is it even
>>possible?

>
> Touch /etc/notrouter and terminate in.routed. The file's existence will
> prevent in.routed from starting.


My fault for being vague :-)

If I don't run in.routed, I can't replicate the above configuration:
if I add both default routers, they aren't tied to interfaces (i.e. the
sixth column is empty), and all packets used the first default route
in the table.

- Ian

--
Ian Chard, Unix & Network Administrator | E: ian.chard@sers.ox.ac.uk
Systems and Electronic Resources Service | T: 80587 / (01865) 280587
Oxford University Library Services | F: (01865) 204937
Reply With Quote