On 2011-11-09, Antoine Jacoutot <[email protected]> wrote:
> On Wed, Nov 09, 2011 at 05:36:54PM +0100, Comhte wrote:
>> Hi,
>> 
>> In 4.9, i used to start dhcrelay using /etc/rc.local like this:
>> 
>> /usr/sbin/dhcrelay -i vlan2 10.0.45.11
>> /usr/sbin/dhcrelay -i vlan5 10.0.45.11
>> /usr/sbin/dhcrelay -i vlan7 10.0.45.11
>> /usr/sbin/dhcrelay -i vlan100 10.11.1.8 10.22.1.8
>> /usr/sbin/dhcrelay -i vlan101 10.11.1.8 10.22.1.8
>> 
>> but now with 5.0, i saw that there was a script /etc/rc.d/dhcrelay
>> 
>> so, what is now the best way to set up all my dhcp relays ?
>
> You can still use rc.local(8) for that, it's easier when you have multiple 
> dhcrelay running.
>

FWIW, the same goes if you want to run ftp-proxy for both v4 and v6.

Reply via email to