No IPv6 address for tmfifo_net0 interface on host side

Hello, I am trying to configure a host system with one BlueField-3 card, and I have tried the commands here (Deploying BlueField Software Using BFB from Host - NVIDIA Docs) for the purpose of ssh’ing into the DPU using an IPv6 address.

However, after trying the command:

systemctl restart rshim

The IPv6 address still didn’t occur on the tmfifo_net0 interface of the host:

zhiyihu@alveo-u50d-01:/tmp/build/file_compression$ ip addr
10: tmfifo_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 00:1a:ca:ff:ff:02 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.1/30 scope global tmfifo_net0
       valid_lft forever preferred_lft forever

Could you help with it because I do not have sudo previlige on the system and the configuration for the virtual interface got restored daily. :

ip addr add dev tmfifo_net0 192.168.100.1/30

Or if you could provide another way for ssh’ing into the BlueField card, here is the current configuration on the BlueField card:

ubuntu@localhost:/opt/mellanox/doca/applications$ ip addr
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: oob_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 5c:25:73:e7:90:a8 brd ff:ff:ff:ff:ff:ff
    altname enamlnxbf17i0
    inet6 fe80::5e25:73ff:fee7:90a8/64 scope link 
       valid_lft forever preferred_lft forever
3: tmfifo_net0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1a:ca:ff:ff:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.2/30 brd 192.168.100.3 scope global noprefixroute tmfifo_net0
       valid_lft forever preferred_lft forever
    inet6 fe80::21a:caff:feff:ff01/64 scope link 
       valid_lft forever preferred_lft forever
4: p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether 5c:25:73:e7:90:94 brd ff:ff:ff:ff:ff:ff
    altname enp3s0f0np0
    inet6 fe80::5e25:73ff:fee7:9094/64 scope link 
       valid_lft forever preferred_lft forever
5: p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs-system state DOWN group default qlen 1000
    link/ether 5c:25:73:e7:90:95 brd ff:ff:ff:ff:ff:ff
    altname enp3s0f1np1
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether ce:c4:74:60:8b:54 brd ff:ff:ff:ff:ff:ff
7: ovsbr1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 5c:25:73:e7:90:94 brd ff:ff:ff:ff:ff:ff
8: ovsbr2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 5c:25:73:e7:90:95 brd ff:ff:ff:ff:ff:ff
9: pf0hpf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether 16:e5:45:36:f3:30 brd ff:ff:ff:ff:ff:ff
    altname enp3s0f0nc1pf0
    inet6 fe80::14e5:45ff:fe36:f330/64 scope link 
       valid_lft forever preferred_lft forever
10: pf1hpf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether 36:c8:96:3c:14:0d brd ff:ff:ff:ff:ff:ff
    altname enp3s0f1nc1pf1
    inet6 fe80::34c8:96ff:fe3c:140d/64 scope link 
       valid_lft forever preferred_lft forever
11: en3f0pf0sf0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether 46:f6:da:7f:4b:a8 brd ff:ff:ff:ff:ff:ff
    altname enp3s0f0npf0sf0
12: enp3s0f0s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 02:49:a3:4b:c8:8a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::49:a3ff:fe4b:c88a/64 scope link 
       valid_lft forever preferred_lft forever
13: en3f1pf1sf0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether 22:4b:7e:ea:9d:ad brd ff:ff:ff:ff:ff:ff
    altname enp3s0f1npf1sf0
14: enp3s0f1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 02:99:70:b3:7e:91 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::99:70ff:feb3:7e91/64 scope link 
       valid_lft forever preferred_lft forever

Thanks a lot!

Hi huzhiyi1037,

Can you manually set the IPv6 address and ssh into the DPU to check if IPv6 is disabled on the host? I think you can log in to the DPU using an IPv4 address, but it will be restored, right? Can authorized person permanently configure IPv4 using a configuration file? Additionally, is it ok for you to use minicom to log into DPU? If none of the above works, you might try upgrading drivers and firmware.

Problem solved. Thanks a lot!