由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - 网络设置问题
相关主题
linux routing table question from dummy为什么resolv.conf总被复原
is this legal: can still ping eth1 through eth0, even if eth1 cable is unplugged用ubuntu问题集锦
won't take the eth0 config from /etc/network/interaces求助:ubuntu上不了网(非无线)
2 default gateway when have 2 eth interfacesRe: 有没有什么网络函数能够 (转载)
dns-nameservers field in /etc/network/interfacewhy /etc/network/interfaces doesn't show "eth0"
Q: route: SIOCADDRT: Network is unreachablemake ubuntu to use static ip in command line
请问怎么获取pptp拨号后的子网?Ubuntu: internet works throught terminal, not from firefox?
Wireless 无法访问局域网Which DNS server are you using?
相关话题的讨论汇总
话题: eth1话题: iface话题: ip话题: netmask
进入Linux版参与讨论
1 (共1页)
b**r
发帖数: 352
1
ubuntu server 9.04
两个网口
#more /etc/nework/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 173.11.129.99
netmask 255.255.255.240
gateway 173.11.129.110
问题是可以ping 192.168.1.*, 但是ping 173.11.129.110时Destination Host
Unreachable
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
173.11.129.96 0.0.0.0 255.255.25
Z**0
发帖数: 1119
2
173.11.129.96 0.0.0.0 255.255.255.240 U 0 0 0 eth1
^
|
这个怎么可能呢?

【在 b**r 的大作中提到】
: ubuntu server 9.04
: 两个网口
: #more /etc/nework/interfaces
: auto eth0
: iface eth0 inet static
: address 192.168.1.200
: netmask 255.255.255.0
: auto eth1
: iface eth1 inet static
: address 173.11.129.99

z**r
发帖数: 17771
3
what's wrong with it?

【在 Z**0 的大作中提到】
: 173.11.129.96 0.0.0.0 255.255.255.240 U 0 0 0 eth1
: ^
: |
: 这个怎么可能呢?

z**r
发帖数: 17771
4
貌似不是你的问题. arp -a显示什么?

【在 b**r 的大作中提到】
: ubuntu server 9.04
: 两个网口
: #more /etc/nework/interfaces
: auto eth0
: iface eth0 inet static
: address 192.168.1.200
: netmask 255.255.255.0
: auto eth1
: iface eth1 inet static
: address 173.11.129.99

b**r
发帖数: 352
5
现在可以ping gateway 173.11.129.110了。没做任何改动。
但是不能ping subnet以外的任何IP,如DNS
Z**0
发帖数: 1119
6
空格给系统消灭了,我是疑问那个96。因为我很少用255。255。255。240这样的掩码。
如果用255。255。255。0这样的掩码,那个96通常是0。

【在 z**r 的大作中提到】
: what's wrong with it?
z**r
发帖数: 17771
7
as I said, it doens't sound like your issue

【在 b**r 的大作中提到】
: 现在可以ping gateway 173.11.129.110了。没做任何改动。
: 但是不能ping subnet以外的任何IP,如DNS

z**r
发帖数: 17771
8
...

【在 Z**0 的大作中提到】
: 空格给系统消灭了,我是疑问那个96。因为我很少用255。255。255。240这样的掩码。
: 如果用255。255。255。0这样的掩码,那个96通常是0。

p**i
发帖数: 688
9
理论上IP和mask的bitwise AND是network address (99.b & 240.b = 96.b)
这个network address不是自己填的, 应该不会有问题

【在 Z**0 的大作中提到】
: 空格给系统消灭了,我是疑问那个96。因为我很少用255。255。255。240这样的掩码。
: 如果用255。255。255。0这样的掩码,那个96通常是0。

b**r
发帖数: 352
10
问题解决了。非常低级的错误,有一个wireless router用作access point,正好使用
了同一个IP.第二个问题是ARP cache引起的,reset cable modem/router后工作正常。
安装了Asterisk,现在可以打电话了。
感谢各位指点。
1 (共1页)
进入Linux版参与讨论
相关主题
Which DNS server are you using?dns-nameservers field in /etc/network/interface
[求助]ICS无法访问citicards.comQ: route: SIOCADDRT: Network is unreachable
请问网络高手请问怎么获取pptp拨号后的子网?
升级到ubuntu9.04遇到的问题(都已解决)Wireless 无法访问局域网
linux routing table question from dummy为什么resolv.conf总被复原
is this legal: can still ping eth1 through eth0, even if eth1 cable is unplugged用ubuntu问题集锦
won't take the eth0 config from /etc/network/interaces求助:ubuntu上不了网(非无线)
2 default gateway when have 2 eth interfacesRe: 有没有什么网络函数能够 (转载)
相关话题的讨论汇总
话题: eth1话题: iface话题: ip话题: netmask