[Voyage-linux] DHCP

Adrian Reyer (spam-protected)
Fri Oct 5 22:34:35 HKT 2012


On Fri, Oct 05, 2012 at 12:56:06PM +0200, Rainer Stratmann wrote:
> It works. The compuer ist now booting immediately without waiting for an 
> ipadress from the dhcp router.
> But how can I now (easily) get a dynamic ipadress if my application wants it?

if you have a line
iface eth0 inet dhcp
in /etc/network/interfaces, you can just issue
ifup eth0
from command line if you are in a dhcp-mood and
ifdown eth0
if you no longer want the dhcp. Again, you can mix this with interface
aliases as described earlier.

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart




More information about the Voyage-linux mailing list