|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Depending on how full your network is, I'd recommend changing the IP addresses so that they are not in the DHCP pool. Or change the DHCP pool so it doesn't cover the static IP's.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
||||
Code:
pool { allow unknown-clients; deny known-clients; range 192.168.0.101 192.168.0.143; range 192.168.0.145 192.168.0.154; range 192.168.0.156 192.168.0.199; } Quote:
__________________
The power of plain text? It can control an entire OS |
|
||||
edit: !!!ooops i'll try upper, in time of my post i havent seen the preveous!!!
I wanted to do it without changing theese hosts, because their IPs are involved in other things... I dont have many pcs on my network .. ~30 currently. Actually I avoid this warning when I define the same subnet twice ... like this: Code:
... subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.101 192.168.0.199; } subnet 192.168.0.0 netmask 255.255.255.0 { deny unknown-clients; same hosts..... blablabla } Code:
May 16 16:38:52 netis0 dhcpd: Warning: subnet 192.168.0.0/24 overlaps subnet 192.168.0.0/24 May 16 16:38:52 netis0 dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in. Last edited by edhunter; 16th May 2008 at 01:44 PM. |
|
||||
Quote:
Code:
May 16 16:46:14 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144. May 16 16:46:14 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144 May 16 16:46:14 netis0 dhcpd: from the dynamic address pool for 192.168.0/24 May 16 16:46:16 netis0 dhcpd: Dynamic and static leases present for 192.168.0.144. May 16 16:46:16 netis0 dhcpd: Remove host declaration vlado or remove 192.168.0.144 May 16 16:46:16 netis0 dhcpd: from the dynamic address pool for 192.168.0/24 now it works with definied multiple ranges excluding fixed addressess Last edited by edhunter; 16th May 2008 at 01:50 PM. |
|
||||
Edit: So does it work? Otherwise, try the following configuration:
Code:
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.101 192.168.0.143; range 192.168.0.145 192.168.0.154; range 192.168.0.156 192.168.0.199; } host geopc { hardware ethernet 00:30:18:A8:06:0D; fixed-address 192.168.0.60;} host jazz { hardware ethernet 00:1A:4D:5C:9F:7F; fixed-address 192.168.0.58;} host vlado { hardware ethernet 00:1A:4D:5B:86:0B; fixed-address 192.168.0.144;} host ico { hardware ethernet 00:18:F3:C7:4E:14; fixed-address 192.168.0.155;}
__________________
The power of plain text? It can control an entire OS Last edited by 18Googol2; 16th May 2008 at 02:07 PM. |
|
||||
Another dhcpd question :)
Now one more thing ... is it possible to assign two ip addressess with differrent netmask to one host???
host geopc need two ip addresses - local and real 192.168.0.60 with mask 255.255.255.0 and 212.72.201.xx with mask 255.255.255.240 (28bits). Currently this (i am sitting on it) is winxp machine with manually assigned ip adressess. |
Tags |
dhcp |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
snd_emu10k1 and static | kly | FreeBSD General | 3 | 17th September 2009 01:28 PM |
Partition(s) present but not detected after panic | jb_daefo | FreeBSD General | 0 | 29th May 2009 07:01 PM |
Dynamic Traffic Shaping | LordZ | OpenBSD Security | 6 | 19th January 2009 04:30 PM |
Static IP address problem | rex | FreeBSD General | 2 | 25th November 2008 08:53 PM |
Cannot assign static IP. | bsdnewbie999 | OpenBSD General | 5 | 21st June 2008 09:50 AM |