Re: Default Gateway with Manual Setting



On Mon, 2009-10-05 at 13:31 -0400, John Mahoney wrote:
> 
> 
> On Mon, Oct 5, 2009 at 1:21 PM, Dan Williams <dcbw redhat com> wrote:
>         
>         On Mon, 2009-10-05 at 13:07 -0400, John Mahoney wrote:
>         >
>         >
>         > On Sun, Oct 4, 2009 at 1:56 AM, Martyn J. Pearce
>         > <fluffy sixears co uk> wrote:
>         >         Apogolies if re-asked, I have searched the
>         mailing-list
>         >         archive to no avail.
>         >
>         >         I am running a new ubuntu install on a netbook
>         (Eeepc surf),
>         >         with wired &
>         >         wireless networking available, both domestic
>         >         manually-configured networks (no
>         >         dhcp).  I have added Manual profiles to both wired &
>         >         wireless.  I cannot get
>         >         the default gateway (192.168.0.12) to configure,
>         however.
>         >
>         >         I add two routes in the route config panel; one for
>         >         192.168.0.0/255.255.255.0
>         >         (no gateway), and one for 0.0.0.0/0.0.0.0 (gateway
>         >         192.168.0.12).  Having left
>         >         the edit dialogue, and applied, there is no
>         difference to the
>         >         routing table as
>         >         displayed with route -n.  If I re-enter the routes
>         edit panel,
>         >         I find that
>         >         it's collapsed the routes into one, being
>         >         192.168.0.0/255.255.255.0 (gateway
>         >         192.168.0.12); but there's no hint of the gateway in
>         the route
>         >         config.
>         >
>         >
>         > Did you try adding the Default gateway to the Addresses
>         section of the
>         > ipv4 settings tab instead of the routes section.
>         > Also, If you have both wired and wireless interfaces active,
>         I
>         > believe, it will always use the wired default route first if
>         possible.
>         
>         
>         The routes dialog doesn't take 0.0.0.0, because that's the
>         default
>         route, and  NM manages the default route.  Here's what you
>         do...
>         
> 
> There should probably be some error checking in the add routes section
> so that the address 0.0.0.0 can not be added
> to avoid future confusion. At least on Ubuntu 9.04 it allows me to add
> such routes.

Yeah.

Dan





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