[klibc] ipconfig and boot filename option

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


I tried "ipconfig -c bootp" and it did work, but some bootp servers
log the offered ip and reserve it for the specific machine forever, so
maybe emulating a pxe request would be better, something like
ipconfig -c pxe eth0
(and just send the string PXEClient)

Kind regards,
Alkis

2008/5/24 Άλκης Γεωργόπουλος <alkisg at gmail.com>:
> Hi,
>
> 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
> problem:
> 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 128.131.48.127):
>  address: 128.131.48.177   broadcast: 128.131.48.255   netmask: 255.255.255.0
>  gateway: 128.131.48.1     dns0     : 128.130.4.3      dns1   : 128.131.4.3
>  domain : itp.tuwien.ac.at
>  rootserver: 128.131.48.127 rootpath:
>  filename  : /pxelinux.0
> )
>


More information about the klibc mailing list