Hello,
Wolter Kroes a crit :
Quote:> I have an network interface connected to a lot of VLANs
> This is no problem.
> Now i want some interfaces to have more ip addresses
> something like: eth0:1.199
Rather eth0.199:1.
Quote:> so on interface eth0 i want an alias 1 tagged with Vlan 199
> How can this be done?
The usual way : append the alias suffix to the interface name.
I assume the VLAN interface name is "eth0.199", so the alias name will
be "eth0.199:1".
Or you can just get rid of ifconfig and this stupid alias stuff and use
the "ip addr" command from the iproute2 package to manage network
interfaces. Unlike ifconfig, "ip addr" supports multiple addresses on an
interface in a *consistent* way.