Set IP Address for Mellanox Infiniband Adapter on Ubuntu 20.04

Configure static IP for Mellanox Infiniband interfaces using netplan.

Check adapter state

Use ibstat to inspect port state and link layer.

Configure IP with netplan

Create/update netplan YAML for the target interface with static address, route, and DNS if needed.

Apply configuration:

1
sudo netplan apply

Verify with ip addr and ping tests.

记录并分享
Built with Hugo
Theme Stack designed by Jimmy