Mark Maule wrote: > What I need is an interface of a given name (pmi_if) through which I can > broadcast packets out over multiple segments. As you can see I'm a little > fuzzy on networking concepts, so please bear with me. > > In my example, I have 4 machines: linux0, linux1, OS0, and OS1. We have the > following connectectivity: > > igb1:OS0:igb0 <--> eth1:linux0:eth2 <--> eth1:linux1:eth2 <--> > igb0:OS1:igb1 > > ^--------------------------------------------------------------------------------------^ > > Our software assumes each machine as an interface pmi_if through which > broadcast packets are sent and received by the pmi_if on all other machines. > > On Linux, I bridge eth1 and eth2 and name the resulting bridge pmi_if and I > get an interface which I can assign an ip address to. > > I'm looking for the procedure to do the same on OpenSolaris (OS0/OS1). > > Are you saying that I can just assign an ipaddr to one of the igb0/igb1 links > (say igb0), bridge them together and achieve the same behavior?
Yes, exactly. igb0 and igb1 would then be roughly equivalent for those purposes. The distinction between them would be that if you send a packet through igb0, then the source MAC address on the packet will be igb0's address, regardless of which interface is (or in the case of broadcast, "interfaces are") used. Similarly, plumbing on igb1 gets you a local MAC address on igb1. Since they're bridged together, though, they can both reach the same set of nodes. Constructing a bridge on Solaris is basically the same as plugging the two external ports into an external bridge. You still have those two ports available for plumbing, and the bridge connects things together. As I said before, the bridge itself doesn't have an assigned MAC address, so the idea of plumbing a link on top of the bridge doesn't quite make sense. If you could do it, you'd be unable to transmit any packets, because you wouldn't have a source MAC address. At best, we would be able to "fake it" by stealing a MAC address from some other real port on the bridge ... but that's not how it works. > If so, the last question becomes how to get the pmi_if name established for the bridge. Could I just 'dladm rename-link' the link which received the ipaddr to do that? I don't believe that renaming links to have the same name as another active link on the system is supported. I doubt that the code's been tested that way. Why would you want to do that? -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org