DHCP and MAC addresses

2008-10-27 Thread Odhiambo Washington
Hello List,

Suppose I have 100 Desktops, and I want my DHCP server to _only_
assign IP addresses to these hosts, using MAC addresses, is there a
way to tell the DHCP server to NOT assign any IP address to a machine
whose MAC address it doesn't know?
I don't want any computer being plugged onto my LAN and getting/using
resources without my knowledge. Just some level of paranoia:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Odhiambo Washington
On Mon, Oct 27, 2008 at 3:53 PM, Deian Popov [EMAIL PROTECTED] wrote:
 Hello,
 try deny unknown-clients; and may be boot-unknown-clients false; in
 dhcpd.conf

Hi Deian,

You guys are great!

Thank you very much.

One response I got off list was that I could use deny
unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
is there another dhcp server for FreeBSD in the ports tree, or outside
it?

BTW, why did you delete the b from your name?:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Valentin Bud
On Mon, Oct 27, 2008 at 2:12 PM, Odhiambo Washington [EMAIL PROTECTED]wrote:

 On Mon, Oct 27, 2008 at 3:53 PM, Deian Popov [EMAIL PROTECTED] wrote:
  Hello,
  try deny unknown-clients; and may be boot-unknown-clients false; in
  dhcpd.conf

 Hi Deian,

 You guys are great!

 Thank you very much.

 One response I got off list was that I could use deny


Sorry for the off list response. It's my mistake of pressing Reply instead
of Reply All,
like i did now.

all the best,
v


 unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
 is there another dhcp server for FreeBSD in the ports tree, or outside
 it?

 BTW, why did you delete the b from your name?:-)


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
 Oh My God! They killed init! You Bastards!
--from a /. post
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Deian Popov
Hello,

try deny unknown-clients; and may be boot-unknown-clients false; in
dhcpd.conf

Deian

On Mon, Oct 27, 2008 at 2:04 PM, Odhiambo Washington [EMAIL PROTECTED]wrote:

 Hello List,

 Suppose I have 100 Desktops, and I want my DHCP server to _only_
 assign IP addresses to these hosts, using MAC addresses, is there a
 way to tell the DHCP server to NOT assign any IP address to a machine
 whose MAC address it doesn't know?
 I don't want any computer being plugged onto my LAN and getting/using
 resources without my knowledge. Just some level of paranoia:-)


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
 Oh My God! They killed init! You Bastards!
--from a /. post
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Odhiambo Washington
On Mon, Oct 27, 2008 at 4:16 PM, Valentin Bud [EMAIL PROTECTED] wrote:


 On Mon, Oct 27, 2008 at 2:12 PM, Odhiambo Washington [EMAIL PROTECTED]
 wrote:

 On Mon, Oct 27, 2008 at 3:53 PM, Deian Popov [EMAIL PROTECTED] wrote:
  Hello,
  try deny unknown-clients; and may be boot-unknown-clients false; in
  dhcpd.conf

 Hi Deian,

 You guys are great!

 Thank you very much.

 One response I got off list was that I could use deny

 Sorry for the off list response. It's my mistake of pressing Reply instead
 of Reply All,
 like i did now.

It wasn't a mistake. As a matter of fact, you can decide to reply to
the poster or to the list. I appreciate your response anyway.
What I was asking, out of curiosity, is whether there is an
alternative to isc-dhcpd-server on FreeBSD.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DHCP and MAC addresses

2008-10-27 Thread Bob McConnell
On Behalf Of Odhiambo Washington
 
 One response I got off list was that I could use deny
 unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
 is there another dhcp server for FreeBSD in the ports tree, or outside
 it?

I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
that works well on small private networks. I don't know if it runs on
BSD.

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Erik Trulsson
On Mon, Oct 27, 2008 at 09:58:36AM -0400, Bob McConnell wrote:
 On Behalf Of Odhiambo Washington
  
  One response I got off list was that I could use deny
  unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
  is there another dhcp server for FreeBSD in the ports tree, or outside
  it?
 
 I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
 that works well on small private networks. I don't know if it runs on
 BSD.

It is available in the ports tree as ports/dns/dnsmasq




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread en0f
Bob McConnell wrote:
 On Behalf Of Odhiambo Washington
 One response I got off list was that I could use deny
 unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
 is there another dhcp server for FreeBSD in the ports tree, or outside
 it?
 
 I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
 that works well on small private networks. I don't know if it runs on
 BSD.

