Description

Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.


 

This article explains how to swap interfaces back to their expected configurations.

Note : This issue affects STRM 5000 II and NEBS appliances as well as the JSA 1500 [juniper.net] and 3500.

 

Symptoms

Ethernet interfaces were swapped. For versions 2012.2R3 and earlier, please see the following Knowledge Base article instead: KB17314 - [STRM/JSA] Interfaces are swapped [juniper.net]

Solution

After the device reboots, you will most likely see something like this scroll past:

igb: Intel(R) Gigabit Ethernet Network Driver - version 3.2.10-k
igb: Copyright (c) 2007-2011 Intel Corporation.
igb 0000:09:00.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
igb 0000:09:00.0: Intel(R) Gigabit Ethernet Network Connection
igb 0000:09:00.0: eth2: (PCIe:2.5Gb/s:Width x4) 00:e0:81:c1:12:b8 <——— We want this to be eth0
igb 0000:09:00.0: eth2: PBA No: FFFFFF-0FF
igb 0000:09:00.0: Using MSI-X interrupts. 8 rx queue(s), 8 tx queue(s)
igb 0000:09:00.1: PCI INT B -> GSI 40 (level, low) -> IRQ 40
igb 0000:09:00.1: Intel(R) Gigabit Ethernet Network Connection
igb 0000:09:00.1: eth3: (PCIe:2.5Gb/s:Width x4) 00:e0:81:c1:12:b9 <——— We want this to be eth1
igb 0000:09:00.1: eth3: PBA No: FFFFFF-0FFls
igb 0000:09:00.1: Using MSI-X interrupts. 8 rx queue(s), 8 tx queue(s)
udev: renamed network interface eth2 to rename4
udev: renamed network interface eth3 to rename5


e1000e 0000:03:00.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:e0:81:c1:12:91 <——— We want this to be eth2
e1000e 0000:03:00.0: eth0: Intel(R) PRO/1000 Network Connection
e1000e 0000:03:00.0: eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
e1000e 0000:02:00.0: Disabling ASPM L0s
e1000e 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
e1000e 0000:02:00.0: eth1: (PCI Express:2.5GT/s:Width x1) 00:e0:81:c1:12:90 <——— We want this to be eth3
e1000e 0000:02:00.0: eth1: Intel(R) PRO/1000 Network Connection
e1000e 0000:02:00.0: eth1: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF

1. Edit /etc/udev/rules.d/70-persistent-net.rules and correct as shown in the following configuration.

2. Replace the MAC addresses with the corresponding values from the output above.

root@STRMhost~]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{ADDRESS.EN_US}=="00:e0:81:c1:12:b9", ATTR{TYPE.EN_US}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{ADDRESS.EN_US}=="00:e0:81:c1:12:91", ATTR{TYPE.EN_US}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{ADDRESS.EN_US}=="00:e0:81:c1:12:b8", ATTR{TYPE.EN_US}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{ADDRESS.EN_US}=="00:e0:81:c1:12:90", ATTR{TYPE.EN_US}=="1", KERNEL=="eth*", NAME=“eth3"

3. Reboot the device.

4. Check network connectivity.

Modification History

2017-05-26: Added a note in the summary section about specific versions this issue affects.

2020-12-10: Tagged as EOL/EOE as JSA1500 [juniper.net] and JSA3500 [juniper.net] have reached End of Support

SKU EOL Announced Last Order Last Date to Convert Warranty Same Day Support Discontinued Next Day Support Discontinued End of Support
JSA3500-BSE, JSA5500-BSE, STRM-USB-REC [juniper.net] 04/30/2015 10/30/2015 10/30/2016 10/30/2017 10/30/2018 10/30/2018
JSA1500-BSE [juniper.net] 05/13/2014 06/30/2014 06/30/2014 12/31/2015 12/31/2015 12/31/2015

Related Information