On 08/24/10 06:14 PM, Mark Maule wrote:
> Hi all:
> 
> I'm trying to bridge a couple of physical links and assign an ipaddr to the 
> resulting bridge.  I'm not very familiar with OpenSolaris bridging, and would 
> appreciate any help.
> 
> My system has the following:
> 
> # dladm show-phys
> LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
> igb0         Ethernet             up         1000   full      igb0
> igb1         Ethernet             unknown    0      half      igb1
> 
> I bridge them with:
> 
> # dladm create-bridge -l igb0 -l igb1 pmi_if
> # svcadm enable pmi_if
> # [ network/bridge:pmi_if starting (bridge) ]

You don't need to do svcadm enable above, the bridge:pmi_if service is enabled
by the create-bridge command.

> # dladm show-bridge
> BRIDGE      PROTECT ADDRESS            PRIORITY DESROOT
> pmi_if      stp     32768/0:25:90:2:9b:6e 32768 32768/0:25:90:2:9b:6e
> # dladm show-bridge -l pmi_if
> LINK        STATE       UPTIME  DESROOT
> igb0        discarding  0       32768/0:25:90:2:9b:6e
> igb1        disabled    0       0/0:0:0:0:0:0
> 
> And now I'm not sure what to do.  I want to assign an ipaddr to the pmi_if0 
> interface.

pm_if0 is the bridge observability device (you can run snoop/wireshark to view 
bridged traffic)
and you cannot plumb IP over it. Instead you can plumb IP over the bridged 
interfaces.
In your example above once bridged you can still plumb IP on the bridged 
interfaces (igb0, igb1).

Rishi
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to