linux网络配置(关于connect: network is unreachable)

上一篇 / 下一篇  2008-03-19 15:19:07 / 个人分类:linux

1.netconfig
设置ip

2.service network restart

3.dmesg | tail 或 cat /etc/modules.conf 看网卡认出来没
直接编辑 vi /etc/sysconfig/network-scripts/ifcfg-eth0 后再重起或ifconfig eth0 down ,ifconfig eth0 up

4.手工配置ip看能不能配置上
ifconfig eth0 172.18.128.143 netmask 255.255.255.0 broadcast 172.18.128.255
route add default gw 172.18.128.1(同一网段可以不要)
后再ping一下看
再ifconfig eth0 看一下


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-07-07  
  12345
6789101112
13141516171819
20212223242526
2728293031  

数据统计

  • 访问量: 11176
  • 日志数: 171
  • 影音数: 3
  • 建立时间: 2008-02-28
  • 更新时间: 2008-05-19

RSS订阅

Open Toolbar