RedHat系 IP固定

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.15
NETMASK=255.255.255.0
NETWORK=192.168.0.0
HWADDR=00:00:11:11:22:22
ONBOOT=yes
GATEWAY=192.168.0.1
[PR]
by tenten909 | 2008-08-29 14:07 | PC-Unix等