Re: Default Gateway with Manual Setting



On Monday 05 October 2009 15:33:38 Dan Williams wrote:
> On Mon, 2009-10-05 at 15:03 -0400, Gene Czarcinski wrote:
> > On Monday 05 October 2009 13:21:46 Dan Williams wrote:
> > > That checkbox ensures that that connection (and thus any device that
> > > has been activated using that connection) will not be the default
> > > route.
> >
> > Nice in theory but this does not work in practice on with Fedora 11 or
> > Fedora 12 -- https://bugzilla.redhat.com/show_bug.cgi?id=523875
> >
> > As I see it, there is one and possible two problems:
> >
> > 1. The "connection only" does not stay checked (and, I assume, the
> > appropriate parameter does not get set).
> >
> > 2. If "connection only" checkbox be made to work, is the default route
> > set properly.
> >
> > IMHO, this is an important problem that needs fixing .. in at least F12
> > if not in F11.
> >
> > OK, there are only so many hours in a day and the maintainers/developers
> > of NetworkManager have a lot to do ... and, from the looks of it,
> > NetworkManager is a lot of code.
> >
> > So, I am willing to put some time in on this.  I downloaded and installed
> > the F12 source rpm.   As I said, NetworkManager is a lot of code and I
> > would prefer to spend my time constructively rather than learning about
> > all of NetworkManager.  Could someone provide some guidance as to where
> > (what source files) I should be looking?
> 
> Which specific NM SRPM?  Ideally you have:
> 
> http://kojipkgs.fedoraproject.org/packages/NetworkManager/0.7.996/4.git2009
> 1002.fc12/src/NetworkManager-0.7.996-4.git20091002.fc12.src.rpm
> 
> You might also try to update to the packages here:
> 
> http://koji.fedoraproject.org/koji/buildinfo?buildID=134947
> 
> and see if you can reproduce the issue on F12, which would help.  F12
> builds have had a fwe issues the past couple weeks that would have
> prevented the "available to all users" checkbox from sticking, but which
> are unrelated to anything in F11.
> 
> Once we've confirmed versions, I can point you to the right places.

I currently have the binary NetworkManager-0.7.996-3.git20090928.fc12.x86_64
installed on my qemu-kvm F12 guest I am using for testing.  The source is 
NetworkManager-0.7.996-3.git20090928.fc12.src.rpm.

I have gotten the problem on both F11 (with current updates) and F12-rawhide 
both as qemu-kvm guests since I can fiddle with the network definitions easier.

I have not worked with koji before but I can give 134947 a try too.  I have my 
F12 build environment on a F12-rawhide-current host and would then transport 
the results to the guests. I am C and C++ "literate" and have modified/built 
many rpms previously.

Although the results on both F11 and F12 are the same, they do act a little 
differently.

On F11 with the default network on eth0 and a private network on eth1, eth1 
becomes the default.

On F12 with the default network on eth0 and a private network on eth1, eth0 
becomes the default and everything is OK.  BUT, if I reverse the network 
definitions (eth0 is a private network and eth1 is the default (NAT) network), 
the it does not work because eth0 still becomes the default.

In all cases, setting the "connection only" checkbox does not stay set.

Question: if the checkbox did work, what parameter in what configuration file is 
suppose to be set?

Gene


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