[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694965: netcfg: Allow setup of pointopoint routes to reach gateway



On Mon, Dec 03, 2012 at 11:57:43PM +0100, Philipp Kern wrote:
> On Sun, Dec 02, 2012 at 08:54:01PM +0100, Michael Neuffer wrote:
> > There already seems to be some code in static.c like the code below,
> > but it doesn't seem to be working
> 
> Well, it's only triggered for known point-to-point devices:
> 
>                 if (strncmp(iface->name, "plip", 4) == 0
>                     || strncmp(iface->name, "slip", 4) == 0
>                     || strncmp(iface->name, "ctc", 3) == 0
>                     || strncmp(iface->name, "escon", 5) == 0
>                     || strncmp(iface->name, "iucv", 4) == 0)
>                     state = GET_POINTOPOINT;
> 
> I don't think it makes sense to ask it at any default priority value.
> We might ask it at "low" but in any case the real use of that option
> should be through preseeding for devices other than the ones listed
> above.

Furthermore netcfg_gateway_reachable would need to be extended to
check for the pointopoint route.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature


Reply to: