EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
ARM linux 的网络配置如下:
0 x/ W, c1 ~' L0 y6 N! kip:192.168.1.163
% n1 T* s) G* L0 Rbacst:192.168.1.2557 A+ z) x: H6 J% s: n0 S
mask:255.255.255.0' G. ] D; e" O1 L f
Destination Gateway Genmask Flags Metric Ref Use Iface
% c2 ]7 V) A# u+ ^, a |default 192.168.1.1 0.0.0.0 UG 0 0 0 eth09 |0 h o: T& |, U" H
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 pc 的网络配置 ip:192.168.1.16 mask: 255.255.255.0 arm 与 pc 能相互ping通 随后arm输入以下指令 ifconfig eth0 netmask 255.255.255.224 arm Linux的网络配置自动变成如下: ip:192.168.1.163 bacst:192.168.1.191 mask:255.255.255.224 Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.160 * 255.255.255.224 U 0 0 0 eth0 默认网关不见了。 随后arm ping pc端 # ping 192.168.1.16 PING 192.168.1.16 (192.168.1.16): 56 data bytes ping: sendto: Network is unreachable 我想请教下: 1、如上设置,arm怎么会ping不通pc 2、修改子网掩码有什么特定的注意的吗 最后: 祝路过的朋友节节高升~
" f5 e, `) M* s |