开放SUSE 12
LAN 驱动程序已启动并运行:
me@here:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:4D:F9:93:F2
inet fe80::21a:4dff:fef9:93f2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metracic:1
RX packets:406 errors:0 dropped:72 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33701 (32.9 Kb) TX bytes:9039 (8.8 Kb)
Interrupt:44 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:240 errors:0 dropped:0 overruns:0 frame:0
TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17863 (17.4 Kb) TX bytes:17863 (17.4 Kb)
me@here:~> /sbin/arp
Address HWtype HWaddress Flags Mask Iface
78.90.162.1 ether 00:1b:fc:66:4e:86 C eth0
但是,我似乎无法 ping 通路由器:
me@here:~> ping -b 78.90.162.255
WARNING: pinging broadcast address
PING 78.90.162.255 (78.90.162.255) 56(84) bytes of data.
^C
--- 78.90.162.255 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 8999m
通过同一根电缆,WindowsXP 机器连接得很好,输出以下参数:
IP 地址 95.111.106.82
子网掩码:255.255.255.0
网关:95.111.106.65
DNS 服务器:95.111.106.65
从现在开始我应该做什么?
答案1
我同意 @njsg 的观点,即适配器未分配 IPv4 地址。我建议完全禁用 IPv6,然后重新启动计算机。最简单的方法是通过 YaST。转至 YaST > 网络 > 网络设置,您应该在“全局选项”选项卡上看到一个用于禁用 IPv6 的选项。然后重新启动并查看是否可以解决问题。
答案2
为什么要ping广播地址呢?您能 ping 通您提到的网关 (95.111.106.65) 吗?有外部地址吗?