Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dnsmaq : control network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mark0
n00b
n00b


Joined: 11 Jan 2005
Posts: 20

PostPosted: Mon Sep 19, 2005 10:57 am    Post subject: dnsmaq : control network Reply with quote

Hi.

I use dnsmasq to provide DNS cache on my network , now I want to give user IP address from MAC address.
I want also to control/security my network : When somebody uplink computer in switch with strange IP/MAC address I want to get ALARM (e-mail??) and dont have access to my network and Internet.

Any TIP?
Back to top
View user's profile Send private message
davidblewett
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 274
Location: Indiana

PostPosted: Tue Sep 20, 2005 5:16 pm    Post subject: Reply with quote

Not sure about the alert part, but the DHCP part of dnsmasq is easy to setup. In /etc/dnsmasq.conf, uncomment or add the following line:
Code:
dhcp-range=192.168.0.2,192.168.0.250,255.255.255.0,192.168.0.255,infinite


To give a specific IP to a specific MAC address add this:
Code:
# Always allocate the host with ethernet address 11:22:33:44:55:66
# The IP address 192.168.0.60
dhcp-host=00:E0:29:3C:A6:AF,arnor,192.168.0.2

_________________
No guilt in life, no fear in death
this is the power of Christ in me
From life’s first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum