Installing Media Flow Controller with CD-ROM or USB : Ethernet Naming Options : About Option 5, Specify Devices to Use For eth0 and eth1

About Option 5, Specify Devices to Use For eth0 and eth1
If you are Ok with the interfaces being automatically assigned and only need to set up eth0 and perhaps eth1, and do not want to use the interactive method (option 4), you can use the option 5, similar to the now-deprecated eth-setup installation command. Option 5 provides a way to specify which devices to use for eth0 and optionally eth1. Output shown below; input shown in bold. This example shows the assigning of the interfaces.
Enter 1, 2, 3, 4, 5 or 6 : 5
==============================================================
Current ethernet device naming:
eth0
PCI address: 0000:01:00.0 HW address: 00:15:17:8A:49:90
Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
eth1
PCI address: 0000:01:00.1 HW address: 00:15:17:8A:49:91
Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
eth10
PCI address: 0000:04:00.0 HW address: 00:13:72:3C:33:56
inet addr: 172.19.172.238
Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
eth11
PCI address: 0000:05:00.0 HW address: 00:13:72:3C:33:57
Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
==============================================================
Enter 0 to not make any ethernet device naming changes. Otherwise enter the specification for eth0, and optionally eth1, and then press return to generate the new port to name mapping. For an explanation of the specifications that can be used enter 'help'.
Enter 0, help or the spec >
Enter 0, help or the spec > help
Syntax forms:
default|least-ports|most-ports|<URL>|url
<HWaddr> [<HWaddr>]
Examples of all the forms:
default
least-ports
most-ports
http://66.224.165.46/mfd-images/1.0.0-45.img
url
00:30:48:B8:F8:22
F8:22
f8:23 ca:A8
When "default" is specified, eth0 and eth1 are assigned in the order that the devices are on the PCI bus. eth0 might not be assigned to the port that you want it to be. The other options allow you to specify which port to use as
eth0 (and eth1).
When "least-ports" is specified, the first NIC card with the least number of
ports is used for eth0 (and eth1 if there are two or more ports on that NIC).
When "most-ports" is specified, the first NIC card with the most number of
ports is used for eth0 and eth1.
You may specify an http or https URL, and the ethernet device that provides access to that URL will be used for eth0.
In the situation where you installed from a URL, you can specify the word "url", and it will use that URL to select eth0 as described above.
You may specify a HWaddr to force eth0 to use that device. You can specify a second HWaddr to be used for eth1. For the HWaddr, aka MAC addr, you do not have to specify all the octets, you may specify as little as two of the right most octets as long as that is unique across all the installed ethernet devices.
Enter 0 to not make any ethernet device naming changes. Otherwise enter the specification for eth0, and optionally eth1, and then press return to generate the new port to name mapping. For an explanation of the specifications that can be used enter 'help'.
Enter 0, help or the spec > 33:56 33:57
= Assigning interface names
-- MAC: 00:13:72:3C:33:56 Mapping from: eth2 to: eth0
-- MAC: 00:13:72:3C:33:57 Mapping from: eth3 to: eth1
-- MAC: 00:15:17:8A:49:90 Mapping from: eth0 to: eth10
-- MAC: 00:15:17:8A:49:91 Mapping from: eth1 to: eth11
The new mapping is:
eth10
PCI address: 0000:01:00.0 HW address: 00:15:17:8A:49:90
Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
eth11
PCI address: 0000:01:00.1 HW address: 00:15:17:8A:49:91
Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
eth0
PCI address: 0000:04:00.0 HW address: 00:13:72:3C:33:56
inet addr: 172.19.172.238
Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
eth1
PCI address: 0000:05:00.0 HW address: 00:13:72:3C:33:57
Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
Enter 0 to NOT USE this new ethernet port naming.
Enter 1 to USE this new ethernet port naming.
Otherwise enter the specification for eth0, and optionally eth1,
and then press return to generate the new port to name mapping.
For an explanation of the specifications that can be used enter 'help'.
Enter 0, 1, help or the spec > 1
Saving...
Enter 1 to Reboot to complete the installation.
Enter 2 to Halt. Installation will continue when rebooted.
Enter 3 to Flash ethernet port LEDs.
Enter 4 to Configure ethernet device names interactively.
Enter 5 to Specify devices to use for eth0 and eth1.
Enter 6 to Reset ethernet device naming back to default.
Enter 1, 2, 3, 4, 5 or 6 :

Report an Error
Media Flow Controller and Media Flow Manager Installation Guide
Copyright © 2010 Juniper Networks, Inc.