|
From: Heiko Z. <he...@zu...> - 2013-04-14 14:21:20
|
Luca, What you want to accomplish definitely works with DL, I have that configuration running. The respective ifcfg- files need to be configured with static IP addresses and DHCP=server . All that remains is configuring the dhcpd.conf with the 2 subnets. Are you seeing any errors on the command line or in the syslog? Are you using the command /etc/init.d/network restart to test your changes? Send us your ifcfg and dhcpd.conf files (replace any public IPs you're using), maybe there's a typo somewhere. Best Regards Heiko Zuerker From: Luca Iacono [mailto:sec...@ho...] Sent: Sunday, April 14, 2013 7:00 AM To: dev...@li... Subject: Re: [Devil-Linux-discuss] Devil-linux-discuss Digest, Vol 76, Issue 3 The network has been segmented for obvious reasons, one being security, the names on the nice are quite telling. Now i have the need to serve the office too. thank you luca > From: dev...@li... > Subject: Devil-linux-discuss Digest, Vol 76, Issue 3 > To: dev...@li... > Date: Sat, 13 Apr 2013 19:06:20 +0000 > > Send Devil-linux-discuss mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Devil-linux-discuss digest..." > > > Today's Topics: > > 1. DCHPD serving two subnets on two NICs, same machine (Luca Iacono) > 2. Re: DCHPD serving two subnets on two NICs, same machine (Nick) > 3. Re: DCHPD serving two subnets on two NICs, same machine > (Maria Pinjanainen) > 4. Re: DCHPD serving two subnets on two NICs, same machine > (Heiko Zuerker) > 5. Re: DCHPD serving two subnets on two NICs, same machine > (Dick Middleton) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 13 Apr 2013 01:23:41 +0200 > From: Luca Iacono <sec...@ho...> > Subject: [Devil-Linux-discuss] DCHPD serving two subnets on two NICs, > same machine > To: "dev...@li..." > <dev...@li...> > Message-ID: <DUB...@ph...> > Content-Type: text/plain; charset="iso-8859-1" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Sat, 13 Apr 2013 03:40:14 -0400 > From: Nick <kyn...@gm...> > Subject: Re: [Devil-Linux-discuss] DCHPD serving two subnets on two > NICs, same machine > To: "dev...@li..." > <dev...@li...> > Message-ID: <FF7...@gm...> > Content-Type: text/plain; charset="us-ascii" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Sat, 13 Apr 2013 11:33:36 +0300 > From: Maria Pinjanainen <mar...@gm...> > Subject: Re: [Devil-Linux-discuss] DCHPD serving two subnets on two > NICs, same machine > To: dev...@li... > Message-ID: <1365842016.4258.5.camel@mymmeli> > Content-Type: text/plain; charset="UTF-8" > > 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 > > > > > > > ------------------------------ > > Message: 4 > Date: Sat, 13 Apr 2013 08:47:59 -0500 > From: "Heiko Zuerker" <he...@zu...> > Subject: Re: [Devil-Linux-discuss] DCHPD serving two subnets on two > NICs, same machine > To: <dev...@li...> > Message-ID: <027501ce384d$829eb740$87dc25c0$@zuerker.org> > Content-Type: text/plain; charset="us-ascii" > > 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 > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Sat, 13 Apr 2013 19:48:22 +0100 > From: Dick Middleton <di...@fo...> > Subject: Re: [Devil-Linux-discuss] DCHPD serving two subnets on two > NICs, same machine > To: dev...@li... > Message-ID: <516...@fo...> > Content-Type: text/plain; charset=ISO-8859-1 > > 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 > > > > > > > ------------------------------ > > ---------------------------------------------------------------------------- -- > 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 > > > End of Devil-linux-discuss Digest, Vol 76, Issue 3 > ************************************************** |