DHCP Range in Network Manager
- From: "Peter Foulkes" <peter foulkes nilpanic co uk>
- To: <networkmanager-list gnome org>
- Subject: DHCP Range in Network Manager
- Date: Tue, 23 Mar 2010 21:41:43 -0000
On Tue, 2009-09-22 at 15:41 -0500, Andy Ringsmuth wrote:
My question is this - the default range IP range dished out by
NetworkManager is 10.42.43.10 to 10.42.43.254.
I would like to change that to 192.168.1.10 to 192.168.1.99 but for
the life of me I cannot figure out what to change to make that happen.
And Dan Williams replied:
Nope, it's currently hardcoded for user-created "shared" networks.
Didn't really see a great need to change it at the time I did connection
sharing last year. Mind sharing your use-case here? I'm curious.
If I wanted to change the hardcoded IP would it just be a case of changing
the single reference to 10.42.43.1 that I can find in src/nm_device.c to the
range to suit my requirements?
...
guint32 start = (guint32) ntohl (0x0a2a2b01); /* 10.42.43.1 */
guint32 count = 0;
...
Thanks,
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]