Hello!
I use the ‘fog’ system in my work a long time.
I installed 2 ‘vlan’ (172.16.17. * and 172.16.16. *) and use the pfsense.
the fog server works perfectly on network 172.16.17. * with the ip 172.16.17.250
For safety reasons the traffic between the two vlan are blocked.
ie the network 172.16.16. * can not ping the server 172.16.17.250 fog, so far so good.
I created a rule in the 172.16.16 network. * to be able to ping the server to fog (172.16.17.250). problem solved already come to the server fog.
the problem is that the machines of the network 172.16.16. * can not get scheduled tasks on the server fog.
I will show pfsense settings of the network 172.16.17. * It works perfectly.
https://www.dropbox.com/s/secceut2ecwo3fh/imagem 1.png?dl=0
The network 172.16.16. * I can ping the ‘fog’ server with the rule I created this network.
the settings are these
https://www.dropbox.com/s/35c9p14o9oau5ef/imagem 2.png?dl=0
If you schedule a task in fog for a machine connected to the network 172.16.16. * The machine gives error in the DHCP starter ‘ipxe’.
ok I can understand the error. Ie the fog does not assign IP gateway’s because they use different 172.16.16.251 for the network 172.16.16. * And 172.16.17.251 for the network 172.16.17. *
I had an idea then. How have the fire installed in a virtual machine ‘VMWARE’ decided to allocate more a virtual network card to the network 172.16.16.250.
Now the network 172.16.16. * can ping the server and changed the settings for the pfsense
https://www.dropbox.com/s/htducvwark2zgk8/imagem 3.png?dl=0
Now the network machines already assigned IP address.
what happens is that now the machine gives two errors.
PXE-E53: in the boot filename received
PXE-M0F: Exiting Intel Boot Agent
If you change the fog of configurations using browser
https://www.dropbox.com/s/5klswz9r1r3xnkj/imagem 4.png?dl=0
For
https://www.dropbox.com/s/jua2tljgsur9eft/imagem 5.png?dl=0
Does not solve the problem.
settings of my /var/www/fog/lib/fog/Config.class.php file
are
private static function init_setting()
{
define('TFTP_HOST', "172.16.17.250");
define('TFTP_FTP_USERNAME', "fog");
define('TFTP_FTP_PASSWORD', "43df7b");
define('TFTP_PXE_KERNEL_DIR', '/var/www/fog/service/ipxe/');
define('PXE_KERNEL', 'bzImage');
define('PXE_KERNEL_RAMDISK',127000);
define('USE_SLOPPY_NAME_LOOKUPS',true);
define('MEMTEST_KERNEL', 'memtest.bin');
define('PXE_IMAGE', 'init.xz');
define('PXE_IMAGE_DNSADDRESS', "172.16.17.251");
define('STORAGE_HOST', "172.16.17.250");
define('STORAGE_FTP_USERNAME', "fog");
define('STORAGE_FTP_PASSWORD', "43df7b");
define('STORAGE_DATADIR', '/images/');
define('STORAGE_DATADIR_UPLOAD', '/images/dev/');
define('STORAGE_BANDWIDTHPATH', '/fog/status/bandwidth.php');
define('UPLOADRESIZEPCT',5);
define('WEB_HOST', "172.16.17.250");
define('WOL_HOST', "172.16.17.250");
define('WOL_PATH', '/fog/wol/wol.php');
define('WOL_INTERFACE', "eth0");
define('SNAPINDIR', "/opt/fog/snapins/");
define('QUEUESIZE', '10');
define('CHECKIN_TIMEOUT',600); define('USER_MINPASSLENGTH',4);
define('USER_VALIDPASSCHARS', '1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-');
define('NFS_ETH_MONITOR', "eth0");
define('UDPCAST_INTERFACE', "eth0");
define('UDPCAST_STARTINGPORT', 63100 ); // Must be an even number! recommended between 49152 to 65535
define('FOG_MULTICAST_MAX_SESSIONS',64);
define('FOG_JPGRAPH_VERSION', '2.3');
define('FOG_REPORT_DIR', './reports/');
define('FOG_UPLOADIGNOREPAGEHIBER',true);
define('FOG_DONATE_MINING', "0");
It seems to me that the problem might be I have to use 2 DNSADDRESS
define ('PXE_IMAGE_DNSADDRESS “,” 172.16.17.251 "); to a network and 172.16.16.251 for another vlan.
Any idea ?
how I solve the problem?
2vlan is possible for the same fog? with different DNS?