aliases numeration should start from 0
in /etc/network/interfaces you have to tune interfaces like:
iface eth0
iface eth0:0 ...
iface eth0:1 ...
and so on
19.04.2012 00:17, Asif Iqbal написал:
I have the following config for interfaces
# cat /etc/network/interfaces
# This file describes
Not sure if this will help, but here's how I did it on my server (don't pay
attention to the wrong addresses or masks...):
auto eth0
iface eth0 inet static
address 192.168.1.31
netmask 255.255.240.0
gateway 192.168.1.1
up route add -host 192.168.1.31 dev eth0
pre-up iptables-re
Asif,
On Wed, Apr 18, 2012 at 04:17:18PM -0400, Asif Iqbal wrote:
> iface eth0:1 inet static
eth0:1 isn't an interface. As far as I'm aware, ifupdown doesn't support
aliases directly, so you can't just add a stanza for it in
/etc/network/interfaces. But I may need to be corrected on this.
I've a