NetworkManager Default Route

Home » CentOS » NetworkManager Default Route
CentOS 3 Comments

Hello,

Why is it so, that NetworkManager allows, and in several cases I’ve had, defaults to setting default route to several interfaces at the same time?

Had my fair share of problems with how 172.17.62.something interface tries to ask for a DHCP lease from 193.something network. I know I could set never-default to the interfaces, but I shouldn’t have to do it to every machine I had.

Especially bad was the situation when I had two VLANs and a normal ethernet interface, and dhclient tried to ask a lease for the ethernet over the VLAN.

Best regards,

3 thoughts on - NetworkManager Default Route

  • How about disabling network manager and using the static ip addresses?

    Eero
    17.3.2016 9.05 ip. “Sander Kuusemets” kirjoitti:

  • Because I /*shouldn’t */have to do that. It comes as a default network management service, so it’s a bit counter-intuitive to have it drop the connection every few hours.

    And some parts of it are actually pretty good (nmcli -p con show).

  • It does what the operators of the networks tell it to do.

    Specifically why is that wrong? If the interface is physically attached to broadcast domain where a DHCP server provides information for
    193.something, then presumably that is the information that the client should use.

    Well, the way you would avoid configuring every client would be to offer consistent information from DHCP.

    Do you mean tagged VLANs? What you’re describing shouldn’t be possible. If the client doesn’t know about a tagged VLAN, it can’t transmit a tagged packet containing a DHCP request.

    If that’s not what you’re describing, the problem really isn’t clear.

LEAVE A COMMENT