LINUX下手工修改IP地址

/etc/sysconfig/network-scripts
# Intel Corporation 82540EM Gigabit Ethernet Controller

DEVICE=eth0
#BOOTPROTO=dhcp
BOOTPROTO=static
HWADDR=08:00:27:11:2F:4C
ONBOOT=yes
TYPE=Ethernet
[color=red]IPADDR=10.224.104.175[/color
]NETMASK=255.255.255.0
USERCTL=no
IPV6INIT=no
PEERDNS=yes

你可能感兴趣的:(linux)