Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
pool { range 192.168.5.1 192.168.5.30; allow members of "srvs"; deny members of "wm1"; deny members of "wm2"; deny unknown-clients; }
pool { range 192.168.5.33 192.168.5.62; allow members of "srvs"; allow members of "wm1"; deny members of "wm2"; deny unknown-clients; }
pool { range 192.168.5.65 192.168.5.94; allow members of "srvs"; deny members of "wm1"; allow members of "wm2"; deny unknown-clients; } }
syslog
PHP Code:
debianTST:~# tail -n 20 /var/log/syslog Mar 13 01:46:42 debianTST dhcpd: Copyright 2004-2006 Internet Systems Consortium. Mar 13 01:46:42 debianTST dhcpd: All rights reserved. Mar 13 01:46:42 debianTST dhcpd: For info, please visit ] Mar 13 01:46:42 debianTST dhcpd: Internet Systems Consortium DHCP Server V3.0.4 Mar 13 01:46:42 debianTST dhcpd: Copyright 2004-2006 Internet Systems Consortium. Mar 13 01:46:42 debianTST dhcpd: All rights reserved. Mar 13 01:46:42 debianTST dhcpd: For info, please visit Mar 13 01:47:15 debianTST dhcpd: Internet Systems Consortium DHCP Server V3.0.4 Mar 13 01:47:15 debianTST dhcpd: Copyright 2004-2006 Internet Systems Consortium. Mar 13 01:47:15 debianTST dhcpd: All rights reserved. Mar 13 01:47:15 debianTST dhcpd: For info, please visit Mar 13 01:47:15 debianTST dhcpd: Internet Systems Consortium DHCP Server V3.0.4 Mar 13 01:47:15 debianTST dhcpd: Copyright 2004-2006 Internet Systems Consortium. Mar 13 01:47:15 debianTST dhcpd: All rights reserved. Mar 13 01:47:15 debianTST dhcpd: For info, please visit Mar 13 01:47:15 debianTST dhcpd: Internet Systems Consortium DHCP Server V3.0.4 Mar 13 01:47:15 debianTST dhcpd: Copyright 2004-2006 Internet Systems Consortium. Mar 13 01:47:15 debianTST dhcpd: All rights reserved. Mar 13 01:47:15 debianTST dhcpd: For info, please visit Mar 13 01:47:15 debianTST dhcpd: Wrote 0 leases to leases file. debianTST:~#
dhcp.leases
PHP Code:
debianTST:~# tail -n 20 /var/lib/dhcp3/dhcpd.leases # All times in this file are in UTC (GMT), not your local timezone. This is # not a bug, so please don't ask about it. There is no portable way to # store leases in the local timezone, so please don't request this as a # feature. If this is inconvenient or confusing to you, we sincerely # apologize. Seriously, though - don't ask. # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-V3.0.4
debianTST:~#
/etc/network/interfaces
PHP Code:
DebWM:~# tail -n 20 /etc/network/interfaces iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 # dns-* options are implemented by the reseolconf package, if installed dns-nameserver 193.231.236.30
# The secodary eth auto eth1 #iface eth1 inet dhcp iface eth1 inet static address 192.168.5.1 netmask 255.255.255.224 network 192.168.5.0 broadcast 192.168.5.31 #gateway 192.168.1.1 # dns-* options are implemented by the reseolconf package, if installed #dns-nameserver 193.231.236.30 DebWM:~#
in all this text somethin is wrong for sure.. couse my clients would not take ip's unless i tell the conf file that i want to allow unknowwn-clients;
si mi mind suspects the class/subclass syntax of being uncomplete somehow..
10x for youre reply mate, i solved my problem ....
there are known clients defined in the subclass statements.... what is wrong there is that every pool end's with deny unknown clients;, and by default unknown clients are denied.. so.. that statement should be erased and everyting works well.. i have to test alltough is some machine is staticaly setted with an ip from one of the pools how the subnet rescts...
I don't understand what you're asking there. If you have different subnets then you either need to listen directly on each subnet or have a DHCP relay agent on each subnet if they are not directly connected.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.