On 04-Aug-10 10:00:32, Mark Rogers wrote:
On 04/08/10 10:44, Adam Bower wrote:
If I want to mangle configuration manually I just tell network manager to disable networking and do whatever I need.
Sounds like that's what I need. But I'm not entirely sure how all the bits fit together.
Do I just right-click on the NM icon and untick "Enable Networking", then go about my business in /etc/network/interfaces, or is there more to it than that?
To me it sounds like you have a reasonably complex setup although I can't necessarily see why it wouldn't work but having a dhcp *and* static setup at the same time really seems a bit... hmmn, well, odd. :)
In my case, it's just that it makes sense to have my "primary" IP address given to me by the office DHCP server - it means we can change settings (eg DNS, etc) globally nice and easily. But I also need to be able to configure hardware which will come in with known default IP addresses, so I will need to be able to reach, for example, 192.168.10.1, regardless of what the rest of the network looks like.
Coming in late on this (and also no expert on all details of network configuration [conflagration?] ... ).
I recall, in the past, having done this sort of setup, but in a way which depends on configuring the DHCP server to *not* hand out IP addresses in a certain range. Addresses in this range can then be used as fixed IP addresses for machines that want them (these having already been configured to use fixed IP and not request dynamic IP from the DHCP server).
So you might exclude 192.168.10.1-50, say, and allow dynamic IPs above this range.
Doing this depends on configuring the DHCP server, so how to do it depends on what is involved in that. Once done, however, for any other machine it is then simply a matter of either configuring it to use a set fixed IP address, or configuring it to request a dynamic one -- and of course from time to time you can switch between these options if need dictates.
Hoping this helps! Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 04-Aug-10 Time: 11:43:45 ------------------------------ XFMail ------------------------------