combined dhcp and static ip?

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

combined dhcp and static ip?

Postby lumpynose » Fri Mar 22, 2013 5:51 am

I'd like to be able to specify a static ip address and get the remaining stuff (dns, gateway, and whatever) from dhcp. It this possible?
lumpynose
 
Posts: 22
Joined: Fri Mar 22, 2013 3:01 am

Re: combined dhcp and static ip?

Postby pepedog » Fri Mar 22, 2013 9:49 am

You could add to the interface file (in /etc/network.d/)
$this->bbcode_second_pass_code('', 'POST_UP="ifconfig eth0:1 192.168.0.5"')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests