|
From: Luca I. <sec...@ho...> - 2013-04-12 23:23:49
|
Hello, I have a Devil machine with 3 subnets, 192.168.2.0 to ISP modem eth0192.168.0.0 office eth1192.168.1.0 school eth2 At present the DHCP server is only serving the school network, set up via the devil interface. I would like, however, the DHCP server to server the office subnet too. The interface does not allow for the setting up of two subnets, so I edited the /etc/dhcpd.conf by adding the subnet in question, as well as the I office /etc/sysconfig/nic/office-eth by setting the DHCP entry on server too. Strangely enough it does not seem to be working. I should be grateful if you could provide any help at all.many thanks Luca |
|
From: Nick <kyn...@gm...> - 2013-04-13 07:40:21
|
Do not edit the /etcdhcpd.conf file, it will not make an affect on your subnets. And any ways why do u need another subnet. Sent from my iPad On Apr 12, 2013, at 7:23 PM, Luca Iacono <sec...@ho...> wrote: > Hello, > > I have a Devil machine with 3 subnets, > > 192.168.2.0 to ISP modem eth0 > 192.168.0.0 office eth1 > 192.168.1.0 school eth2 > > At present the DHCP server is only serving the school network, set up via the devil interface. > I would like, however, the DHCP server to server the office subnet too. The interface does not allow for the setting up of two subnets, so I edited the /etc/dhcpd.conf by adding the subnet in question, as well as the I office /etc/sysconfig/nic/office-eth by setting the DHCP entry on server too. > > Strangely enough it does not seem to be working. I should be grateful if you could provide any help at all. > many thanks > > Luca > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |
|
From: Maria P. <mar...@gm...> - 2013-04-13 08:33:48
|
la, 2013-04-13 kello 01:23 +0200, Luca Iacono kirjoitti: > Hello, > > > I have a Devil machine with 3 subnets, > > > 192.168.2.0 to ISP modem eth0 > 192.168.0.0 office eth1 > 192.168.1.0 school eth2 > > > At present the DHCP server is only serving the school network, set up > via the devil interface. > I would like, however, the DHCP server to server the office subnet > too. The interface does not allow for the setting up of two subnets, > so I edited the /etc/dhcpd.conf by adding the subnet in question, as > well as the I office /etc/sysconfig/nic/office-eth by setting the DHCP > entry on server too. > > > Strangely enough it does not seem to be working. I should be grateful > if you could provide any help at all. > many thanks > > Luca Take a look at dnsmasq daemon. It can work as you need. I use it instead of that "traditional" dhcpd. > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ Devil-linux-discuss mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |
|
From: Heiko Z. <he...@zu...> - 2013-04-13 13:48:14
|
Luca, Did you set DHCP=server in the respective ifcfg-xxxx files under /etc/sysconfig/nic ? Best Regards Heiko Zuerker From: Luca Iacono [mailto:sec...@ho...] Sent: Friday, April 12, 2013 6:24 PM To: dev...@li... Subject: [Devil-Linux-discuss] DCHPD serving two subnets on two NICs, same machine Hello, I have a Devil machine with 3 subnets, 192.168.2.0 to ISP modem eth0 192.168.0.0 office eth1 192.168.1.0 school eth2 At present the DHCP server is only serving the school network, set up via the devil interface. I would like, however, the DHCP server to server the office subnet too. The interface does not allow for the setting up of two subnets, so I edited the /etc/dhcpd.conf by adding the subnet in question, as well as the I office /etc/sysconfig/nic/office-eth by setting the DHCP entry on server too. Strangely enough it does not seem to be working. I should be grateful if you could provide any help at all. many thanks Luca |
|
From: Dick M. <di...@fo...> - 2013-04-13 19:06:19
|
On 04/13/13 00:23, Luca Iacono wrote: > Hello, > > I have a Devil machine with 3 subnets, > > 192.168.2.0 to ISP modem eth0 > 192.168.0.0 office eth1 > 192.168.1.0 school eth2 > > Strangely enough it does not seem to be working. I should be grateful if you > could provide any help at all. > many thanks Somehow you have to tell dhcpd which interfaces to listen on. It's best if the interface names are on the command line meaning they must be set in the system start script somehow. On my system the variable DEVICES seems to be the one but I'm not sure how that is set (my dhcp server isn't on Devil). The manual says: The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. This should be done on systems where dhcpd is unable to identify non-broadcast interfaces, but should not be required on other systems. If no interface names are specified on the command line dhcpd will identify all network interfaces which are up, eliminating non-broadcast interfaces if possible, and listen for DHCP broadcasts on each interface. Dick |