Re: No ifconfig
Christian Seiler <christian@iwakd.de> wrote:
> auto eth0
> iface eth0 inet static
> address 192.168.0.1/24
> address 192.168.0.42/24
> address 10.5.6.7/8
> This will work, and it will assign all IPs to the interface (the first
> one being the primary and the source IP of outgoing packets where the
> program doesn't explicitly bind anything).
No, this does not work in Stretch. Only the first address is added. To
get additional addresses, it has to look like this:
,----
| auto eth0
| iface eth0 inet static
| address 192.168.0.1/24
|
| iface eth0 inet static
| address 192.168.0.42/24
|
| iface eth0 inet static
| address 10.5.6.7/8
`----
Grüße,
Sven.
--
Sigmentation fault. Core dumped.
Reply to: