LINUX环境下,实时配置有线网络(Under linux environment, configure wired network in real time)

步骤 1.
设置网络

set gatewayip xxx.xxx.xxx.xxx 
set ipaddr xxx.xxx.xxx.xxx

步骤 2.
然后 ping 一下其他机器,如无意外,网络将能正常工作

————————

Step 1
Set up network

set gatewayip xxx.xxx.xxx.xxx 
set ipaddr xxx.xxx.xxx.xxx

Step 2
Then Ping other machines. If there is no accident, the network will work normally