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

Re: [Testbed-admins] "add new nodes" and switchmac questions about configuration.



Ben Burnett wrote:
I'm working to add new nodes into our testbed, but the switchmac results and the automatic setting of the port numbers for the ctrl switch and the expt switchs do not fill-out correctly. Could someone look at my screen shots and let me know if there is something I can do to fix the auto-fill scripts, or if I just have to make the adjustments manually to each node as I enter it.

Hi Ben,

I was stumbling with this the other day as well. One thing to make sure is that the pc3000r type is set to use the correct control interface. This will control which interface is listed as control in the new node setup page.

My other question relating to all this is that should I do something regarding the ordering of the nics? (Linux vx FreeBSD) I have bce0 then a quad intel card em0-em3 then bce1 and my control interface is connected to bce1 on every node, do I need to move my control to bce0 to fix the problem with switchmac and the auto-filling of data?

The Linux/BSD ordering is a separate issue from which interface is considered to be the control interface. What I did is reorder the interfaces as they appear under Linux, then made sure the type for those nodes used the control interface index as listed in the Linux order.

For example, our nodes have two buitin NICs (em0, em1), and three PCI cards (sk0..2). Under BSD they are ordered with the em interfaces first, but under Linux the sk interfaces come first. We use em0 as the control, so what I did was first reorder the interface numbers in the new node setup:

FreeBSD Linux
0       3
1       4
2       0
3       1
4       2

Then, I made sure that the type for these nodes (pc3400 in our case) used interface 3 as the control interface. Once this was done, the web interface displayed the correct MAC address for the control interface.

Michael