Dimitry Golubovsky
2007-Jun-13 13:32 UTC
[Bridge] Is it possible to put an aliased ethernet card on a bridge?
Hi, Suppose we have two aliases of the same ethernet card: ifconfig eth0 192.168.0.1 ifconfig eth0:1 192.168.1.1 Is it possible to add eth0:1 to a bridge, not adding its "physical parent" eth0? Sorry if this was answered before. Thanks. -- Dimitry Golubovsky Anywhere on the Web
Brad Dameron
2007-Jun-13 13:53 UTC
[Bridge] Is it possible to put an aliased ethernet card on a bridge?
On Wed, 2007-06-13 at 16:32 -0400, Dimitry Golubovsky wrote:> Hi, > > Suppose we have two aliases of the same ethernet card: > > ifconfig eth0 192.168.0.1 > ifconfig eth0:1 192.168.1.1 > > Is it possible to add eth0:1 to a bridge, not adding its "physical parent" eth0? > > Sorry if this was answered before. > > Thanks. >Yes this is allowed. Along with eth0.10:1 which is a VLAN tagged interface with an alias. Brad Dameron Systems Engineer Clearw're
Stephen Hemminger
2007-Jun-13 14:29 UTC
[Bridge] Is it possible to put an aliased ethernet card on a bridge?
On Wed, 13 Jun 2007 16:32:09 -0400 "Dimitry Golubovsky" <golubovsky@gmail.com> wrote:> Hi, > > Suppose we have two aliases of the same ethernet card: > > ifconfig eth0 192.168.0.1 > ifconfig eth0:1 192.168.1.1 > > Is it possible to add eth0:1 to a bridge, not adding its "physical parent" eth0? > > Sorry if this was answered before. >You can do it, you won't get anything usable. What are you trying to. Simple bridging is at level 2 not level 3 (IP).