Running ip

Alveo X3522 Installation Guide (UG1522)

Document ID
UG1522
Release Date
2023-08-28
Revision
1.4 English

If you have installed the X3522 low latency network adapter:

  1. Use the ip command to list addresses:
    $ ip address show
  2. Find:
    • The first interface on the card (see Determine Interface Names).
    • Any other interfaces on the card, that can be identified by their adjacent MAC addresses.

    For example:

    $ ip address show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether 50:9a:4c:6c:e1:8a brd ff:ff:ff:ff:ff:ff
        inet 10.108.201.143/21 brd 10.108.207.255 scope global dynamic noprefixroute eno1
           valid_lft 50698sec preferred_lft 50698sec
        inet6 fe80::529a:4cff:fe6c:e18a/64 scope link noprefixroute
           valid_lft forever preferred_lft forever
    3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
        link/ether 50:9a:4c:6c:e1:8b brd ff:ff:ff:ff:ff:ff
    4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
        link/ether 52:54:00:2f:47:fc brd ff:ff:ff:ff:ff:ff
        inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
           valid_lft forever preferred_lft forever
    5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
        link/ether 52:54:00:2f:47:fc brd ff:ff:ff:ff:ff:ff
    14: enp1s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether 00:0a:35:0d:91:70 brd ff:ff:ff:ff:ff:ff
    15: enp1s0f0np2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether 00:0a:35:0d:91:72 brd ff:ff:ff:ff:ff:ff
    16: enp1s0f1np1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether 00:0a:35:0d:91:71 brd ff:ff:ff:ff:ff:ff
    17: enp1s0f1np3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
        link/ether 00:0a:35:0d:91:73 brd ff:ff:ff:ff:ff:ff
  3. Confirm that:
    • There are two interfaces per cage that is using a DSFP28 cable or splitter.
    • There is one interface per cage that is using an SFP cable.

    The preceding example output includes four interfaces from the X3522, because both its cages are using DSFP28 cables.

Note: You can alternatively use the ifconfig -a command to confirm the correct number of network interfaces for the X3522.