[olug] ¿ iproute2 does not do any DHCP ?

Rob Townley rob.townley at gmail.com
Tue Aug 31 22:11:35 UTC 2010


i have been attempting to use clonezilla / drbl live CDs  which are
based on debian live to pxe boot multi nic machines.  debian live uses
ipconfig (yes with a letter p) to obtain the DHCP ip configuration
even though on the same image, it also has ifconfig and ip.

The ipconfig binary has a long history of performing terribly with
multi-nic machines and performing terribly with DHCP.


You have to use DHCP because these machines are all live booted.  But
to help rule out a device driver issue or network issue, i
successfully manually assigned ip addresses to both nics using
iproute2.

ip address add 192.168.10.71/16 brd + dev eth0
ip address add 192.168.10.75/16 brd + dev eth1

Then i wanted to use ip to assign a dynamic ip or at least use it to
set its configuration to be dynamic.  But it appears to me iproute2
does not support setting the configuration of an IPv4 address to be
dynamic let alone actually using it to obtain a dynamic ip address.  i
am just looking for confirmation that i am reading the docs correctly
and my attempts at using ip would correct.  Would somebody confirm
this?  (Hoping Matthew Marsh delurks again)   Am i missing something?
There is a "dynamic" parameter but that appears to be for IPv6 only.


Robert Townley
402-670-4326



More information about the OLUG mailing list