光口连接与ping测试
1、光口接上之后会识别如下:

2、将光口强制1000M并down和up之后会再次识别为千兆网络
ethtool -s eth0 speed 1000 duplex full autoneg off
ifconfig eth0 down
ifconfig eth0 up

3、设置网络并ping通
ifconfig eth0 192.168.1.218 netmask 255.255.255.0
ping 192.168.1.1

作者:yj 创建时间:2024-01-10 16:08
最后编辑:yj 更新时间:2024-01-15 15:23