Yes, background image is different issue I have learned from previous problem. Again, thank you for your helping with this netmask and IP range problem. Without your help I probably go crazy, LOL.
Posts made by onenetwork
-
RE: how to change netmask and ip range?
-
RE: how to change netmask and ip range?
Thank you Wayne Workman, it’s working now. also, thank you Quazz.
After copy instruction provided by Wayne Workman, changed boot to Grub style and command out /var/www/fog/lib/fog/BootMenu.class.php line 696 booturl/ipxe/bg.png it is now working perfect. This is awesome! -
RE: how to change netmask and ip range?
@Wayne-Workman said in how to change netmask and ip range?:
@onenetwork there is, and it’s easy. I’m not at a computer at the moment - but when I am, I can easily construct a dhcpd.conf file that is exactly what you need - along with changes so fog 1.2.0 no longer overwrites the file. I’ll get it together sometime tonight for you.
Awesome!
-
RE: how to change netmask and ip range?
so there is no way to fix client IP and netmask at all?
is there a file some where i can edit before update so it can bypass this? thanks all, i really need this to work. -
RE: how to change netmask and ip range?
@Wayne-Workman said in how to change netmask and ip range?:
@onenetwork On your server, what is the output of
ip addr show
?fog@ubuntu:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:19:61:5c:da brd ff:ff:ff:ff:ff:ff inet 204.10.185.68/27 brd 204.10.185.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe50::40c:49ff:fe61:6cda/64 scope link valid_lft forever preferred_lft forever fog@ubuntu:~$
thanks
Mod edited to use code box.
-
RE: how to change netmask and ip range?
@Quazz said in how to change netmask and ip range?:
@onenetwork FOG should no longer overwrite your dhcp config with those settings to off. Is that not the case for you?
The submask value is located in the .fogsettings file, (along with other info such as routers and what not) which FOG will use to build the DHCP config (if you’re allowing it to control DHCP)
Sorry to say I can’t find anything related to submask or IP range locate in the .fogsettings files. I try to change routeraddress to 255.255.255.224 or 204.10.x.65(gateway) and it not working.
By the way I’m using fog server 1.2.0 -
RE: how to change netmask and ip range?
@Quazz said in how to change netmask and ip range?:
@onenetwork You might have to set dodhcp to N as well.
Or you could alter the submask= value to try and let FOG handle it.
Still not work after edited dodhcp to “N”. What do you mean alter the submask= value, where and how?
Thanks -
RE: how to change netmask and ip range?
@Quazz said in how to change netmask and ip range?:
Edit /opt/fog/.fogsettings and set blddhcp to 0 so it doesn’t generate a DHCP file and your changes remain.
Btw 255.255.255.254 would make it so only one ip is on the entire subnet, just so you know.
Thank you Quazz for your answered. The problem is still there after I edit /opt/fog/.fogsettings and set blddhcp to 0. Everytime I reinstall it changed Client IP back to: 204.10.x.10 and netmask 255.255.255.0
My fog server is 204.10.x.68 and only able to use IP 204.10.x.66 to 204.10.x.192, I can’t use 204.10.x.10 as it was assigned to other switch. I hope someone could help. -
how to change netmask and ip range?
hey guys, where can i change client IP range, say from 204.10.x.10 - 204.10.x.254 — to — 204.10.x.50 - 204.10.x.254?
also, where can i change netmask from 255.255.255.0 — to — 255.255.255.224?
please see the photo.
i use ubuntu 14.04 and edit the etc/dhcp/dhcpd.conf but it keep changing back to 255.255.255.0 from 255.255.255.224 everytime i reinstall. thanks in advance.