The following:
$ sudo tcpdump -i vr0 "port bootpc || port bootps" && tcpdump -i sk0 "port
bootpc || port bootps"
$ sudo dhcpd -vf
$ sudo netstat -tan|egrep -i "67|68"
~BAS
On Tue, 12 Jun 2007, Jeff Santos wrote:
Hi,
I am trying to setup a DHCP server on a multi-homed firewall. One of the
interfaces is vr0 and should supply addresses 172.16.255.x/24. The other
is sk0 and should supply 200.232.140.x/24.
My /etc/dhcpd.interfaces looks like
sk0
vr0
My /etc/dhcpd.conf looks like
shared-network LOCAL-NET {
option domain-name-servers 200.232.140.1;
subnet 200.232.140.0 netmask 255.255.255.0 {
option routers 200.232.140.1;
range 200.232.140.20 200.232.140.200;
}
subnet 172.16.255.0 netmask 255.255.255.0 {
option routers 172.16.255.1;
range 172.16.255.20 172.16.255.200;
}
}
Now how can I tell the dhcp server to only allocate 172.16.255
addresses to vr0 and 200.232.140.0 to sk0?
Thank you very much.
Jeff
--
Get a Free E-mail Account at Mail.com!
Choose From 100+ Personalized Domains
Visit http://www.mail.com today
l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
http://www.spiritual-machines.org/
"Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?"
~Maynard James Keenan