Networking Forums

Networking Forums > Computer Networking > Linux Networking > dnsmasq

Reply
 
 
Randy Yates
Guest
Posts: n/a

 
      11-23-2007, 01:38 PM
I would like to assign local domain names to the computers on my network
based on their MAC address and thereore automatically have all my local
domains named as part of DHCP. I have two linux systems under a WRT54G
router, one wirelessly connected via a Netgear wg311v3 card and the
other via wire.

I am considering running dnsmasq for this task on the wired
linux box. However, I am wondering two things:

1. Does wlan0 (Netgear card) have a unique MAC address?
2. Will the WRT54G pass dhcp requests from the wireless
network on to the wired network when its DHCP mode is turned
off?

Any help would be wonderful. Thanks!
--
% Randy Yates % "Watching all the days go by...
%% Fuquay-Varina, NC % Who are you and who am I?"
%%% 919-577-9882 % 'Mission (A World Record)',
%%%% <(E-Mail Removed)> % *A New World Record*, ELO
http://www.digitalsignallabs.com
 
Reply With Quote
 
 
 
 
Stefan Monnier
Guest
Posts: n/a

 
      11-23-2007, 03:36 PM
> I would like to assign local domain names to the computers on my network
> based on their MAC address and thereore automatically have all my local
> domains named as part of DHCP. I have two linux systems under a WRT54G
> router, one wirelessly connected via a Netgear wg311v3 card and the
> other via wire.


> I am considering running dnsmasq for this task on the wired
> linux box. However, I am wondering two things:


> 1. Does wlan0 (Netgear card) have a unique MAC address?


It should, yes.

> 2. Will the WRT54G pass dhcp requests from the wireless
> network on to the wired network when its DHCP mode is turned
> off?


It should, yes.

BTW: installing OpenWRT on your wrt54g will give you dnsmasq on
the router. Highly recommended.


Stefan
 
Reply With Quote
 
Randy Yates
Guest
Posts: n/a

 
      11-23-2007, 07:50 PM
Stefan Monnier <(E-Mail Removed)> writes:

>> I would like to assign local domain names to the computers on my network
>> based on their MAC address and thereore automatically have all my local
>> domains named as part of DHCP. I have two linux systems under a WRT54G
>> router, one wirelessly connected via a Netgear wg311v3 card and the
>> other via wire.

>
>> I am considering running dnsmasq for this task on the wired
>> linux box. However, I am wondering two things:

>
>> 1. Does wlan0 (Netgear card) have a unique MAC address?

>
> It should, yes.
>
>> 2. Will the WRT54G pass dhcp requests from the wireless
>> network on to the wired network when its DHCP mode is turned
>> off?

>
> It should, yes.
>
> BTW: installing OpenWRT on your wrt54g will give you dnsmasq on
> the router. Highly recommended.


Thanks for your help, Stefan.

I've been considering doing just that (installing OpenWRT) but I shy
away in fear of the time required. Is it easy? Are there any advantages
to running dnsmasq there instead of on my linux box? Are there other
(immediate) advantages to installing OpenWRT?
--
% Randy Yates % "She's sweet on Wagner-I think she'd die for Beethoven.
%% Fuquay-Varina, NC % She love the way Puccini lays down a tune, and
%%% 919-577-9882 % Verdi's always creepin' from her room."
%%%% <(E-Mail Removed)> % "Rockaria", *A New World Record*, ELO
http://www.digitalsignallabs.com
 
Reply With Quote
 
Stefan Monnier
Guest
Posts: n/a

 
      11-26-2007, 02:47 PM
> I've been considering doing just that (installing OpenWRT) but I shy
> away in fear of the time required. Is it easy?


For me the install was very easy, and it made the configuration easier
because I prefer command-lines to web-interfaces. I haven't used
OpenWRT's `webif' so I can't speak for its ease in the case where you
prefer a web interface.

> Are there any advantages to running dnsmasq there instead of on my
> linux box?


Depends. In my case, I like to turn off my GNU/Linux box whereas the
router is always ON, so the difference is crucial.

> Are there other (immediate) advantages to installing OpenWRT?


It allows you to exercise the freedom provided by the GPL.
In my case I used it to install all kinds of other software on my
router: an NTP server, a web-server (to share pictures of my daughter
with my remote family), a caching http proxy, a backup server,
a jukebox, ...


Stefan "who just had to move things around and is now forced to
use his DSL modem as router, which sucks because it is
(apparently) based on FreeBSD so the manufacturer did
not provide any way to change it, so I can't use
dnsmasq and can't configure it conveniently any more :-("
 
Reply With Quote
 
Randy Yates
Guest
Posts: n/a

 
      11-26-2007, 10:25 PM
Stefan Monnier <(E-Mail Removed)> writes:
> [...]


Thanks for your response, Stefan. I do like the idea, but I'm still more
than a little scared of the install. If it goes well, great - probably
very little time. I can see a glitch, however, ending up costing me
eight hours, and that kind of time I don't have right now.
--
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <(E-Mail Removed)> % *Time*, Electric Light Orchestra
http://www.digitalsignallabs.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dnsmasq and openvz David Brown Linux Networking 0 03-19-2008 07:09 PM
dnsmasq trouble stouf Linux Networking 7 05-13-2005 06:37 PM
some dnsmasq problems Matteo Corti Linux Networking 14 12-01-2004 11:08 AM
dnsmasq: What does it do? tom Linux Networking 5 11-22-2004 05:44 PM
privoxy and dnsmasq Brian Hall Linux Networking 0 02-22-2004 06:27 PM



1 2 3 4 5 6 7 8 9 10 11