On Thu, 31 Jul 2003 06:45 am, David Ehrmann wrote:
> I've been having another problem with network booting, except this time, it
> was with LTSP. Someone on IRC told me my network configuration is wrong.
> I've been trying to figure some of it out, but without much luck. I'm
> posting my dhcp config file (ISC DHCP 3) along with ifconfig eth0 and
> interfaces. If anyone out there has expierence in this, the help would be
> apriciated. One issue with the configuration is some parts are class a
> while others are class c.
>
> /etc/init.d/dhcp3/dhcpd.conf
> --------------------------------------------------------------------------
> ddns-update-style none;
>
> option domain-name-servers 209.60.252.5, 64.55.192.20;
>
> default-lease-time 7200; #50000000;
> #max-lease-time 100000000;
I think you need max-lease time for network boots. That might cause one
problem.
>
> #Sugusted by Microsoft
> #option dhcp-rebinding-time -1;
> #option dhcp-renewal-time -1;
Microsoft suggests wrong, if you include them, then need to be real numbers,
infinite doesn't work.
>
> one-lease-per-client on;
>
> authoritative;
>
> option subnet-mask 255.0.0.0;
> option broadcast-address 10.255.255.255;
>
> subnet 10.0.0.0 netmask 255.0.0.0 {
> range 10.0.0.2 10.0.254.254;
This range is non contiguous. you may want 10.0.0.2 10.0.255.255
Remember this is a class a, so 0 and 255 are valid address if the range
specified.
> option routers 10.0.0.1;
> allow bootp;
> next-server 10.10.1.1;
>
> option vendor-encapsulated-options ff;
> option root-path "/opt/ltsp/i386";
I'd be careful with this, I've never used it, and don't know if it works.
Do you have a tftp-server that will allow you to set the root path, if so I
suggest you use that, and get rid of this option.
> if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
> {
> filename "/tftpboot/eb-5[1].0.10-amdhomepna.lzpxe"; # -VMWare
> }
> else if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
>
> {
> filename "/tftpboot/lts/vmlinuz-2.4.21-ltsp-1";
> }
>
> host paul {
> hardware ethernet 00:20:18:d8:1b:dd;
> fixed-address 10.0.0.1;
> }
check the man page, I can't remember and don't have time to check, whether
this should be part of the subnet definition or not. It should have
complained, or this computer not boot the way you want if there was a
problem.
> }
>
> ifconfig eth0
> --------------------------------------------------------------------------
>
> eth0 Link encap:Ethernet HWaddr 00:40:C7:7E:46:EA
> inet addr:10.10.1.1 Bcast:10.10.1.255 Mask:255.0.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1520915 errors:3617 dropped:0 overruns:0 frame:0
> TX packets:1345332 errors:0 dropped:0 overruns:1 carrier:0
> collisions:225733 txqueuelen:100
> RX bytes:496562921 (473.5 MiB) TX bytes:933566455 (890.3 MiB)
> Interrupt:15 Base address:0xc000
>
OUCH :(
Bcast address does not match the mask, the linux kernel will do all sorts of
stuff with that. And yes it will work most of the time for most things.
so if your mask really is 255.0.0.0
then your bcase should be 10.255.255.255 as the ip you currently have it a
usable IP, that can be assigned to a computer, (when you dhcp.conf is
changed)
> /etc/network/interfaces
> --------------------------------------------------------------------------
>
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
>
> # The loopback interface
> auto lo
> iface lo inet loopback
>
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> auto eth0
>
> #iface eth0 inet dhcp
> #hostname Server
>
> iface eth0 inet static
> host Server
> address 10.10.1.1
> netmask 255.0.0.0
> # network 209.60.252.5,64.66.192.20
> # broadcast 10.255.255.255
Broadcast is correct, however I'm not sure what network is about. I think
it's supposed to be 10.0.0.0, not the dns servers.
> gateway 10.0.0.1
>
>
Hope that gives some pointers to work with.
Russell.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info