Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possible to supply two different network configurations (say, by two DHCP servers), so that they are selectable as 2 alternative wired connections in NetworkManager (GNU/Linux)?

The motivation for this question was explained at Two different DHCP configurations selectable in NetworkManager?.

If not DHCP, then: Are there other automatic network configuration discovery protocols that would allow this?

I mean that there should be 2 alternative connections discovered for the same physical wired network.

share|improve this question

closed as off topic by Sven, mdpc, Scott Pack, Ward, Khaled Jan 9 '13 at 7:35

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

I'm not sure I understand the purpose... The purpose of DHCP is to eliminate client-side configuration, right?

That said, you can create a second configuration with Connect automatically unchecked in NetworkManager, or ONBOOT="no" in the interface configuration file. (/etc/sysconfig/network-scripts/ifcfg-<interface>) It becomes selectable in the nm-applet dropdown.

If you want non-administrators to be able to select the connection, choose Available to all users.

share|improve this answer
    
I do not want to enter the configuration on the client side. The wish is analoguous to what we can have with WiFI: there are several selectable wireless networks with their own configurations. Can we similarly supply two alternative configurations in the wired network? They would be two different routing possibilities (chosen by the owner of the connecting device): TOR and non-TOR (normal). –  imz -- Ivan Zakharyaschev Jan 8 '13 at 22:12
    
Ok, so see the second part explaining how to do it. I don't have to understand the purpose, but it will work regardless. –  Aaron Copley Jan 8 '13 at 22:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.