Re: Default Gateway option



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

I'd have to delete the 2 first subnet and re-add them at the bottom if
I'd like to get access to my gateway, else I would get a route to the
device instead of the router.

Another way would be to allow NULL gateways which would allow not to
set the default route for a subnet.


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