Network with Static Configuration
-
Are you able to get a DHCP lease from a client machine on the same vlan/subnet as the DHCP server?
-
Yes I was getting IP lease on the same VLAN of my DHCP, but not on the other vlans.
Anything we could do ?
Below is my dhcpd.conf:DHCP Server Configuration file.
see /usr/share/doc/dhcp*/dhcpd.conf.sample
This file was created by FOG
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 10.225.161.29;subnet 10.225.161.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.224;
range dynamic-bootp 10.225.161.25 10.225.161.28;
default-lease-time 21600;
max-lease-time 43200;option domain-name-servers x.x.x.x;
option routers x.x.x.x;
filename "pxelinux.0";
}
-
You need to enable DHCP Relay (IP Helper) in all your VLAN aware switches.
From [url]http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:Ch08:_Configuring_the_DHCP_Server#Using_a_Single_DHCP_Server_to_Serve_Multiple_Networks[/url]
[QUOTE]
[LEFT][FONT=sans-serif][COLOR=#000000]As stated before, DHCP clients send their requests for IP addresses to a broadcast address which is limited to the local LAN. This would imply that a DHCP server is required on each subnet. Not so. It is possible to configure routers to forward DHCP requests to a DHCP server many hops away. This is done by inserting the IP address of the router’s interface on the DHCP client’s network into the forwarded packet. To the DHCP server, the non-blank router IP address field takes precedence over the broadcast address and it uses this value to provide a DHCP address that is meaningful to the client. The DHCP server replies with a broadcast packet, and the router, which has kept track of the initial forwarded request, forwards it back towards the client. You can configure this feature on Cisco devices by using the ip helper-address command on all the interfaces on which DHCP clients reside. Here is a configuration sample that points to a DHCP server with the IP address 192.168.36.25:[/COLOR][/FONT][/LEFT]
[CODE]interface FastEthernet 2/1
ip address 192.168.1.30 255.255.255.0
ip helper-address 192.168.36.25[/CODE]
[/QUOTE] -
Let me check on this, I think this could be a big problem for me… actually I’m working at the airport I believe our network are very complicated and requesting some changes with the switch would take a lot of debate. But let try, I have to check to my boss if we could make such request. Thank you so much for answering all my queries, highly appreciated.
I might be posting more questions please be patient with with me cheers !
-
Hi,
I tried to create and imaged but after it finished, I got and error " FTP connection to Storage Server has failed! "
I am just using the default user group. Any advice please. -
Are you using a single FOG server or a Normal server plus one or more FOG servers installed in storage mode?
-
Just one server, currently using the default storage management.
Config.php below:
PXE_IMAGE_DNSADDRESS", “” );
define( “STORAGE_HOST”, “10.225.161.29” );
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “lounge” );
define( “STORAGE_DATADIR”, “/images/” );
define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
define( “UPLOADRESIZEPCT”, 5 );
define( “WEB_HOST”, “10.225.161.29” );
define( “WEB_ROOT”, “/fog/” );
define( “WOL_HOST”, “10.225.161.29” );
define( “WOL_PATH”, “/fog/wol/wol.php” );
define( “WOL_INTERFACE”, “eth0” );
define( “SNAPINDIR”, “/opt/fog/snapins/” );
define( “QUEUESIZE”, “10” );
define( “CHECKIN_TIMEOUT”, 600 );
define( “MYSQL_HOST”, “localhost” );
define( “MYSQL_DATABASE”, “fog” );
define( “MYSQL_USERNAME”, “root” );
define( “MYSQL_PASSWORD”, “lounge” );
define( “DB_TYPE”, “mysql” );
define( “DB_HOST”, MYSQL_HOST );
define( “DB_NAME”, MYSQL_DATABASE );
define( “DB_USERNAME”, MYSQL_USERNAME );
define( “DB_PASSWORD”, MYSQL_PASSWORD );
define( “DB_PORT”, null );Do i have to edit any setting for storage node ? any config.php?
My default storage node
[SIZE=4][B]FOG Storage Nodes[/B][/SIZE]FOG_STORAGENODE_MYSQLUSER
FOG_STORAGENODE_MYSQLPASS -
When you installed Linux, did you create the fog user or let the installfog.sh file create it? You may have to go through the password synchronization steps on the wiki to get the fog username and password fixed for all the different places it’s used.
-
I let installfog.sh create it …I have check all password synchronization on wiki and follow it thoroughly but still this problem persist. Only thing I am not sure about is the fog storage node, If I have to change anything because I am using the default storage node, as of now it is still on default, (it is using different password).
Can you let me know if I have to change the FOG_STORAGENODE_MYSQLPASS, same as my MYSQL root password?
[INDENT]FOG_STORAGENODE_MYSQLUSER
FOG_STORAGENODE_MYSQLPASS[/INDENT] -
In the FOG web interface, go to Storage Management, All Storage Nodes, and click on the DefaultMember. Make sure the Management Password is set to the same password as the fog user in the OS, which appears to be “lounge” based on your config.php file you posted.
-
You got this right on target !! Thanks a lot !
Now my server is working I was able to upload and deploy images. I have my images in XP.
Now I have to try doing my Windows 7 Image. Hope not to face any issues.
Again, thanks you so much for the help ! Cheers !