Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Hi Troopy, If your interface is configured on the 10.0.2.0/24 subnet, and you want to lease out the 10.0.1.0/24 subnet, then you should configure both in your DHCP server config. For the 10.0.2.0/24 subnet on which you do not want to lease, do not specify any DHCP least start/stop IPs, while for the 10.0.1.0/24 subnet on which you do want to lease, do specify the start/stop IPs. No need to work-around with 10.0.0.0/8 -- Marat - Original Message - From: "Troopy ." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Marat Nepomnyashy" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, September 05, 2007 1:16 AM Subject: Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!" Thanks for your mail the think is i can perfectly need a subnet lease outside my interface subnet. This is a very frequent scenario. (And this is why you set dhcp relay functionnalities !) I can have 10.0.2.1/24 as my interface and a subnet lease of 10.0.1.0/24. As a workaround, i have to do change to dhcp subnet declaration from 10.0.2.0/24 to 10.0.0.0/8. ethernet eth0 address:10.0.1.1 prefix:24 dhcp server subnet 10.0.0.0/8 (if subnet = 10.0.2.0/24, it doesn't work) start 10.0.2.1 stop 10.0.2.255 REgards Troopy -- Original Message -- From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> Date: Tue, 4 Sep 2007 11:51:45 -0700 > >Hi Troopy, > >We took the 'exclude' command out as it is not supported by the ISC DHCP >server that we are using. The ISC people recommend configuring multiple >DHCP lease ranges around the IPs you want to exclude. > >As far as interfaces, the ISC DHCP server will automatically determine the >correct interface based on the DHCP lease subnet and the subnets configured >on the available system interfaces. If you get a message "not configured >to >listen on any interfaces" from the DHCP server, that means that the DHCP >server was not able to match any one of the available system interfaces >because none of the subnets the interfaces were configured on included the >DHCP lease subnet. You should then configure one of the system interfaces >to include the DHCP lease subnet to fix this error, which is what you did. > >A new DHCP server config file is generated by Vyatta each time a new DHCP >server configuration is committed from Vyatta. The generated file is >'/opt/vyatta/etc/dhcpd.conf'. > >-- Marat > > >- Original Message - >From: "Troopy ." <[EMAIL PROTECTED]> >To: "Marat Nepomnyashy" <[EMAIL PROTECTED]>; >; <[EMAIL PROTECTED]> >Sent: Tuesday, September 04, 2007 1:08 AM >Subject: Re: [Vyatta-users] DHCP: "not configured to listen on any >interfaces!" > > > > >Hello, > >Concerning the message > >>not configured to listen on any interfaces! > >i configure an IP address on an interface and it's working now > >But i still don't see the exclude command. > >Thanks > >Troopy > >-- Original Message -- >From: "Troopy ." <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >Date: Tue, 4 Sep 2007 09:52:08 +0200 > >> >> >>Hello, >> >>I am sorry i have another question. >>This time not a stupid one (i hope) >> >>I don't find the dhcp exclude command too. >> >>This time i am looking at the right place, i am at the dhcp subnet level >>and cannot >> see the set exclude command. i can see everything like >> domain-name,start,default-router but not exclude >> >>second thing when i just confiugure the dhcp shared-network-name and the >>subnet,i have the following thing: >> >>not configured to listen on any interfaces! >> >>Did i miss something, >>i could try to play on the Debian and add >> >>DHCPDARGS=eth0 >> >>to the dhcp.conf file but i think this is not a solution >> >>Thanks again >> >>TRoopy >> >> >> >>-- Original Message -- >>From: "Troopy ." <[EMAIL PROTECTED]> >>Reply-To: <[EMAIL PROTECTED]> >>Date: Tue, 4 Sep 2007 08:33:42 +0200 >> >>> >>>Thanks very much >>> >>>We though that "set start" and "set stop" were at the same config level. >>> >>>THANKS again >>> >>>TRoopy >>> >>> >>>-- Original Message -- >>>From: "Marat Nepomnyashy" <[EMAI
Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Thanks for your mail the think is i can perfectly need a subnet lease outside my interface subnet. This is a very frequent scenario. (And this is why you set dhcp relay functionnalities !) I can have 10.0.2.1/24 as my interface and a subnet lease of 10.0.1.0/24. As a workaround, i have to do change to dhcp subnet declaration from 10.0.2.0/24 to 10.0.0.0/8. ethernet eth0 address:10.0.1.1 prefix:24 dhcp server subnet 10.0.0.0/8 (if subnet = 10.0.2.0/24, it doesn't work) start 10.0.2.1 stop 10.0.2.255 REgards Troopy -- Original Message -- From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> Date: Tue, 4 Sep 2007 11:51:45 -0700 > >Hi Troopy, > >We took the 'exclude' command out as it is not supported by the ISC DHCP >server that we are using. The ISC people recommend configuring multiple >DHCP lease ranges around the IPs you want to exclude. > >As far as interfaces, the ISC DHCP server will automatically determine the >correct interface based on the DHCP lease subnet and the subnets configured >on the available system interfaces. If you get a message "not configured to >listen on any interfaces" from the DHCP server, that means that the DHCP >server was not able to match any one of the available system interfaces >because none of the subnets the interfaces were configured on included the >DHCP lease subnet. You should then configure one of the system interfaces >to include the DHCP lease subnet to fix this error, which is what you did. > >A new DHCP server config file is generated by Vyatta each time a new DHCP >server configuration is committed from Vyatta. The generated file is >'/opt/vyatta/etc/dhcpd.conf'. > >-- Marat > > >- Original Message - >From: "Troopy ." <[EMAIL PROTECTED]> >To: "Marat Nepomnyashy" <[EMAIL PROTECTED]>; >; <[EMAIL PROTECTED]> >Sent: Tuesday, September 04, 2007 1:08 AM >Subject: Re: [Vyatta-users] DHCP: "not configured to listen on any >interfaces!" > > > > >Hello, > >Concerning the message > >>not configured to listen on any interfaces! > >i configure an IP address on an interface and it's working now > >But i still don't see the exclude command. > >Thanks > >Troopy > >-- Original Message -- >From: "Troopy ." <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >Date: Tue, 4 Sep 2007 09:52:08 +0200 > >> >> >>Hello, >> >>I am sorry i have another question. >>This time not a stupid one (i hope) >> >>I don't find the dhcp exclude command too. >> >>This time i am looking at the right place, i am at the dhcp subnet level >>and cannot >> see the set exclude command. i can see everything like >> domain-name,start,default-router but not exclude >> >>second thing when i just confiugure the dhcp shared-network-name and the >>subnet,i have the following thing: >> >>not configured to listen on any interfaces! >> >>Did i miss something, >>i could try to play on the Debian and add >> >>DHCPDARGS=eth0 >> >>to the dhcp.conf file but i think this is not a solution >> >>Thanks again >> >>TRoopy >> >> >> >>-- Original Message -- >>From: "Troopy ." <[EMAIL PROTECTED]> >>Reply-To: <[EMAIL PROTECTED]> >>Date: Tue, 4 Sep 2007 08:33:42 +0200 >> >>> >>>Thanks very much >>> >>>We though that "set start" and "set stop" were at the same config level. >>> >>>THANKS again >>> >>>TRoopy >>> >>> >>>-- Original Message -- >>>From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> >>>Date: Mon, 3 Sep 2007 21:26:47 -0700 >>> >>>> >>>>Hello Troopy, >>>> >>>>The DHCP range stop address is specified under the DHCP range start >>>>address. >>>> >>>>Here's an example of a command to set the start and stop IPs of the DHCP >>>>range leased out on shared network named "dhcp1": >>>> >>>>'set service dhcp-server shared-network-name dhcp1 subnet 192.168.2.0/24 >>>>start 192.168.2.100 stop 192.168.2.200' >>>> >>>> >>>>If you do a 'show service dhcp-server', this is what the output would be: >>>> &
Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Thanks for you quick answer. Perhaps you should remove the exclude command from the VC 2.2 documentation. REgards TRoopy -- Original Message -- From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> Date: Tue, 4 Sep 2007 11:51:45 -0700 > >Hi Troopy, > >We took the 'exclude' command out as it is not supported by the ISC DHCP >server that we are using. The ISC people recommend configuring multiple >DHCP lease ranges around the IPs you want to exclude. > >As far as interfaces, the ISC DHCP server will automatically determine the >correct interface based on the DHCP lease subnet and the subnets configured >on the available system interfaces. If you get a message "not configured to >listen on any interfaces" from the DHCP server, that means that the DHCP >server was not able to match any one of the available system interfaces >because none of the subnets the interfaces were configured on included the >DHCP lease subnet. You should then configure one of the system interfaces >to include the DHCP lease subnet to fix this error, which is what you did. > >A new DHCP server config file is generated by Vyatta each time a new DHCP >server configuration is committed from Vyatta. The generated file is >'/opt/vyatta/etc/dhcpd.conf'. > >-- Marat > > >- Original Message - >From: "Troopy ." <[EMAIL PROTECTED]> >To: "Marat Nepomnyashy" <[EMAIL PROTECTED]>; >; <[EMAIL PROTECTED]> >Sent: Tuesday, September 04, 2007 1:08 AM >Subject: Re: [Vyatta-users] DHCP: "not configured to listen on any >interfaces!" > > > > >Hello, > >Concerning the message > >>not configured to listen on any interfaces! > >i configure an IP address on an interface and it's working now > >But i still don't see the exclude command. > >Thanks > >Troopy > >-- Original Message -- >From: "Troopy ." <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >Date: Tue, 4 Sep 2007 09:52:08 +0200 > >> >> >>Hello, >> >>I am sorry i have another question. >>This time not a stupid one (i hope) >> >>I don't find the dhcp exclude command too. >> >>This time i am looking at the right place, i am at the dhcp subnet level >>and cannot >> see the set exclude command. i can see everything like >> domain-name,start,default-router but not exclude >> >>second thing when i just confiugure the dhcp shared-network-name and the >>subnet,i have the following thing: >> >>not configured to listen on any interfaces! >> >>Did i miss something, >>i could try to play on the Debian and add >> >>DHCPDARGS=eth0 >> >>to the dhcp.conf file but i think this is not a solution >> >>Thanks again >> >>TRoopy >> >> >> >>-- Original Message -- >>From: "Troopy ." <[EMAIL PROTECTED]> >>Reply-To: <[EMAIL PROTECTED]> >>Date: Tue, 4 Sep 2007 08:33:42 +0200 >> >>> >>>Thanks very much >>> >>>We though that "set start" and "set stop" were at the same config level. >>> >>>THANKS again >>> >>>TRoopy >>> >>> >>>-- Original Message -- >>>From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> >>>Date: Mon, 3 Sep 2007 21:26:47 -0700 >>> >>>> >>>>Hello Troopy, >>>> >>>>The DHCP range stop address is specified under the DHCP range start >>>>address. >>>> >>>>Here's an example of a command to set the start and stop IPs of the DHCP >>>>range leased out on shared network named "dhcp1": >>>> >>>>'set service dhcp-server shared-network-name dhcp1 subnet 192.168.2.0/24 >>>>start 192.168.2.100 stop 192.168.2.200' >>>> >>>> >>>>If you do a 'show service dhcp-server', this is what the output would be: >>>> >>>>[EMAIL PROTECTED] show service dhcp-server >>>>> shared-network-name dhcp1 { >>>>> subnet 192.168.2.0/24 { >>>>> start 192.168.2.100 { >>>>> stop: 192.168.2.200 >>>>> } >>>>> } >>>>> } >>>> >
Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Hi Troopy, We took the 'exclude' command out as it is not supported by the ISC DHCP server that we are using. The ISC people recommend configuring multiple DHCP lease ranges around the IPs you want to exclude. As far as interfaces, the ISC DHCP server will automatically determine the correct interface based on the DHCP lease subnet and the subnets configured on the available system interfaces. If you get a message "not configured to listen on any interfaces" from the DHCP server, that means that the DHCP server was not able to match any one of the available system interfaces because none of the subnets the interfaces were configured on included the DHCP lease subnet. You should then configure one of the system interfaces to include the DHCP lease subnet to fix this error, which is what you did. A new DHCP server config file is generated by Vyatta each time a new DHCP server configuration is committed from Vyatta. The generated file is '/opt/vyatta/etc/dhcpd.conf'. -- Marat - Original Message - From: "Troopy ." <[EMAIL PROTECTED]> To: "Marat Nepomnyashy" <[EMAIL PROTECTED]>; ; <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2007 1:08 AM Subject: Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!" Hello, Concerning the message >not configured to listen on any interfaces! i configure an IP address on an interface and it's working now But i still don't see the exclude command. Thanks Troopy -- Original Message -- From: "Troopy ." <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 4 Sep 2007 09:52:08 +0200 > > >Hello, > >I am sorry i have another question. >This time not a stupid one (i hope) > >I don't find the dhcp exclude command too. > >This time i am looking at the right place, i am at the dhcp subnet level >and cannot > see the set exclude command. i can see everything like > domain-name,start,default-router but not exclude > >second thing when i just confiugure the dhcp shared-network-name and the >subnet,i have the following thing: > >not configured to listen on any interfaces! > >Did i miss something, >i could try to play on the Debian and add > >DHCPDARGS=eth0 > >to the dhcp.conf file but i think this is not a solution > >Thanks again > >TRoopy > > > >-- Original Message -- >From: "Troopy ." <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >Date: Tue, 4 Sep 2007 08:33:42 +0200 > >> >>Thanks very much >> >>We though that "set start" and "set stop" were at the same config level. >> >>THANKS again >> >>TRoopy >> >> >>-- Original Message -- >>From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> >>Date: Mon, 3 Sep 2007 21:26:47 -0700 >> >>> >>>Hello Troopy, >>> >>>The DHCP range stop address is specified under the DHCP range start >>>address. >>> >>>Here's an example of a command to set the start and stop IPs of the DHCP >>>range leased out on shared network named "dhcp1": >>> >>>'set service dhcp-server shared-network-name dhcp1 subnet 192.168.2.0/24 >>>start 192.168.2.100 stop 192.168.2.200' >>> >>> >>>If you do a 'show service dhcp-server', this is what the output would be: >>> >>>[EMAIL PROTECTED] show service dhcp-server >>>> shared-network-name dhcp1 { >>>> subnet 192.168.2.0/24 { >>>> start 192.168.2.100 { >>>> stop: 192.168.2.200 >>>> } >>>> } >>>> } >>> >>> >>> >>>Hope this works, let me know if you have any more problems. >>> >>>-- Marat >>> >>>- Original Message - >>>From: "Troopy ." <[EMAIL PROTECTED]> >>>To: >>>Sent: Monday, September 03, 2007 2:53 AM >>>Subject: [Vyatta-users] DHCP settings >>> >>> >>> >>> >>>Hello, >>> >>>We are trying VC2.2 with DHCP settings. >>> >>>We can use set start "ip_address" but not set stop "ip_address", the >>>command >>>is not recognized. (!) >>> >>>When we try to commit with only set start "ip_address", vyatta complains >>>that set stop is not configured >>> >>> >>> >>>Thanks &
Re: [Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Hello, Concerning the message >not configured to listen on any interfaces! i configure an IP address on an interface and it's working now But i still don't see the exclude command. Thanks Troopy -- Original Message -- From: "Troopy ." <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 4 Sep 2007 09:52:08 +0200 > > >Hello, > >I am sorry i have another question. >This time not a stupid one (i hope) > >I don't find the dhcp exclude command too. > >This time i am looking at the right place, i am at the dhcp subnet level and >cannot > see the set exclude command. i can see everything like > domain-name,start,default-router but not exclude > >second thing when i just confiugure the dhcp shared-network-name and the >subnet,i have the following thing: > >not configured to listen on any interfaces! > >Did i miss something, >i could try to play on the Debian and add > >DHCPDARGS=eth0 > >to the dhcp.conf file but i think this is not a solution > >Thanks again > >TRoopy > > > >-- Original Message -- >From: "Troopy ." <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >Date: Tue, 4 Sep 2007 08:33:42 +0200 > >> >>Thanks very much >> >>We though that "set start" and "set stop" were at the same config level. >> >>THANKS again >> >>TRoopy >> >> >>-- Original Message -- >>From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> >>Date: Mon, 3 Sep 2007 21:26:47 -0700 >> >>> >>>Hello Troopy, >>> >>>The DHCP range stop address is specified under the DHCP range start address. >>> >>>Here's an example of a command to set the start and stop IPs of the DHCP >>>range leased out on shared network named "dhcp1": >>> >>>'set service dhcp-server shared-network-name dhcp1 subnet 192.168.2.0/24 >>>start 192.168.2.100 stop 192.168.2.200' >>> >>> >>>If you do a 'show service dhcp-server', this is what the output would be: >>> >>>[EMAIL PROTECTED] show service dhcp-server shared-network-name dhcp1 { subnet 192.168.2.0/24 { start 192.168.2.100 { stop: 192.168.2.200 } } } >>> >>> >>> >>>Hope this works, let me know if you have any more problems. >>> >>>-- Marat >>> >>>- Original Message - >>>From: "Troopy ." <[EMAIL PROTECTED]> >>>To: >>>Sent: Monday, September 03, 2007 2:53 AM >>>Subject: [Vyatta-users] DHCP settings >>> >>> >>> >>> >>>Hello, >>> >>>We are trying VC2.2 with DHCP settings. >>> >>>We can use set start "ip_address" but not set stop "ip_address", the command >>>is not recognized. (!) >>> >>>When we try to commit with only set start "ip_address", vyatta complains >>>that set stop is not configured >>> >>> >>> >>>Thanks >>> >>>The Openmaniak Team, http://www.openmaniak.com >>> >>>We will try to release new tutorials on >>>- DHCP (VC2 was bugged) >>>- BGP (VC2 was bugged) >>>- VRRP authentification (VC2 was bugged) >>>- IPSec (new vc2.2 functionnality) >>> >>> >>>__ >>>Désirez vous une adresse éléctronique @suisse.com? >>>Visitez la Suisse virtuelle sur http://www.suisse.com >>> >>> >>> >>> >>> >>>__ >>>Désirez vous une adresse éléctronique @suisse.com? >>>Visitez la Suisse virtuelle sur http://www.suisse.com >>> >>>___ >>>Vyatta-users mailing list >>>Vyatta-users@mailman.vyatta.com >>>http://mailman.vyatta.com/mailman/listinfo/vyatta-users >>> >>> >> >> >> >>__ >>Désirez vous une adresse éléctronique @suisse.com? >>Visitez la Suisse virtuelle sur http://www.suisse.com >> >> > > > >__ >Désirez vous une adresse éléctronique @suisse.com? >Visitez la Suisse virtuelle sur http://www.suisse.com > >___ >Vyatta-users mailing list >Vyatta-users@mailman.vyatta.com >http://mailman.vyatta.com/mailman/listinfo/vyatta-users > __ Désirez vous une adresse éléctronique @suisse.com? Visitez la Suisse virtuelle sur http://www.suisse.com ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users
[Vyatta-users] DHCP: "not configured to listen on any interfaces!"
Hello, I am sorry i have another question. This time not a stupid one (i hope) I don't find the dhcp exclude command too. This time i am looking at the right place, i am at the dhcp subnet level and cannot see the set exclude command. i can see everything like domain-name,start,default-router but not exclude second thing when i just confiugure the dhcp shared-network-name and the subnet,i have the following thing: not configured to listen on any interfaces! Did i miss something, i could try to play on the Debian and add DHCPDARGS=eth0 to the dhcp.conf file but i think this is not a solution Thanks again TRoopy -- Original Message -- From: "Troopy ." <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> Date: Tue, 4 Sep 2007 08:33:42 +0200 > >Thanks very much > >We though that "set start" and "set stop" were at the same config level. > >THANKS again > >TRoopy > > >-- Original Message -- >From: "Marat Nepomnyashy" <[EMAIL PROTECTED]> >Date: Mon, 3 Sep 2007 21:26:47 -0700 > >> >>Hello Troopy, >> >>The DHCP range stop address is specified under the DHCP range start address. >> >>Here's an example of a command to set the start and stop IPs of the DHCP >>range leased out on shared network named "dhcp1": >> >>'set service dhcp-server shared-network-name dhcp1 subnet 192.168.2.0/24 >>start 192.168.2.100 stop 192.168.2.200' >> >> >>If you do a 'show service dhcp-server', this is what the output would be: >> >>[EMAIL PROTECTED] show service dhcp-server >>> shared-network-name dhcp1 { >>> subnet 192.168.2.0/24 { >>> start 192.168.2.100 { >>> stop: 192.168.2.200 >>> } >>> } >>> } >> >> >> >>Hope this works, let me know if you have any more problems. >> >>-- Marat >> >>- Original Message - >>From: "Troopy ." <[EMAIL PROTECTED]> >>To: >>Sent: Monday, September 03, 2007 2:53 AM >>Subject: [Vyatta-users] DHCP settings >> >> >> >> >>Hello, >> >>We are trying VC2.2 with DHCP settings. >> >>We can use set start "ip_address" but not set stop "ip_address", the command >>is not recognized. (!) >> >>When we try to commit with only set start "ip_address", vyatta complains >>that set stop is not configured >> >> >> >>Thanks >> >>The Openmaniak Team, http://www.openmaniak.com >> >>We will try to release new tutorials on >>- DHCP (VC2 was bugged) >>- BGP (VC2 was bugged) >>- VRRP authentification (VC2 was bugged) >>- IPSec (new vc2.2 functionnality) >> >> >>__ >>Désirez vous une adresse éléctronique @suisse.com? >>Visitez la Suisse virtuelle sur http://www.suisse.com >> >> >> >> >> >>__ >>Désirez vous une adresse éléctronique @suisse.com? >>Visitez la Suisse virtuelle sur http://www.suisse.com >> >>___ >>Vyatta-users mailing list >>Vyatta-users@mailman.vyatta.com >>http://mailman.vyatta.com/mailman/listinfo/vyatta-users >> >> > > > >__ >Désirez vous une adresse éléctronique @suisse.com? >Visitez la Suisse virtuelle sur http://www.suisse.com > > __ Désirez vous une adresse éléctronique @suisse.com? Visitez la Suisse virtuelle sur http://www.suisse.com ___ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users