#!bin/bash
sudo ifconfig enp0s31f6.204 10.204.0.10 netmask 255.255.0.0
sudo ifconfig enp0s31f6.204 hw ether xx:xx:xx:00:00:xx
sudo arp -d 10.204.0.5
sudo arp -d 10.204.0.6
sleep 2
sudo arp -s 10.204.0.5 xx:45:45:00:00:xx
sudo arp -s 10.204.0.6 xx:45:45:00:00:xx
arp设置 IP 和 mac
最新推荐文章于 2024-07-21 15:41:44 发布