Same here. I've used it on DebianUbuntu without any problem on home network 
and as Bob mentioned it talks both DNS and DHCP.

-- 
en0f
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Duane Hill

On Tue, 28 Oct 2008, en0f wrote:


Bob McConnell wrote:

On Behalf Of Odhiambo Washington

One response I got off list was that I could use deny
unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
is there another dhcp server for FreeBSD in the ports tree, or outside
it?


I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
that works well on small private networks. I don't know if it runs on
BSD.


Same here. I've used it on DebianUbuntu without any problem on home network 
and as Bob mentioned it talks both DNS and DHCP.


Just took a quick look:

  %locate dnsmasq
  /usr/ports/dns/dnsmasq
  ...

Seems to be in the ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Odhiambo Washington
On Mon, Oct 27, 2008 at 5:07 PM, en0f [EMAIL PROTECTED] wrote:
 Bob McConnell wrote:
 On Behalf Of Odhiambo Washington
 One response I got off list was that I could use deny
 unknown-clients; if I use isc-dhcpd-server, which got me thinking ...
 is there another dhcp server for FreeBSD in the ports tree, or outside
 it?

 I have used dnsmasq on Slackware Linux. It is a combined DNS/DHCP server
 that works well on small private networks. I don't know if it runs on
 BSD.

 Same here. I've used it on DebianUbuntu without any problem on home network 
 and as Bob mentioned it talks both DNS and DHCP.

Interesting how many people dual-live on this list:-)
I have been so allergic to Linux all these years until Ubuntu. I am
from Africa and I did not settle on Ubuntu just for the name but
because one client insisted he wanted a Unix server and it had to be
Linux.
I wonder what makes people live in both worlds - *BSD  Linux - is it
for similar reasons?

As regards DNS and DHCP servers, I'd never thought beyond BIND 
djbdns and isc-dhcpd respectively all these years (yes, my own Unix
epoch is 1997).

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Jeremy Chadwick
On Mon, Oct 27, 2008 at 06:54:30PM +0300, Odhiambo Washington wrote:
 I wonder what makes people live in both worlds - *BSD  Linux - is it
 for similar reasons?

Living in both worlds is a good thing: keeping an open mind about
operating systems and software is one of the best choices one can make.
BSD falls short in some areas where Linux excels, and Linux falls short
in some areas where BSD excels.

It's about using whatever tool works to get things done.  If that's BSD,
great.  If that's Linux, great.  If that's Windows, great.  But the
worst thing one can do is remain close-minded about operating systems;
one-sided advocacy (pro-BSD or pro-Linux) does nothing but hurt the
open-source concept.  (I'll remind folks that ZFS came from Solaris)

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Wojciech Puchar



Hello List,

Suppose I have 100 Desktops, and I want my DHCP server to _only_
assign IP addresses to these hosts, using MAC addresses, is there a
way to tell the DHCP server to NOT assign any IP address to a machine
whose MAC address it doesn't know?


of course.

and you can assign IP to each MAC

first

deny unknown-clients;
(dont specify range at all)

then

 host something {
  hardware ethernet 00:11:22:33:44:55;
  fixed-address 1.2.3.4;
  option host-name something.somewhere;
  option routers router_IP;
 }

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP and MAC addresses

2008-10-27 Thread Valentin Bud
On Mon, Oct 27, 2008 at 5:34 PM, Wojciech Puchar 
[EMAIL PROTECTED] wrote:


  Hello List,

 Suppose I have 100 Desktops, and I want my DHCP server to _only_
 assign IP addresses to these hosts, using MAC addresses, is there a
 way to tell the DHCP server to NOT assign any IP address to a machine
 whose MAC address it doesn't know?


 of course.

 and you can assign IP to each MAC

 first

 deny unknown-clients;
 (dont specify range at all)


But do define the subnet:
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option domain-name-servers 1.2.3.4;
}
 If you have 100 MAC address by this technique you avoid writing
options routers 1.2.3.4; in each host declaration.
No matter how many subnets you have, just define them and write the
router and DNS server(s) there and in the host declaration just the IP and
(optional)
a host-name.

all the best,
v




 then

  host something {
  hardware ethernet 00:11:22:33:44:55;
  fixed-address 1.2.3.4;
  option host-name something.somewhere;
  option routers router_IP;

  }

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]