Accessing the SoC via the Management Port or the USB Port

Managing the SoC on Napatech IPUs

Platform
Napatech IPU
Content Type
Application Note

Use this information to enable remote SSH access via the management port or the USB port for remote management.

Before you begin

Make sure that you have:

About this task

This procedure shows you how to configure the SoC via the UART interface on the IPU for enabling SSH access using the management port or the USB port.

Procedure

  1. On the serial console, log in to the IPU if a login prompt is displayed.
    For example:
    …
    …
    Type [C-a] [C-h] to see available commands
    Terminal ready
    
    localhost login: root
    Password:
    You can log in to the IPU using the following default credentials.
    • User name: root
    • Password: ipuadm123
  2. Check the configuration file for the network interface.
    For example:
    vim /etc/systemd/network/i210-wired.network
    It is configured for DHCP by default. Edit the file with the desired network configuration.
    [Match]
    Name=enp1s0
    [Network]
    DHCP=yes
    For setting a static IP address, see the following configuration example.
    [Match]
    Name=enp1s0
    [Network]
    DHCP=no
    DNS=10.20.22.1
    [Address]
    Address=10.20.22.222/24
    [Route]
    Gateway=10.20.22.1
    Restart systemd-networkd if the network configuration is changed.
    systemctl restart systemd-networkd
  3. Check the assigned IP address.
    ip a
    An output example:
    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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether 00:0d:e9:f1:08:27 brd ff:ff:ff:ff:ff:ff
        inet 10.10.8.178/22 metric 1024 brd 10.10.11.255 scope global dynamic enp1s0
           valid_lft 3401sec preferred_lft 3401sec
        inet6 fe80::20d:e9ff:fef1:827/64 scope link
           valid_lft forever preferred_lft forever
  4. Log in via SSH.
    You can log in from a remote SSH session using an SSH client, provided you have network connectivity. Connect to the IPU remotely using SSH.
    ssh root@<IP>

    where IP is the actual IP address assigned to the IPU.