Re: Default Gateway option



On Wed, 2012-10-10 at 16:02 -0400, Jérôme Poulin wrote:
> On Wed, Oct 10, 2012 at 2:44 PM, Dan Williams <dcbw redhat com> wrote:
> > The current editor dialog is structured so that if you delete the
> > 192.168.1.50/24 address, the gateway associated with that subnet also
> > gets deleted, so you're not left with a setup where you still have eg
> > 10.0.0.5/8 with a default gateway of 192.168.0.1.  That's going to fail
> > quite spectacularly unless you really mean that setup and have
> > additional routes.
> 
> I understand your point, I guess this is for people who don't add
> multiple connection and instead edit the default one when they
> add/remove IPs and to validate the gateway before they submit.
> 
> However, my point is, if you add multiple subnet, you can't re-order
> them so the gateway which is not 0.0.0.0 is set first.
> 
> Consider this setup:
> 192.168.1.100/24 via 0.0.0.0
> 192.168.2.100/24 via 0.0.0.0
> 192.168.3.100/24 via 192.168.3.1

This setup is expected to work the way you describe.  And it turns out
that the reason it doesn't is a bug in NetworkManager, which I've pushed
a fix for to git master and the nm-0-9-6 branches.

Dan



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