QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 669|回复: 0

无法浏览外网,寝食难安,拜求大家会诊解决!!

[复制链接]
发表于 2005-8-1 23:02:52 | 显示全部楼层 |阅读模式
近日新安装了Fedora Core4系统后,对于网络的使用出现了一点问题,查看了很多资料也没能解决,现恳求大家会诊解决,在此拜谢!!

1.故障现象:
    同一台IBM T40笔记本电脑,安装有winXP和Fedora Core 4两种操作系统。局域网环境(IP地址采用DHCP分配)。
在WinXP环境下采用IP地址分配和DNS设置自动检测的方法,网络使用正常,
但在Fedora Core4环境下,仍采用IP地址分配和DNS设置自动检测的方法后,只能采用直接输入IP地址浏览内网,无法访问外网。
(另,此前在相同的环境下安装的Rehat9故障也如此)

2.这是同台电脑在WinXP下的网络配置情况:
Windows IP Configuration
        Host Name . . . . . . . . . . . . : IBMT40
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : ltxl.xbzb.sinopec.com.cn
Ethernet adapter :
        Connection-specific DNS Suffix  . : ltxl.xbzb.sinopec.com.cn
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
        Physical Address. . . . . . . . . : 00-09-6B-3F-DC-75
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.207.96.207
        Subnet Mask . . . . . . . . . . . : 255.255.255.192
        Default Gateway . . . . . . . . . : 10.207.96.254
        DHCP Server . . . . . . . . . . . : 10.207.96.3
        DNS Servers . . . . . . . . . . . : 61.128.99.133
                                                     10.207.96.4
        Primary WINS Server . . . . . . . : 10.207.96.4
        Lease Obtained. . . . . . . . . . : 2005年8月1日 11:04:59
        Lease Expires . . . . . . . . . . : 2005年8月1日 23:04:59

3.这是Fedora下的网络情况:
  (1)ping -a

eth0      Link encap:Ethernet  HWaddr 00:09:6B:3F:DC:75  
          inet addr:10.207.96.207  Bcast:10.207.96.255  Mask:255.255.255.192
          inet6 addr: fe80::209:6bff:fe3f:dc75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5903 (5.7 KiB)  TX bytes:2630 (2.5 KiB)

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:1209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1302184 (1.2 MiB)  TX bytes:1302184 (1.2 MiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


(2)route
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.207.96.192   *               255.255.255.192 U         0 0          0 eth0
169.254.0.0     *               255.255.0.0     U         0 0          0 eth0
default         10.207.96.254   0.0.0.0         UG        0 0          0 eth0


(3)more /etc/resolv.conf
; generated by /sbin/dhclient-script
search ltxl.xbzb.sinopec.com.cn
nameserver 61.128.99.133
nameserver 10.207.96.4

(4)more /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:09:6b:3f:dc:75
BOOTPROTO=dhcp

  (5)more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1        localhost.localdomain        localhost        IBMT40

(6)ping命令测试
本地回环

[root@IBMT40 ~]# ping -b 127.0.0.0
WARNING: pinging broadcast address
PING 127.0.0.0 (127.0.0.0) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.044 ms

--- 127.0.0.0 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.044/0.046/0.049/0.005 ms, pipe 2


本机IP
[root@IBMT40 ~]# ping 10.207.96.207
PING 10.207.96.207 (10.207.96.207) 56(84) bytes of data.
64 bytes from 10.207.96.207: icmp_seq=0 ttl=64 time=0.056 ms
64 bytes from 10.207.96.207: icmp_seq=1 ttl=64 time=0.049 ms
64 bytes from 10.207.96.207: icmp_seq=2 ttl=64 time=0.040 ms
64 bytes from 10.207.96.207: icmp_seq=3 ttl=64 time=0.045 ms

--- 10.207.96.207 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.040/0.047/0.056/0.009 ms, pipe 2


网关IP
[root@IBMT40 ~]# ping 10.207.96.254
PING 10.207.96.254 (10.207.96.254) 56(84) bytes of data.
64 bytes from 10.207.96.254: icmp_seq=0 ttl=255 time=1.56 ms
64 bytes from 10.207.96.254: icmp_seq=1 ttl=255 time=3.99 ms
64 bytes from 10.207.96.254: icmp_seq=2 ttl=255 time=2.71 ms
64 bytes from 10.207.96.254: icmp_seq=3 ttl=255 time=1.22 ms

--- 10.207.96.254 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.222/2.373/3.992/1.087 ms, pipe 2

主DNS
[root@IBMT40 ~]# ping 61.128.99.133
PING 61.128.99.133 (61.128.99.133) 56(84) bytes of data.

--- 61.128.99.133 ping statistics ---
523 packets transmitted, 0 received, 100% packet loss, time 521966ms
主DNS无法Ping通
在我处的局域网中, winXP环境下主DNS也无法ping通

Pinging 61.128.99.133 with 32 bytes of data: Request timed out. Request timed out.
Request timed out.
Ping statistics for 61.128.99.133: Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),


次DNS
[root@IBMT40 ~]# ping 10.207.96.4
PING 10.207.96.4 (10.207.96.4) 56(84) bytes of data.
64 bytes from 10.207.96.4: icmp_seq=0 ttl=127 time=0.213 ms
64 bytes from 10.207.96.4: icmp_seq=1 ttl=127 time=0.200 ms
64 bytes from 10.207.96.4: icmp_seq=2 ttl=127 time=0.202 ms
64 bytes from 10.207.96.4: icmp_seq=3 ttl=127 time=0.192 ms

--- 10.207.96.4 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.192/0.201/0.213/0.018 ms, pipe 2

  (7)service network restart正在关闭接口 eth0:                                        [  确定  ]
关闭环回接口:                                             [  确定  ]
弹出环回接口:                                             [  确定  ]
弹出界面 eth0:
正在决定 eth0 的 IP 信息...完成。
                                                           [  确定  ]

  (nslookup命令[root@IBMT40 ~]# nslookup
> 163.com
Server:         10.207.96.4
Address:        10.207.96.4#53

Non-authoritative answer:
Name:   163.com
Address: 220.181.29.154
> www.163.com
Server:         10.207.96.4
Address:        10.207.96.4#53

Non-authoritative answer:
www.163.com     canonical name = www.cache.split.netease.com.
Name:   www.cache.split.netease.com
Address: 220.181.28.42
> exit

[root@IBMT40 ~]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 04:28 , Processed in 0.038743 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表