After doing some more of the good old try&error, I found the following
solution:
shared-network faw-net {
subnet 192.168.0.0 netmask 255.255.255.0{
option broadcast-address 192.168.0.255;
}
subnet 192.168.1.0 netmask 255.255.255.0{
option broadcast-address 192.168.1.255;
}
subnet 153.95.169.0 netmask 255.255.255.0{
option broadcast-address 153.95.169.255;
}
}
The shared-network did the trick. Putting the groups withinh the subnet
seems not to be neccessary, but I will do some more tests.
Regards,
Marco Schwarz
-----Urspr�ngliche Nachricht-----
Von: Brian Payst [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 26. Februar 2004 14:36
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: [Ltsp-discuss] Problems with DHCP
You should be able to declare each subnet like this, but you need your
group declarations within each subnet as well, I think this example
should work:
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.2 192.168.2.125;
group {
use-host-decl-names on;
option dhcp-server-identifier 192.168.1.1;
next-server 192.168.1.1;
option subnet-mask 255.255.255.0;
option routers 192.168.1.2;
option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.126;
host ws001 {
hardware ethernet XX:XX:XX:XX:XX;
fixed-address 192.168.1.2;
filename "/lts/2.4.22-ltsp-1/pxelinux.0";
}
}
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I am trying to set up my DHCP server to boot my clients. The problem is
that
> DHCP doesnt seem to like my network configuration, it refuses to start
with
> the message:
>
> Starting DHCP server startproc: exit status of parent of /usr/sbin/dhcpd:
1
> Internet Software Consortium DHCP Server V3.0.1rc9
> Copyright 1995-2001 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
> Internet Software Consortium DHCP Server V3.0.1rc9
> Copyright 1995-2001 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
> Wrote 0 deleted host decls to leases file.
> Wrote 0 new dynamic host decls to leases file.
> Wrote 0 leases to leases file.
> Interface eth0 matches multiple shared networks
>
> Here is my network configuration:
>
> eth0 Link encap:Ethernet HWaddr 00:02:B3:BF:B5:A4
> inet addr:153.95.169.113 Bcast:153.95.169.255
Mask:255.255.255.0
> inet6 addr: fe80::202:b3ff:febf:b5a4/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5476 errors:0 dropped:0 overruns:0 frame:0
> TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:1108550 (1.0 Mb) TX bytes:89591 (87.4 Kb)
> Interrupt:20 Base address:0xdf00 Memory:feafe000-feafe038
>
> eth0:1 Link encap:Ethernet HWaddr 00:02:B3:BF:B5:A4
> inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Interrupt:20 Base address:0xdf00 Memory:feafe000-feafe038
>
> eth0:2 Link encap:Ethernet HWaddr 00:02:B3:BF:B5:A4
> inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Interrupt:20 Base address:0xdf00 Memory:feafe000-feafe038
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:572 errors:0 dropped:0 overruns:0 frame:0
> TX packets:572 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:44311 (43.2 Kb) TX bytes:44311 (43.2 Kb)
>
> And this is a part of my dhcpd.conf:
>
> ===================================
>
> allow booting;
> allow bootp;
>
> ddns-update-style ad-hoc;
>
> option broadcast-address 192.168.0.255;
>
> subnet 192.168.0.0 netmask 255.255.255.0{
> }
>
> subnet 192.168.1.0 netmask 255.255.255.0{
> }
>
> subnet 153.95.169.0 netmask 255.255.255.0{
> }
>
> group
> {
> next-server 192.168.0.20;
>
> filename"/tftpboot/pxelinux.0";
>
> host aww1.fds {
> hardware ethernet 00:0C:6E:89:D2:1B;
> fixed-address 192.168.0.21;
> option root-path "/netclients/clients_astr/192.168.0.21";
> }
>
> .....
>
> ==========================================
>
> Everything is working fine if I use only one of the subnets, but I need
all
> three of them ... How can I get this working ?
>
> Best Regards,
>
> Marco Schwarz
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Brian Payst, MS
Director of Technology & Systems Support
Division of Student Affairs
The University of North Carolina at Chapel Hill
voice: (919) 962-1469 fax: (919) 962-5241
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net