由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - Q: route: SIOCADDRT: Network is unreachable
相关主题
is this legal: can still ping eth1 through eth0, even if eth1 cable is unplugged请教各位达人LINUX网络路由问题
网络设置问题Wireless 无法访问局域网
[求助]ICS无法访问citicards.comWhich DNS server are you using?
请问网络高手为什么resolv.conf总被复原
双网卡的配置问题!!升级到ubuntu9.04遇到的问题(都已解决)
求助: How to add Trusted Devices in Firewall on RedHat 5 (or Centos 5)?问个远程唤醒机器的问题
2 default gateway when have 2 eth interfaces用ubuntu问题集锦
move cable from eth1 to eth0, but cannot ping eth0请教kickstart自动安装linux的问题
相关话题的讨论汇总
话题: eth0话题: route话题: siocaddrt话题: network话题: eth1
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
hi i have eth0 and eth1,both static ip.
eth0 is not plugged in initially.
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 10.50.183.254 0.0.0.0 UG 0 0 0 eth1
10.50.180.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
then i plugin eth0,
#route add default gw 10.50.183.254 eth0
#route: SIOCADDRT: Network is unreachable
how should i fix it ?
thanks !
a9
发帖数: 21638
2
eth0有ip嘛。

eth1
eth1

【在 w*s 的大作中提到】
: hi i have eth0 and eth1,both static ip.
: eth0 is not plugged in initially.
: # route -n
: Kernel IP routing table
: Destination Gateway Genmask Flags Metric Ref Use
: Iface
: 0.0.0.0 10.50.183.254 0.0.0.0 UG 0 0 0 eth1
: 10.50.180.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
: then i plugin eth0,
: #route add default gw 10.50.183.254 eth0

w*s
发帖数: 7227
3
yes, i did the "ifconfig ...." after plug in the eth0,
btw, this is barebone embedded system, doesn't have fancy stuff...

【在 a9 的大作中提到】
: eth0有ip嘛。
:
: eth1
: eth1

1 (共1页)
进入Linux版参与讨论
相关主题
请教kickstart自动安装linux的问题双网卡的配置问题!!
求助:ubuntu9.04 无线wpa上网失败求助: How to add Trusted Devices in Firewall on RedHat 5 (or Centos 5)?
求助:ubuntu上不了网(非无线)2 default gateway when have 2 eth interfaces
DNS problemmove cable from eth1 to eth0, but cannot ping eth0
is this legal: can still ping eth1 through eth0, even if eth1 cable is unplugged请教各位达人LINUX网络路由问题
网络设置问题Wireless 无法访问局域网
[求助]ICS无法访问citicards.comWhich DNS server are you using?
请问网络高手为什么resolv.conf总被复原
相关话题的讨论汇总
话题: eth0话题: route话题: siocaddrt话题: network话题: eth1