grml-terminalserver-config fails when multiple networks are present #4
Labels
grml-release
Grml ISO release specific issues
help-wanted
Lack of resources, please contribute if it's important for you
I tried to run grml-terminalserver from 2017.05 in a virtualbox-5.2. The first network interface presented to grml was configured to NAT the hosts network. The second network was a usb network adapter (in my case a Lenovo USB3 with RTL8153, driver rmmod'ed on host) forwarded in the VM. My intention was to use the first (NAT) network to get internet, the second (usb) network for pxe-boot clients.
What I would have expected:
I would have expected to be asked which interface to use for the pxe-clients, configure the interface (if not already up) choose a dhcp client IP range and the boot (image) options.
What happened instead:
I was asked, as expected, which interface to use. I was then asked to configure both interfaces with IP, netmask, broadcast, default gateway, DNS server. Setting that configuration failed, I was unable to proceed to the configuration of the DHCP server.
Initial analysis:
(a) netcardconfig starts with running "ifdown $DV" (line 171), which fails since the device is neither configured in /etc/network/interface nor up.
(b) I do not understand how the endless loop in grml-terminalserver-config (lines 161 to 167) is supposed to be terminated. If I comment out the loop, it works for me
(c) the default configuration suggested by grml-terminalserver-config does not work for me. in the default, it suggest a default gateway for my second interface, which results in getting "RTNETLINK answers: File exists" since it is not useful to have two default gateways, so I need to skip the second default gateway (may be part of the problem)
(d) the default client ip range (to be put into the dnsmasq configuration) is suggested without regard for the configuration of the network interface. imo, the default should be chosen from INSIDE the network range of the configured interface
The text was updated successfully, but these errors were encountered: