Hi,
Yes, There is a Package and it works quite well.
My dhcprelay in /etc/init.d looks like that:
#!/bin/sh
# This shell script takes care of starting and stopping dhcrelay.
RCDLINKS="2,S41 3,S41 6,K41"
# Add interfaces or servers, separated by a space.
ifs="eth1 eth2 eth3 eth4"
servers="172.16.34.254 172.16.34.251"
#port=67
case "$1" in
start)
echo "Starting dhcrelay on $ifs: "
for if in `echo $ifs`; do
ip route append 255.255.255.255 scope host dev $if
ix="-i $if "
i=$i$ix
done
ip route append 255.255.255.255 scope host dev eth0
/usr/sbin/dhcrelay $servers
;;
stop)
echo "Shutting down dhcrelay on $ifs"
pf="/var/run/dhcrelay.pid"
for if in `echo $ifs`; do
ip route del 255.255.255.255 scope host dev $if
ix="-i $if "
i=$i$ix
done
ip route del 255.255.255.255 scope host dev eth0
if [ -r $pf ]; then
kill -INT `cat $pf`
rm $pf
fi
;;
status)
status dhcrelay
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: dhcrelay start|stop|restart|status"
exit 1
esac
exit 0
You have to set the Hostroutes to enable the Broadcastrouting on your
Relay interfaces. The Version is a 2.0 and compiled for an 2.2 Kernel ,
but works fine with 2.4 Kernels. I think the one listed on monkeydoodle.
Regards Helfried Behrendt
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Samuel Abreu
Sent: Thursday, January 16, 2003 10:28 PM
To: [EMAIL PROTECTED]
Subject: [leaf-user] Dhcp relay - Howto?
Hi all,
I wish to know more about dhcp relay??? exist how i put a leaf (Bering
more
specific) box to do the dhcp relay??? There's a package?? Or it's some
config?
Thanks! =)
Ps: With the recent advisory for dhcpd, the leaf dhcpd server is
affected by
the vulnerability?? or better, what's the version of the dhcpd in
dhcpd.lrp
package?
Samuel Abreu
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by
implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html