1. 关闭网卡
# ifconfig bge0 down
2. 配置IP地址,并激活网卡
# ifconfig bge0 172.28.124.194 netmask 255.255.255.128 up
3. 设定路由IP
#route add default 172.28.124.254
1. 关闭网卡
# ifconfig bge0 down
2. 配置IP地址,并激活网卡
# ifconfig bge0 172.28.124.194 netmask 255.255.255.128 up
3. 设定路由IP
#route add default 172.28.124.254