Re: [Vyatta-users] Custom DHCP options

2008-03-25 Thread Joe Pub
Just to let all mailing list users following this.  This discussion
has now been moved to
http://www.vyatta.org/forum/viewtopic.php?p=528#528


On 25/03/2008, Dave Roberts <[EMAIL PROTECTED]> wrote:
> > Yea, I was considering editing dhcpd.conf directly, but was
>  > hoping the CLI would incorporate directly.
>
>
> File a bug in Bugzilla (bugzilla.vyatta.com) describing what you want. If
>  there is a need, we'll certainly incorporate it.
>
>  Also, we should move this dicussion over to the forums. The email list is
>  going to be shut down for good real soon now.
>
>
>  -- Dave
>
>
>  ___
>  Vyatta-users mailing list
>  Vyatta-users@mailman.vyatta.com
>  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] Custom DHCP options

2008-03-25 Thread Dave Roberts
> Yea, I was considering editing dhcpd.conf directly, but was 
> hoping the CLI would incorporate directly.

File a bug in Bugzilla (bugzilla.vyatta.com) describing what you want. If
there is a need, we'll certainly incorporate it.

Also, we should move this dicussion over to the forums. The email list is
going to be shut down for good real soon now.

-- Dave

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] Custom DHCP options

2008-03-25 Thread Aubrey Wells
You could modify the perl script that creates the dhcpd.conf file and  
add the custom commands for you. Doesn't exactly give you the  
flexability you want from the OFR, but it at least will keep you from  
having to keep everything in sync by hand.

/opt/vyatta/sbin/dhcpd-config.pl

If you dont know enough perl, let me know and I can probably help you  
out.

--
Aubrey Wells
Senior Engineer
Shelton | Johns Technology Group
A Vyatta Ready Partner
www.sheltonjohns.com





On Mar 25, 2008, at 5:22 AM, Joe Pub wrote:
> Yea, I was considering editing dhcpd.conf directly, but was hoping the
> CLI would incorporate directly.
>
> Is there a way that I can edit the dhcpd.conf after the OFR has
> written it then restart dhcpd.conf automatically during boot?
>
> On 24/03/2008, Matt Watson <[EMAIL PROTECTED]> wrote:
>> I don;t think you can do this...
>>
>> I tried doing it before but I didn;t have much luck... i wanted to  
>> set tftp-server-name so that i could specifcy the TFTP server for  
>> my SIP phones to download their config from.
>>
>> The problem isn;t the lack of functionality in the DHCP server, the  
>> problem is Vyatta's CLI's inability to configure the options.   
>> Vyatta is basically just creating a dhcpd.conf file based on your  
>> vyatta config... one "hack" I did to fix this probably temporarly  
>> is to not include any dhcp config in the vyatta config... then i  
>> configured dhcpd.conf myself with the options I wanted...  
>> unfortunatly this method means that OFR doesn't automatically start  
>> the dhcp server at bootup... hence why its only a temporary  
>> solution for me...
>>
>> One thing i;m considering doing is setting up dhcp relay to trying  
>> to centralize all of my dhcp servers... but it would be very nice  
>> if OFR allowed you to specify arbitrary options
>>
>> I was actually extremely surprised when i discovered i couldn';t  
>> set tftp-server-name through OFR... given how common TFTP is for IP  
>> phones... and considering that Vyatta is partnered with Digium -  
>> the author of Asterisk PBX - http://www.vyatta.com/partners/index.php
>>
>>
>> --
>> Matt
>>
>> 
>> From: [EMAIL PROTECTED] [EMAIL PROTECTED] 
>> ] On Behalf Of Joe Pub [EMAIL PROTECTED]
>> Sent: Thursday, March 20, 2008 11:59 AM
>> To: vyatta-users@mailman.vyatta.com
>> Subject: [Vyatta-users] Custom DHCP options
>>
>>
>> Hi,
>>
>> Is there a way in the OFR to add custom DHCP options to the DHCP
>> server?  If not what will be the best way for me to accomplish this  
>> on
>> vc3?
>>
>> Thanks.
>>
>> ___
>> Vyatta-users mailing list
>> Vyatta-users@mailman.vyatta.com
>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>> ___
>> Vyatta-users mailing list
>> Vyatta-users@mailman.vyatta.com
>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>>
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] Custom DHCP options

2008-03-25 Thread Joe Pub
Yea, I was considering editing dhcpd.conf directly, but was hoping the
CLI would incorporate directly.

Is there a way that I can edit the dhcpd.conf after the OFR has
written it then restart dhcpd.conf automatically during boot?

On 24/03/2008, Matt Watson <[EMAIL PROTECTED]> wrote:
> I don;t think you can do this...
>
>  I tried doing it before but I didn;t have much luck... i wanted to set 
> tftp-server-name so that i could specifcy the TFTP server for my SIP phones 
> to download their config from.
>
>  The problem isn;t the lack of functionality in the DHCP server, the problem 
> is Vyatta's CLI's inability to configure the options.  Vyatta is basically 
> just creating a dhcpd.conf file based on your vyatta config... one "hack" I 
> did to fix this probably temporarly is to not include any dhcp config in the 
> vyatta config... then i configured dhcpd.conf myself with the options I 
> wanted... unfortunatly this method means that OFR doesn't automatically start 
> the dhcp server at bootup... hence why its only a temporary solution for me...
>
>  One thing i;m considering doing is setting up dhcp relay to trying to 
> centralize all of my dhcp servers... but it would be very nice if OFR allowed 
> you to specify arbitrary options
>
>  I was actually extremely surprised when i discovered i couldn';t set 
> tftp-server-name through OFR... given how common TFTP is for IP phones... and 
> considering that Vyatta is partnered with Digium - the author of Asterisk PBX 
> - http://www.vyatta.com/partners/index.php
>
>
>  --
>  Matt
>
>  
>  From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Joe Pub [EMAIL 
> PROTECTED]
>  Sent: Thursday, March 20, 2008 11:59 AM
>  To: vyatta-users@mailman.vyatta.com
>  Subject: [Vyatta-users] Custom DHCP options
>
>
>  Hi,
>
>  Is there a way in the OFR to add custom DHCP options to the DHCP
>  server?  If not what will be the best way for me to accomplish this on
>  vc3?
>
>  Thanks.
>
> ___
>  Vyatta-users mailing list
>  Vyatta-users@mailman.vyatta.com
>  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>  ___
>  Vyatta-users mailing list
>  Vyatta-users@mailman.vyatta.com
>  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users