Kyle McDonald writes:
> It's too late to make a long short short, but My guess is that on the 
> machine I used to do the install, Ethernet 2 got installed a bge0, and 
> then when I moved the disk to the other machine,
> Solaris saw Ethernet1 and set it up as bge1.

Yes, that seems likely.

The *usual* way it works is that the first time the device is
enumerated, it gets recorded in /etc/path_to_inst.  That way, it'll
always have the same instance number, even if you add devices later.

If you have a system with bge0 and bge1, and you do an initial install
with bge0 disabled, then "bge1" would likely be identified as bge0,
and then you'd get the other interface labeled bge1 when it's
reenabled.

> Hence I'm seeing traffic swapped.
> 
> I bet I could use vanity naming to swap them back. but I'd like to learn 
> how to straighten this out at the lowest levels. How can I get Ethernet 
> 1 -> bge0 and Ethernet 2 -> bge1 just like it would have been if both 
> were enabled during installation?

You could hack path_to_inst but, really, I didn't just suggest that
out loud.  It's a road to perdition.

This kind of hardware swap is just what vanity naming was designed to
cover.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to