[klibc] ipconfig and boot filename option

Άλκης Γεωργόπουλος alkisg at gmail.com
Sat May 24 08:49:46 PDT 2008


ipconfig is used in ltsp (thin clients) initramfs. Some of the users
have to have 2 dhcp servers in ltsp environments, so they hit on this
The first dhcp request is from the pxe rom boot code. This code
ignores any dhcp offers that don't have a filename field. So they
always get the correct address, from the ltsp server.

The second dhcp request (in initramfs) is done by ipconfig. And here
is the problem, ipconfig accepts any offered addresses, even those
that don't have the filename option. So the clients may get their ip
from the wrong dhcp server (e.g. the adsl router) and fail to boot.

What I'm asking for is a command line option,
that forces ipconfig to ignore all DHCPOFFERs that do not have a
filename option,
so that it only accepts ip addresses from ltsp servers.

Kind regards,
Alkis Georgopoulos

IP-Config: eth0 complete (from
 address:   broadcast:   netmask:
 gateway:     dns0     :      dns1   :
 domain : itp.tuwien.ac.at
 rootserver: rootpath:
 filename  : /pxelinux.0

More information about the klibc mailing list