我有一个包含以下文本部分的文件:
--------------begin------------------
uncomment for static IP
iface eth0 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200
iface eth1 inet dhcp
---------------end---------------------
我想将IP地址更改为:192.168.151.23
改变后的文字看起来像这样:
--------------begin------------------
uncomment for static IP
iface eth0 inet static
address 192.168.151.23
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200
iface eth1 inet dhcp
---------------end---------------------
任何人都可以帮我吗?