[haiku-development] Re: Using more than one network interface, multiple default routes

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 05 Aug 2011 01:04:33 +0200

Hi,

On 2011-08-04 at 18:47:49 [+0200], Jérôme Duval <korli@xxxxxxxxxxxxxxxx> 
wrote:
> 
> On a current revision, I noticed that, when two network interfaces are
> up, I get two default routes.
> Is this a normal situation? For instance on Linux, I got only one
> default route in this case.

I think that's a bug, there should only ever be a single default route. IIRC, 
a device's metric is used to determine which of two up devices get to 
determine the default route.

> Also packets go either through one or the other interface, randomly on
> each boot, depending on the order of the routes.
> 
> Is this worth a ticket?

I suppose it is, yes (unless there already is one describing that kind of 
problem, I haven't checked).

cheers,
        Oliver

Other related posts: