cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11733
Views
10
Helpful
23
Replies

IOS XRv 9000 Gigabit Ethernet Interfaces missing

Good day,

 

I have installed IOS XRv 9000 from an OVA downloaded from the Cisco site.

I have tried many different versions and all of them do not have any interfaces except for Mg0 after booting. 

I am importing the OVA into ESX.

 

Any help would be appreciated.

Current version: Cisco IOS XR Software, Version 6.2.25

Kind Regards,

Hendrik

23 Replies 23

bersoare
Cisco Employee
Cisco Employee

Hi Hendrick,

 

Have you provisioned other nics through ESX? You might have placed only one nic, and that's why you only see one interface.

Jake_Sullivan
Level 1
Level 1
I'm encountering this exact same issue with 6.2.25. I've tried ESXi and QEMU/KVM with the same result. Dropping into shell and running ifconfig -a shows only eth0 and the bridge mappings for the control plane regardless of how many NICs are configured.

Hey bersoare,

Thanks for the prompt response.

I've tried E1000, VMXNET3, and virtio-pci ,  all of which are properly detected on a hardware level.
Here's what I'm seeing (I have four nics configured in the below example to keep the output short, I've tested with up to 12 configured):

 

 

RP/0/RP0/CPU0:ios#sh ip int br
Thu Dec 28 14:01:39.550 UTC

Interface                      IP-Address      Status          Protocol Vrf-Name
MgmtEth0/RP0/CPU0/0            unassigned      Shutdown        Down     default

 

 

 

RP/0/RP0/CPU0:ios#sh int br
Thu Dec 28 14:01:41.917 UTC

               Intf       Intf        LineP              Encap  MTU        BW
               Name       State       State               Type (byte)    (Kbps)
--------------------------------------------------------------------------------
                Nu0          up          up               Null  1500          0
    Mg0/RP0/CPU0/0  admin-down  admin-down               ARPA  1514    1000000


Thu Dec 28 14:00:37.625 UTC

Cisco IOS XR Software, Version 6.2.25
Copyright (c) 2013-2017 by Cisco Systems, Inc.

Build Information:
 Built By     : ahoang
 Built On     : Thu Sep 28 20:50:39 PDT 2017
 Build Host   : iox-lnx-058
 Workspace    : /auto/srcarchive12/production/6.2.25/xrv9k/workspace
 Version      : 6.2.25
 Location     : /opt/cisco/XR/packages/

[xr-vm_node0_RP0_CPU0:~]$lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Device 1234:1111 (rev 02)
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 Ethernet controller: Red Hat, Inc Virtio network device
00:05.0 Ethernet controller: Red Hat, Inc Virtio network device
00:06.0 Ethernet controller: Red Hat, Inc Virtio network device
00:07.0 SCSI storage controller: Red Hat, Inc Virtio block device

[xr-vm_node0_RP0_CPU0:~]$ifconfig -a | grep eth
eth0      Link encap:Ethernet  HWaddr 00:41:39:8f:46:00
eth-vf0   Link encap:Ethernet  HWaddr 52:54:00:35:0c:56
eth-vf1   Link encap:Ethernet  HWaddr 52:54:00:c1:39:98
eth-vf1.1794 Link encap:Ethernet  HWaddr 52:54:01:5c:55:8e
eth-vf1.3073 Link encap:Ethernet  HWaddr e2:3a:dd:0a:8e:06
eth-vf1.3074 Link encap:Ethernet  HWaddr 4e:41:50:00:00:01

 

 

Driver information for the virtio nic (lspci -vv):

 


00:05.0 Ethernet controller: Red Hat, Inc Virtio network device
        Subsystem: Red Hat, Inc Device 0001
        Physical Slot: 5
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at c080 [size=32]
        Region 1: Memory at febd3000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at feb40000 [disabled] [size=256K]
        Capabilities: [40] MSI-X: Enable+ Count=3 Masked-
                Vector table: BAR=1 offset=00000000
                PBA: BAR=1 offset=00000800
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci

 

 

Log output:

[xr-vm_node0_RP0_CPU0:~]$dmesg | grep eth
[    2.872323] udevd[1076]: renamed network interface eth0 to mgmt-eth0
[    2.878159] udevd[1073]: renamed network interface eth1 to ctrl-eth0
[    2.891215] udevd[1083]: renamed network interface eth2 to host-eth0
[   18.445072] device sysadmin-eth0 entered promiscuous mode
[   18.451069] IPv6: ADDRCONF(NETDEV_UP): sysadmin-eth0: link is not ready
[   18.467104] device sysadmin-eth1 entered promiscuous mode
[   18.473100] IPv6: ADDRCONF(NETDEV_UP): sysadmin-eth1: link is not ready
[   18.473105] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   18.473114] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   19.442105] ieobc_br: port 2(sysadmin-eth1) entered disabled state
[   20.919137] IPv6: ADDRCONF(NETDEV_CHANGE): sysadmin-eth0: link becomes ready
[   20.919191] local_br: port 2(sysadmin-eth0) entered forwarding state
[   20.919197] local_br: port 2(sysadmin-eth0) entered forwarding state
[   20.934251] IPv6: ADDRCONF(NETDEV_CHANGE): sysadmin-eth1: link becomes ready
[   20.934276] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   20.934282] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   58.532761] ieobc_br: port 2(sysadmin-eth1) entered disabled state
[   58.543819] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   58.543824] ieobc_br: port 2(sysadmin-eth1) entered forwarding state
[   58.553989] 8021q: adding VLAN 0 to HW filter on device mgmt-eth0
[   58.554163] 8021q: adding VLAN 0 to HW filter on device host-eth0
[  197.272313] device xr-eth0 entered promiscuous mode
[  197.279243] IPv6: ADDRCONF(NETDEV_UP): xr-eth0: link is not ready
[  197.298190] device xr-eth1 entered promiscuous mode
[  197.307111] IPv6: ADDRCONF(NETDEV_UP): xr-eth1: link is not ready
[  197.307116] ieobc_br: port 3(xr-eth1) entered forwarding state
[  197.307120] ieobc_br: port 3(xr-eth1) entered forwarding state
[  198.271203] ieobc_br: port 3(xr-eth1) entered disabled state
[  199.975141] IPv6: ADDRCONF(NETDEV_CHANGE): xr-eth0: link becomes ready
[  199.975161] local_br: port 3(xr-eth0) entered forwarding state
[  199.975164] local_br: port 3(xr-eth0) entered forwarding state
[  199.990183] IPv6: ADDRCONF(NETDEV_CHANGE): xr-eth1: link becomes ready
[  199.990207] ieobc_br: port 3(xr-eth1) entered forwarding state
[  199.990212] ieobc_br: port 3(xr-eth1) entered forwarding state
[  202.343841] local_br: port 3(xr-eth0) entered disabled state
[  202.350087] local_br: port 3(xr-eth0) entered forwarding state
[  202.350095] local_br: port 3(xr-eth0) entered forwarding state
[  202.368885] 8021q: adding VLAN 0 to HW filter on device eth0
[  235.457691] device eth-vf1 entered promiscuous mode
[  274.895835] lcndklm_vrf: inf: Init: TPA Vlan netdev eth-vf1.1794 found (refcnt 15)
[  303.930190] device lcp-eth0 entered promiscuous mode
[  303.936129] IPv6: ADDRCONF(NETDEV_UP): lcp-eth0: link is not ready
[  303.952170] device lcp-eth1 entered promiscuous mode
[  303.959108] IPv6: ADDRCONF(NETDEV_UP): lcp-eth1: link is not ready
[  303.959113] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  303.959117] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  304.932049] ieobc_br: port 4(lcp-eth1) entered disabled state
[  306.548147] IPv6: ADDRCONF(NETDEV_CHANGE): lcp-eth0: link becomes ready
[  306.548167] local_br: port 4(lcp-eth0) entered forwarding state
[  306.548170] local_br: port 4(lcp-eth0) entered forwarding state
[  306.567119] IPv6: ADDRCONF(NETDEV_CHANGE): lcp-eth1: link becomes ready
[  306.567135] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  306.567139] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  308.562377] ieobc_br: port 4(lcp-eth1) entered disabled state
[  308.563779] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  308.563783] ieobc_br: port 4(lcp-eth1) entered forwarding state
[  342.292791] device eth-vf1 entered promiscuous mode

 

 

 

 

Thanks for taking a look at this. I've got some time free today and tomorrow, so if there's any further information you require, I'd be happy to provide it.

 

 

 

 

 

 

 

 

 

 

 

Hi Jake,

 

In XRv, your eth0 will be mapped to the mgmt int, eth1 and 2 correspond to interfaces used for internal communication: 

 

[    2.878159] udevd[1073]: renamed network interface eth1 to ctrl-eth0
[    2.891215] udevd[1083]: renamed network interface eth2 to host-eth0

 

I don't see the other interfaces (that would be eth3, eth4, and so on). 

Check this page for reference:

 

https://www.cisco.com/c/en/us/td/docs/routers/virtual-routers/configuration/guide/b-xrv9k-cg/b-xrv9k-cg_chapter_01000.html#concept_921C07E3903E4A47A30E8504C6E81AA5

 

It really looks like something is not right at the drivers/kernel level.

 

I would try going for a clean install from the ISO, or maybe redeploying it on another hypervisor (KVM, for example) just for comparison.

 

 

That was my original thought as well. The info provided above was for KVM. I've also gotten the same behavior on ESXi 6.0U2 as the OP. I've tried the OVA, the qcow2 image, and the iso files provided in the download with the same result on each.

I'm running into a similar issue with this version.  If I go over 22 interfaces (0 - 21)  I lose all gigabit ethernet interfaces.  22 and under, everything works fine. I have tried with various combinations of pci-bridges but nothing seems to change.  The guest machine shows all interfaces with lspci. I am using an up to date version of qemu and creating the device with libvirt/virsh

 

