This is a repost from my previous questions asked in the CentOS DRBL forum, but after seeing how active this forum is I decided to post in here to hopefully gain some more light on the situation.
I am having an issue getting DRBL and Clonezilla to successfully work with multiple VLANS.
Currently, for development and testing purposes, my DRBL machine has two nics:
eth0: WAN
eth1: 10.3.4.61 /24 VLAN 304
The Layout for your DRBL environment:
TheLayoutforyourDRBLenvironment:******************************************************NICNICIPClients+-----------------------------+|DRBLSERVER||+-- [eth0] 10.2.1.58 +- to WAN| ||+-- [eth1] 10.3.4.61 +- to clients group 1 [ 10 clients, their IP | | from 10.3.4.20 - 10.3.4.29]+-----------------------------+******************************************************Totalclients:10******************************************************
After configuring the DRBL server, any client on VLAN 304 works correctly. The problem comes in when I want to use a client on another VLAN, say 302. The client connects to a port on the switch with an ip helper address of the eth1 interface of the DRBL server. This allows the client to PXE boot to the DRBL server. In addition, on the DRBL server, I manually edited the dhcpd.conf file to include the new VLAN 302 range as shown below:
The client successfully PXE boots, gets the the GUI, and is able to select a Linux live boot or restore/clone the machine. However, once this selection is made, I am getting the error "failed to mount root filesystem" . The options are to check the nic driver, the firewall rules, the hosts.allow and hosts.deny files, and make sure the client host name is resolvable from the drbl server.
I know the nic driver is fine because this same machine will work on the native vlan. In addition, the hosts.allow and hosts.deny are empty. I have also temporarily disabled the firewall
I am assuming the reason this is happening is because when I initially configured DRBL, I only used 1 nic on the LAN which probably generated some kind of file that only allows clients on that subnet to mount the root file system. The problem is, I am having a hard time locating which other files to manually edit to get this to work. I know I can get around this issue by adding multiple nics to the box and reconfiguring drbl, but what if I want DRBL to work across hundred of VLANS and only want to use one nic? I only plan on utilizing a few VLANS, but I would like to get by with using one nic.
Thanks,
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
This is a repost from my previous questions asked in the CentOS DRBL forum, but after seeing how active this forum is I decided to post in here to hopefully gain some more light on the situation.
https://sourceforge.net/projects/drbl/forums/forum/394007/topic/4616684/index/page/1
I am having an issue getting DRBL and Clonezilla to successfully work with multiple VLANS.
Currently, for development and testing purposes, my DRBL machine has two nics:
eth0: WAN
eth1: 10.3.4.61 /24 VLAN 304
The Layout for your DRBL environment:
After configuring the DRBL server, any client on VLAN 304 works correctly. The problem comes in when I want to use a client on another VLAN, say 302. The client connects to a port on the switch with an ip helper address of the eth1 interface of the DRBL server. This allows the client to PXE boot to the DRBL server. In addition, on the DRBL server, I manually edited the dhcpd.conf file to include the new VLAN 302 range as shown below:
The client successfully PXE boots, gets the the GUI, and is able to select a Linux live boot or restore/clone the machine. However, once this selection is made, I am getting the error "failed to mount root filesystem" . The options are to check the nic driver, the firewall rules, the hosts.allow and hosts.deny files, and make sure the client host name is resolvable from the drbl server.
I know the nic driver is fine because this same machine will work on the native vlan. In addition, the hosts.allow and hosts.deny are empty. I have also temporarily disabled the firewall
I am assuming the reason this is happening is because when I initially configured DRBL, I only used 1 nic on the LAN which probably generated some kind of file that only allows clients on that subnet to mount the root file system. The problem is, I am having a hard time locating which other files to manually edit to get this to work. I know I can get around this issue by adding multiple nics to the box and reconfiguring drbl, but what if I want DRBL to work across hundred of VLANS and only want to use one nic? I only plan on utilizing a few VLANS, but I would like to get by with using one nic.
Thanks,
Rob
I have replied in your previous post, so let's continue discuss in
https://sourceforge.net/projects/drbl/forums/forum/394007/topic/4616684/index/page/1
Steven.