2008-02-12

linux下网络配置——ip配置

关键字: linux 網絡 ip 配置
我在这只介绍字符模式下配置ip.第一种方法:配置ip[root@tpwb ~]# ifconfig eth0 192.168.0.5 配置网关[root@tpwb ~]# route add default gw 192.168.0.1配置完成后要[root@tpwb ~]# ifconfig eth0 down[root@tpwb ~]# ifconfig eth0 up或[root@tpwb ~]# service network restart开启etho端口但这种配置只能在当前模式下生效,重起后就会丢失.第二种方法:[root@tpwb ~]# cd /etc/sysconfig/ne ...
wenson
搜索本博客
我的相册
2b022472-f115-33a8-b6ba-cde7f0e18e2b-thumb
wenson
共 1 张
存档
最新评论