Re: Bridge with alias interface



On Thu, 2015-10-22 at 10:15 -0600, Nathanael D. Noblet wrote:
On Thu, 2015-10-22 at 17:39 +0200, Thomas Haller wrote:
Not with NM.

I didn't try it, but I don't think you can even do
that with kernel/brctl alone. A bridge slave needs an
ifindex, and alias interfaces don't have their own separate
device/ifindex.
Thus, you are anyway enslaving the whole eth0.


So the next question. Can I have a bridge with eth0 *and* an eth0:0
alias and expect things to work?


Interface aliases are concerned with the IP configuration (Layer 3) of
the device. Once you enslave the device eth0 to a bridge, it has no
more layer 3 properties and thus it makes no sense to have IP
configuration there.

Enslave eth0 and configure your IP addresses on the bridge device
itself, like having a "br0:0" ...

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]