Network interface aliases with dhcpcd (static IP's)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
As far as I understand, /etc/network/
I do too use the interfaces method because I need multiple IP's for my network interface. But this introduces problems as well. Below is my config, when I restart networking.service I get the error "Failed to start Raise network interfaces.", without being specific about the problem.
---
source-directory /etc/network/
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.1.0.2
netmask 255.255.255.0
gateway 10.1.0.10
dns-nameservers 10.1.0.53 10.1.0.10
dns-search home.lan home.vpn
iface eth0:0 inet static
address 10.1.0.53
netmask 255.255.255.0
iface eth0 inet6 static
address 2001:abc:
netmask 64
gateway fe80::abff:
dns-nameservers 2001:abc:
dns-search home.lan home.vpn
accept_ra 1
privext 2
---
So what I would like to know is this:
1) Is it possible to configure multiple IP's for the same network interface with dhcpcd?
2) If not, how to proceed? And please update the documentation accordingly [1].
3) Little out of scope of this report, but if someone can see the problem with my interfaces configuration, then that would be appreciated as well. Even without the interface alias (eth0:0) it fails.
[1] https:/
[2] https:/