Ifupdown-ng: Difference between revisions
Prabuanand (talk | contribs) (added new page) |
Prabuanand (talk | contribs) m (added link to vxlan) |
||
Line 8: | Line 8: | ||
ifupdown-ng supports {{ic|udhcpc}} from [[BusyBox]], {{pkg|dhcpcd}} and dhclient. Of these, only dhcpcd can interact with both DHCP and DHCPv6 from the same process, which ifupdown-ng requires. Thus the IPv4 DHCP configuration given on this page will also result in the use of DHCPv6, but only if the {{pkg|dhcpcd}} package is installed. The ifupdown-ng scripts prioritize dhcpcd over udhcpc as per {{path|/usr/libexec/ifupdown-ng/dhcp}} script. | ifupdown-ng supports {{ic|udhcpc}} from [[BusyBox]], {{pkg|dhcpcd}} and dhclient. Of these, only dhcpcd can interact with both DHCP and DHCPv6 from the same process, which ifupdown-ng requires. Thus the IPv4 DHCP configuration given on this page will also result in the use of DHCPv6, but only if the {{pkg|dhcpcd}} package is installed. The ifupdown-ng scripts prioritize dhcpcd over udhcpc as per {{path|/usr/libexec/ifupdown-ng/dhcp}} script. | ||
{{Note|The | {{Note|The {{pkg|dhclient}} package is no longer available in Alpine Linux since [[Release_Notes_for_Alpine_3.21.0#ISC_DHCP|v3.21]]}} | ||
The availability of {{pkg|ifupdown-ng}} package can be checked via the command {{ic|ifquery --version}}. | The availability of {{pkg|ifupdown-ng}} package can be checked via the command {{ic|ifquery --version}}. | ||
Line 16: | Line 16: | ||
* [[Configure Networking|Main Networking page]] | * [[Configure Networking|Main Networking page]] | ||
* [https://github.com/ifupdown-ng/ifupdown-ng/blob/main/doc/ADMIN-GUIDE.md ifupdown-ng Admin Guide] | * [https://github.com/ifupdown-ng/ifupdown-ng/blob/main/doc/ADMIN-GUIDE.md ifupdown-ng Admin Guide] | ||
* Use [https://github.com/ifupdown-ng/ifupdown-ng/blob/main/doc/interfaces-vxlan.scd vxlan], if using [[Ifupdown-ng]] instead of [[VLAN]] | |||
[[Category:Networking]] | [[Category:Networking]] |
Revision as of 03:59, 13 May 2025
ifupdown-ng is a network device manager which is backwards compatible with traditional ifup and ifdown as used on Debian and Alpine systems, while solving many design deficits with the original approach through robust error handling and the use of a dependency-solver to determine interface bring-up order.
Installation
The ifupdown-ng package is installed as part of alpine-base package and provides necessary tools for managing network configuration in Alpine Linux.
DHCP support
ifupdown-ng supports udhcpc
from BusyBox, dhcpcd and dhclient. Of these, only dhcpcd can interact with both DHCP and DHCPv6 from the same process, which ifupdown-ng requires. Thus the IPv4 DHCP configuration given on this page will also result in the use of DHCPv6, but only if the dhcpcd package is installed. The ifupdown-ng scripts prioritize dhcpcd over udhcpc as per /usr/libexec/ifupdown-ng/dhcp script.
The availability of ifupdown-ng package can be checked via the command ifquery --version
.
See also
- Main Networking page
- ifupdown-ng Admin Guide
- Use vxlan, if using Ifupdown-ng instead of VLAN