Re: "server.conf" ignore-carrier=* Bonding/Bridge DHCP

2014-04-02 Thread Dan Winship
On 04/02/2014 05:18 AM, Thomas Haller wrote:
> ignore-carrier and DHCP does not go well together because NM will start
> doing DHCP on an interface that has no carrier (which will fail). 

No, that's how it originally worked, but in the current version of the
code, ignore-carrier means:

  - You can activate a connection with purely static IP configuration
even when the device doesn't have carrier.

  - If you lose carrier when a connection (static or dynamic) is active,
that connection won't be dropped.

But you can't activate a DHCP connection on an ignore-carrier device if
it doesn't have carrier.

-- Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: "server.conf" ignore-carrier=* Bonding/Bridge DHCP

2014-04-02 Thread Dan Williams
On Wed, 2014-04-02 at 14:06 +0200, poma wrote:
> On 02.04.2014 11:18, Thomas Haller wrote:
> > On Wed, 2014-04-02 at 05:51 +0200, poma wrote:
> >> 'NetworkManager-config-server',
> >> /etc/NetworkManager/conf.d/00-server.conf
> >> ...
> >> # Ignore the carrier (cable plugged in) state when attempting to
> >> # activate static-IP connections.
> >> ignore-carrier=*
> >>
> >> This option tends to break the Bonding andor Bridge DHCP setups.
> >> Is it a bug, or a feature?
> > 
> > 
> > ignore-carrier and DHCP does not go well together because NM will start
> > doing DHCP on an interface that has no carrier (which will fail). 
> > 
> > Probably you don't want to install the NetworkManager-config-server
> > package.
> > 
> > What is the exact problem you are seeing? Can you send some logs
> > (preferable with DEBUG logging enabled)?
> > 
> > 
> > Thomas
> > 
> 
> NetworkManager bridge DHCP & ignore-carrier
> https://bugzilla.redhat.com/show_bug.cgi?id=1083521

Thanks, we'll follow up on it there.  I put a couple questions in the
bug.

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: "server.conf" ignore-carrier=* Bonding/Bridge DHCP

2014-04-02 Thread poma
On 02.04.2014 11:18, Thomas Haller wrote:
> On Wed, 2014-04-02 at 05:51 +0200, poma wrote:
>> 'NetworkManager-config-server',
>> /etc/NetworkManager/conf.d/00-server.conf
>> ...
>> # Ignore the carrier (cable plugged in) state when attempting to
>> # activate static-IP connections.
>> ignore-carrier=*
>>
>> This option tends to break the Bonding andor Bridge DHCP setups.
>> Is it a bug, or a feature?
> 
> 
> ignore-carrier and DHCP does not go well together because NM will start
> doing DHCP on an interface that has no carrier (which will fail). 
> 
> Probably you don't want to install the NetworkManager-config-server
> package.
> 
> What is the exact problem you are seeing? Can you send some logs
> (preferable with DEBUG logging enabled)?
> 
> 
> Thomas
> 

NetworkManager bridge DHCP & ignore-carrier
https://bugzilla.redhat.com/show_bug.cgi?id=1083521


poma


___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: "server.conf" ignore-carrier=* Bonding/Bridge DHCP

2014-04-02 Thread Thomas Haller
On Wed, 2014-04-02 at 05:51 +0200, poma wrote:
> 'NetworkManager-config-server',
> /etc/NetworkManager/conf.d/00-server.conf
> ...
> # Ignore the carrier (cable plugged in) state when attempting to
> # activate static-IP connections.
> ignore-carrier=*
> 
> This option tends to break the Bonding andor Bridge DHCP setups.
> Is it a bug, or a feature?


ignore-carrier and DHCP does not go well together because NM will start
doing DHCP on an interface that has no carrier (which will fail). 

Probably you don't want to install the NetworkManager-config-server
package.

What is the exact problem you are seeing? Can you send some logs
(preferable with DEBUG logging enabled)?


Thomas



signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


"server.conf" ignore-carrier=* Bonding/Bridge DHCP

2014-04-01 Thread poma
'NetworkManager-config-server',
/etc/NetworkManager/conf.d/00-server.conf
...
# Ignore the carrier (cable plugged in) state when attempting to
# activate static-IP connections.
ignore-carrier=*

This option tends to break the Bonding andor Bridge DHCP setups.
Is it a bug, or a feature?


poma


___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list