|
发表于 2006-12-1 20:59:02
|
显示全部楼层
我的机器是redhat el 4 能访问局域网,但ping 不通网关。
后来我在虚拟机上安装了一个fedora 4却可以正常上网。
我发过贴子没有人回。
我的相关信息如下:
系统是采用dhcp的。网关59.108.192.34
ifconfig
[root@FBL ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:CC:36:6E:8E
inet addr:192.168.3.202 Bcast:192.168.7.255 Mask:255.255.248.0
inet6 addr: fe80::2a0:ccff:fe36:6e8e/64 Scope ink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:520 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:39786 (38.8 KiB) TX bytes:4931 (4.8 KiB)
Interrupt:201 Base address:0x2000
lo Link encap ocal 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:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4572 (4.4 KiB) TX bytes:4572 (4.4 KiB)
resolv.conf
[root@FBL ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 202.106.0.20
netstat -r
[root@FBL ~]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 * 255.255.248.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
哪位帮我能搞定呀。
谢谢啦 |
|