Re: [PATCH] Re: IP4Config and routes
- From: Simon Schampijer <simon schampijer de>
- To: jklimes redhat com
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH] Re: IP4Config and routes
- Date: Tue, 08 Jun 2010 16:06:31 +0200
On 06/08/2010 01:43 PM, Jirka Klimes wrote:
On Saturday 05 of June 2010 04:58:36 Dan Williams wrote:
On Wed, 2010-06-02 at 09:51 +0200, Simon Schampijer wrote:
On 12/18/2009 03:14 PM, Daniel Drake wrote:
On Thu, 2009-12-17 at 14:22 -0800, Dan Williams wrote:
What would you expect the routing table to look like in your case? I
suppose we could do a default route for link-local. Not sure if that
will confuse apps that expect a default route to mean an internet
connection though.
I would expect the subnet route, as NM is creating already:
dest=169.254.0.0
gateway=0.0.0.0
genmask=255.255.0.0
I would also like the routing table to either include a default route:
dest=0.0.0
gateway=0.0.0.0
genmask=0.0.0.0
or a multicast one:
dest=224.0.0.0
gateway=0.0.0.0
genmask=240.0.0.0
The routing table that NM is setting up now is reasonable, in my
opinion, but there should be some way of customizing the behaviour in
the settings object.
Daniel
Hi,
what is the status on this one? Was there a conclusion on whether NM
should set a default route for link local?
Creating a multicast route by default on link-local IPv4 connections
seems reasonable. Want to do a patch for that? I'd say just add the
desired route in aipd_get_ip4_config() in src/nm-device.c to the
returned NMIP4Config object and then lets make sure the code that adds
routes works correctly there.
The patch adds a multicast route as suggested by Dan.
destination=224.0.0.0
netmask=240.0.0.0
Daniel, does it work for your case?
Jirka
Hi Jirka,
thanks for doing the patch. I am at a conference at the moment, so
testing has to wait until next week.
Thanks very much,
Simon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]