DHCP - Dnsmasq vs DHCPD

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Fri May 26, 2023 8:12    Post subject: Reply with quote
Gameman Advanced Kid wrote:
I got a better one. "Additional DHCP Servers"


+1
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Fri May 26, 2023 8:24    Post subject: Reply with quote
Then all the screenhots and howtos have to be updated - unnecessary effort.
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12838
Location: Netherlands

PostPosted: Fri May 26, 2023 10:03    Post subject: Reply with quote
ho1Aetoo wrote:
Then all the screenhots and howtos have to be updated - unnecessary effort.


agree 100%

meaningless thread

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Fri May 26, 2023 10:42    Post subject: Reply with quote
ho1Aetoo wrote:
Then all the screenhots and howtos have to be updated - unnecessary effort.

Not if you only replace "DHCPD" with "Multiple DHCP Servers". I don't usually see "DHCPD" that much in Wikis or forum posts. Smile

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
itwontbewe
DD-WRT User


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Fri May 26, 2023 14:55    Post subject: Reply with quote
from my R7000P log
Dec 31 19:00:19 DD-WRT user.info : [udhcpc] : successfully started

is that normal?
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Fri May 26, 2023 16:14    Post subject: Reply with quote
itwontbewe wrote:
from my R7000P log
Dec 31 19:00:19 DD-WRT user.info : [udhcpc] : successfully started

is that normal?

I have that line in my log as well. I believe udhcpc is monitoring WAN port's IP address change! IP addresses usually have lease time. While dnsmasq is responsible for the LAN (wired and wireless WLAN). Try the following command:
Code:
ps ax | grep -i -E 'dhcp|masq'

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
itwontbewe
DD-WRT User


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Fri May 26, 2023 17:02    Post subject: Reply with quote
ok thanks

root@DD-WRT:~# ps ax | grep -i -E 'dhcp|masq'
1722 root udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/dhcpc -O routes -O msstaticroutes -O staticroutes
2244 root dnsmasq -u root -g root -C /tmp/dnsmasq.conf
2594 root grep -i -E dhcp|masq
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14126
Location: Texas, USA

PostPosted: Fri May 26, 2023 17:37    Post subject: Reply with quote
ho1Aetoo wrote:
Then all the screenhots and howtos have to be updated - unnecessary effort.

egc wrote:
agree 100%

meaningless thread

Blah, blah, blah, yamma, yamma. Really don't want to hear it. This is just *part* of what all for the love of DD-WRT and this community that has been occupying my (our) time here in this household.

https://wiki.dd-wrt.com/wiki/index.php?title=Special:Recentchanges&days=30&limit=500