[host:~]$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 PCI bridge: Red Hat, Inc. Device 0001
00:03.0 PCI bridge: Red Hat, Inc. Device 0001
00:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
00:05.0 Ethernet controller: Red Hat, Inc Virtio network device
00:06.0 Ethernet controller: Red Hat, Inc Virtio network device
00:08.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
00:09.0 SCSI storage controller: Red Hat, Inc Virtio block device
01:01.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:05.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:06.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:07.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0a.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0b.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0d.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0e.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:0f.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:10.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:11.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:12.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:13.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:14.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:15.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:16.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:17.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:18.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:19.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1a.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1b.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1d.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1e.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
01:1f.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
02:01.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
02:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
02:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)

Any luck?

None yet.  I'll take another shot at this next week.

daniele matta
Level 1
Level 1

I had the same problem.

The interfaces where not visible in any show interface cmd,

it was enough to enter in configuration mode and no shut them.

 

Can you please try to enter int conf mode and issue:
interface ?
it should give you as outout the GIgabitEthernet0/0/0/0

 

important is to assign to the XRv at least 7 interfaces

Has anyone found a solution for this yet?  I've tried everything but am unable to get a physical interface on IOS-XRv.

The device will support some interfaces but not all. The state of what I have been able to do with kvm is still 22 interfaces, as mentioned in my previous post.  Although, I haven't tried much since my last post as I am not actively using the XRv.

Hi all,

Anyone got a solution on this issue ?

Thanks

Hi Ju,

I ended up resolving this issue by moving the VM to a Xeon CPU based host. I only see this issue on an AMD CPU based host.

What CPU does your host have?

 

Regards,

Hendrik