[root@localhost ~]# ifcfg eth0 add 192.168.0.250/24 //添加地址250
Forwarding is ON or its state is unknown (4). OK, No RDISC.
[root@localhost ~]#ifconfig //查看网络信息
eth0 Link encap:Ethernet HWaddr 08:00:27:14:33:57
inet addr:192.168.0.250 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe14:3357/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:107276 errors:0 dropped:0 overruns:0 frame:0
TX packets:72250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:83580745 (79.7 MiB) TX bytes:5842176 (5.5 MiB)