- 论坛徽章:
- 0
|
回复 7楼 BSDFOX 的帖子
就是上不了网啊:( Ping内网可以Ping通,但Ping外网域名或IP都Ping不通。
运行几个命令如下:
#nslookup www.sina.com.cn
Server: 192.168.1.1
Address: 192.168.1.1#53 (不知何解)
Non-authoritative answer:
www.sina.com.cn canonical name = jupiter.sina.com.cn
Name: jupiter.sina.com.cn
Address: 202.108.33.32
#traceroute www.sina.com.cn
traceroute to jupiter.sina.com.cn (202.108.33.32),64 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 *^C
#ping www.sina.com.cn
Ping jupiter.sina.com.cn (202.108.33.32); 56 data bytes
然后就没反应了。。。
#cat /etc/rc.conf
hostname="jgh.bsdfox.com"
ifconfig_rl0="DHCP"
ipv6_enable="YES"
keymap="us.iso"
linux_enable="YES"
usbd_enable="YES"
#ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80: :20a :ebff :feac :2fc5%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.109 netmask 0xfffffff00 broadcast 255.255.255.255
ether 00 :0a :eb :ac :2f :c5
media : Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 : :1 prefixlen 128
inet6 fe80 : :1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
请各位高手帮助看一下,到底哪里出了问题啊,能Ping能内网,但ping不通外网(域名和IP都不行)
[ 本帖最后由 BSDFOX 于 2006-8-4 08:48 编辑 ] |
|