starting Fedora Server SIG

Dan Williams dcbw at redhat.com
Thu Nov 13 15:07:35 UTC 2008


On Thu, 2008-11-13 at 09:20 -0500, Chuck Anderson wrote:
> On Thu, Nov 13, 2008 at 08:12:24AM -0600, Les Mikesell wrote:
> > Chuck Anderson wrote:
> >> On Thu, Nov 13, 2008 at 02:27:42PM +0100, Adam Tkac wrote:
> >>> Crucial thing is static IPs which NM can't handle.
> >>
> >> False.
> >
> > If you bring up a mix of static and dynamically assigned interfaces, can  
> > you control which gets to assign the default route and DNS servers?
> 
> The last time I looked at the code, NM had a hard-coded policy for how 
> it assigns the default route and DNS servers.  If you only have one 
> interface with a default route and the other interfaces don't have a 
> default route, then the DNS and default route for that interface is 
> set.  If you have more than one, I believe it picks based on the 
> hard-coded policy, which I believe is wired first, then wireless, then 
> dialup/mobile broadband.  In the face of multiple wired connections, 
> I'm not sure what the policy is.
> 
> Yes, NM needs to grow the ability to specify policy outside of the 
> code.

The current policy is this.  If the device gets a gateway from anything
(either DHCP or the GUI or the ifcfg files) then it becomes a candidate
for the default route.  If you don't enter a gateway for any of that
device's IP addresses in the GUI, it shouldn't ever get the default
route.

Yes, there's room for improvement.  If you check "Ignore automatically
provided routes" and you're using DHCP, NM should probably ignore the
gateway for that device when deciding which device gets the default
route.

> It also needs IPv6 support (coming soon I hear), alias support, 

IPv6: target for next version
Alias: you can already add multiple IPs to an interface
bridging: planned
bonding: planned
VLANs: good to have, needs more investigation

Dan





More information about the fedora-devel-list mailing list