不能上外网,大家救命啊
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
不能上外网,大家救命啊
大家帮帮忙,装了UBUNTU8.04和9.04都是一样,无法上外网,也PING不通DNS,但内网上网及PING都很正常。网卡灯正常,IP和DNS在XP下很正常。
1、IFCONFIG结果
fzwyg@fzwyg-ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:76:0f:dd:e9
inet addr:10.10.0.13 Bcast:10.10.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe0f:dde9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15567 errors:0 dropped:0 overruns:0 frame:0
TX packets:469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16468320 (15.7 MB) TX bytes:54412 (53.1 KB)
Interrupt:20 Base address:0xc000
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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、LSPCI结果
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
1、IFCONFIG结果
fzwyg@fzwyg-ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:76:0f:dd:e9
inet addr:10.10.0.13 Bcast:10.10.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe0f:dde9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15567 errors:0 dropped:0 overruns:0 frame:0
TX packets:469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16468320 (15.7 MB) TX bytes:54412 (53.1 KB)
Interrupt:20 Base address:0xc000
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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、LSPCI结果
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
没人能帮帮我吗?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
这个命令不能用啊,提示没有安装,现在没上网不能安装啊!
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
不过/ETC/RESOLV.CONF中DNS是对的:nameserver 218.85.157.99
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
fzwyg@fzwyg-ubuntu:~$ cat /etc/resolv.conf
nameserver 218.85.157.99
nameserver 218.85.157.99
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
不要,原来这台机装XP。很正常。一直以为是网卡没驱动,但好像也不是!急死啦
装红旗6也是这个问题,见鬼啦!
装红旗6也是这个问题,见鬼啦!
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
静态,公司不允许DHCP
fzwyg@fzwyg-ubuntu:~$ cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.10.0.13
netmask 255.255.255.0
gateway 10.10.0.235
fzwyg@fzwyg-ubuntu:~$ cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.10.0.13
netmask 255.255.255.0
gateway 10.10.0.235
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 不能上外网,大家救命啊
-
- 帖子: 8
- 注册时间: 2007-06-25 18:18
Re: 不能上外网,大家救命啊
问题解决了,要把网关先指定到232防火墙,再改回235交换机就没问题了,不知道什么原因。谢谢啦!
-
- 帖子: 5
- 注册时间: 2009-07-04 16:50
Re: 不能上外网,大家救命啊
fzwyg 写了:问题解决了,要把网关先指定到232防火墙,再改回235交换机就没问题了,不知道什么原因。谢谢啦!
大哥能不能再讲的详细一点, 我和你的情况一样?