It's not that I am ungrateful for anything either of you two have contributed, but please spare us this attitude. If neither of you want to do the work, someone will *gladly* do it with me. Why don't we focus on team mentality from this point forward, hmm? Seems that the "I" keeps getting in the way, and quite honestly, I can always forward every email sent to my complaints, wiki edits, dd-wrt contributions inbox to BrainSLayer by default. He'd probably get sick of the "f*ck so-and-so", "this is bullsh*t", etc. emails rather quickly. Really don't think either of you realize just how much of an effect things have had on this community, starting with well-laid intentions on my part (on everyone's part), but many folks are a heck of a lot more active in other communities thanks to the same ol' bullshit in this one. The general atmosphere of this community is not building anything positive. In other words, all the complaints against me did not change anything in this forum, because the problem still exists in other people.

Moderator edits be damned.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Gameman Advanced Kid
DD-WRT Guru


Joined: 18 Nov 2012
Posts: 1158

PostPosted: Fri May 26, 2023 19:44    Post subject: Reply with quote
egc wrote:
ho1Aetoo wrote:
Then all the screenhots and howtos have to be updated - unnecessary effort.


agree 100%

meaningless thread


dd-wrt is changing every couple of years if not months or weeks. I have seen some of the guides for this firmware being updated with something along the lines of "since build rxxxx its done this way now" or "if your using build before/after rxxxxx do it this way"

Your guides and screenshots are meaningless if they do not keep up with brainslayers changes to the firmware.

_________________
For people who are new to the dd-wrt forums >> http://www.catb.org/~esr/faqs/smart-questions.html#rtfm

barryware wrote:
It takes a "community" to raise a router..


Internet Connection 1
Some Techicolor modem > Linksys WRT3200ACM

Internet connection 2
Ubiquiti Powerbeam Gen 2 > Netgear R9000

Official (but not really) dd-wrt General Discussion element/matrix chat

https://matrix.to/#/#dd-wrt-private-non-offical:matrix.org
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat May 27, 2023 6:15    Post subject: Reply with quote
Has anyone asked for your opinion on our opinion? lol
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Sat May 27, 2023 6:40    Post subject: Reply with quote
come on people... we are just talking about improving things we all have in common (ddwrt)... it is good to be versatile... let's try to respect different opinions... lets try not to be egoists... can someone make poll for voting and I will ask BS to change labeling...
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Sat May 27, 2023 8:29    Post subject: Reply with quote
itwontbewe wrote:
root@DD-WRT:~# ps ax | grep -i -E 'dhcp|masq'
1722 root udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/dhcpc -O routes -O msstaticroutes -O staticroutes
2244 root dnsmasq -u root -g root -C /tmp/dnsmasq.conf
2594 root grep -i -E dhcp|masq

dnsmasq is giving out IP addresses to LAN (wired) and WLAN(wireles), while udhcpc is getting IP address from WAN connected to ISP. That's also what I am seeing in my DD-WRT.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Sat May 27, 2023 9:25    Post subject: Reply with quote
Mile-Lile wrote:
come on people... we are just talking about improving things we all have in common (ddwrt)... it is good to be versatile... let's try to respect different opinions... lets try not to be egoists... can someone make poll for voting and I will ask BS to change labeling...

Just do a search for "DHCPD" to see how unpopular it is. I don't remember anyone talking about "DHCPD" at all since I started using DD-WRT. Smile

There are some posts explicitly about it in Atheros forum, but I think they knew they were actually talking about DNSmasq.

As long as the label change didn't overturn Wikis and forum posts, it will be fine.

BTW, a few old posts mentioned ["Additional DHCPd Options" field under the services]:

DD-WRT :: View topic - DHCPd option 66 (TFTP server)
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=67603&highlight=dhcpd

That label no longer has the word "DHCPd", just 'Additional Options'!

DD-WRT :: View topic - Additional DHCPd Options for TFTP
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=38960&highlight=dhcpd

DD-WRT :: View topic - DNSmasq/DHCPd setup
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=14360&highlight=dhcpd

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat May 27, 2023 10:23    Post subject: Reply with quote
So when I search for "DHCPD" I find over 1000 forum posts....
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Sat May 27, 2023 10:33    Post subject: Reply with quote
ho1Aetoo wrote:
So when I search for "DHCPD" I find over 1000 forum posts....

Not all of them actually talking about ISC DHCPD. Most of them are just using "DHCPD" as vague alias for "DHCP Server" or "DHCP Daemon".

And to be exact, it should be "DHCP Range"! DD-WRT has only one DHCP Server (called DNSmasq) for all the WLANs, VLANs and LANs, serving multiple IP address ranges (and classes?). Some users might think that each IP address range is served by one DHCP Server, and hence the idea "Multiple DHCP Servers".

ip address range - Google Search
https://www.google.com/search?q=ip+address+range

ip subnet - Google Search
https://www.google.com/search?q=ip+subnet

dhcp pool - Google Search
https://www.google.com/search?q=dhcp+pool

dhcp scope - Google Search
https://www.google.com/search?q=dhcp+scope

If you got an "A" in TCP/IP networking, let us know the correct phrase!

I think the correct term should have been "subnet". That's why we got "subnet mask" or "netmask"!!! Smile

Subnetwork - Wikipedia
https://en.wikipedia.org/wiki/Subnetwork

dnsmasq subnet - Google Search
https://www.google.com/search?q=dnsmasq+subnet

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
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
You can attach files in this forum
You can download files in this forum