LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2007, 03:57 AM   #1
close2me
LQ Newbie
 
Registered: Jul 2006
Location: Canton
Distribution: Debian Etch
Posts: 14

Rep: Reputation: 0
Unhappy using the same network setting,my xp can connect to internet,bu Fedora can not.WHY?


I installed xp & fedora on my system. and both of them can connect to internect without problems.
For some reasons i re-installed my fedora, that's the very nightmare begins.
My fedora cannot go to internet from then on.

there is my network setting:
IP: 202.116.71.148
Netmask: 255.255.254.0
Gateway: 202.116.70.1

Kernel IP routing table:
Destination Gateway Genmask flags Metric Ref Use Iface
202.116.70.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
166.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 202.116. 70.1 0.0.0.0 UG 0 0 0 eth0

when i tried to use Wget to connect to certain URL, i was prompted:
no route

and i did the following work:

[root@localhost setmefree]# /usr/sbin/tcpdump -iv eth0 > log &
[3] 2630
[root@localhost setmefree]# tcpdump: ioctl: No such devic

then i ping the gateway
# ping 202.117.70.1

#tac ./log
11:35:40.637225 arp who-has 202.116.70.1 tell 202.116.71.148
11:35:41.637246 arp who-has 202.116.70.1 tell 202.116.71.148
11:35:42.637268 arp who-has 202.116.70.1 tell 202.116.71.148
.
.
.
11:35:44.637306 arp who-has 202.116.70.1 tell 202.116.71.148

[root@localhost setmefree]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


[root@localhost setmefree]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:E9:42:35:F8
inet addr:202.116.71.148 Bcast:202.116.71.255 Mask:255.255.254.0
inet6 addr: fe80::215:e9ff:fe42:35f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:16 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x2c00

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


My xp system also has the same network configureation: the same IP and netmask the same network adapter, the same Gateway. it works very well.

i feel very very frustated, i don't know what is the problem.

andbody can give me a hand. tks in advance. !!!!
 
Old 05-10-2007, 04:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
ok, well firstly you can see that that tcpdump command totally failed. "eth1" is an option to the -i flag, not -v, so "tcpdump -vi eth1" would have worked. but looking at the arp broadcasts, it could be that the device is failing to respond, so it's probably worth going back to that tcpdump attempt to actually see the arps and check if you're getting any replies. i'd guess that you're not. what *is* the gateway hardware? what does "arp -n" list about the known devices comapred to "arp -a" run on xp?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 5. Can't connect to Sendmail or Dovecot outside internet network impulse() Linux - Security 2 08-16-2006 05:01 AM
Setting up router (Linksys WRT54G v5) to connect to internet (SUSE 9.3) Jongi Linux - Networking 2 11-15-2005 02:33 PM
Configure setting to connect to internet?? amd_2800 Linux - Software 1 03-11-2005 10:21 AM
Setting up a home network - can't connect to router awagner99 Linux - Networking 7 01-30-2005 10:23 PM
help! setting for connect internet via ADSL router(suse 9.1) mysurface Linux - Networking 0 10-21-2004 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration