Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th November 2010, 11:14 AM
onyangoliech Offline
Registered User
 
Join Date: Mar 2007
Posts: 4
linuxfedorafirefox
have to keep restarting network

I installed Fedora 13 in my machine. Was installed properly. I had internet and everything initially. I have a router directly connected with a cable to my lan. After installed everything I "added" my machine to an already existing network with only windows machines. I added my machine to the network with a cable. My problem now is that I can't access internet. However, I can see all other computers in the network, ping, browse in the network, everything. can't ping anything outside the lan, access the Windows mail server or access any internet site. However if I restart the network with "service network restart" I can browse for a few seconds then it goes down and I have to restart again to continue browsing.
These are the configs;
ifconfig:
eth0 Link encap:Ethernet HWaddr 90:E6:BA:51:50:7D
inet addr:192.168.1.128 Bcast:192.168.7.255 Mask:255.255.248.0
inet6 addr: fe80::92e6:baff:fe51:507d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:232627 errors:0 dropped:0 overruns:0 frame:0
TX packets:30017 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33240608 (31.7 MiB) TX bytes:5696666 (5.4 MiB)
Interrupt:27 Base address:0x2000

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:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3664 (3.5 KiB) TX bytes:3664 (3.5 KiB)

cat /etc/resolv.conf

nameserver 41.220.238.4
nameserver 192.201.231.167

nslookup www.yahoo.com
^Z
[1]+ Stopped nslookup www.yahoo.com

sudo iptables -nL
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

Does anybody know any kind on configuration I have to do in my linux box or in my cisco router to make this work?

---------- Post added at 03:14 AM GMT ---------- Previous post was at 02:04 AM GMT ----------

The router IP is 192.168.1.1 and they are on the same subnet with my computer
Reply With Quote
  #2  
Old 25th November 2010, 01:15 PM
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,448
linuxfedorafirefox
Re: have to keep restarting network

I suspect the route is not set up right, what does this say:
Quote:
route -n

Given what you've said, your route should probably look like this:
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Reply With Quote
  #3  
Old 26th November 2010, 08:12 AM
onyangoliech Offline
Registered User
 
Join Date: Mar 2007
Posts: 4
linuxfedorafirefox
Re: have to keep restarting network

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Reply With Quote
  #4  
Old 26th November 2010, 11:53 AM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by onyangoliech View Post
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Given

inet addr:192.168.1.128 Bcast:192.168.7.255 Mask:255.255.248.0

(one of) the route(s) should be something like:

192.168.0.0 0.0.0.0 255.255.248.0 .....

If your router is using netmask 255.255.255.0 for a 192.168.1.0 network, then one (or both) of the parties is (are) going to miss broadcast packets.

David
Reply With Quote
  #5  
Old 26th November 2010, 12:22 PM
onyangoliech Offline
Registered User
 
Join Date: Mar 2007
Posts: 4
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by David Becker View Post
Given

inet addr:192.168.1.128 Bcast:192.168.7.255 Mask:255.255.248.0

(one of) the route(s) should be something like:

192.168.0.0 0.0.0.0 255.255.248.0 .....

If your router is using netmask 255.255.255.0 for a 192.168.1.0 network, then one (or both) of the parties is (are) going to miss broadcast packets.

David


The router subnet mask is 255.255.248.0 could this be a reason why I have to refresh the connection every 2 seconds?
Reply With Quote
  #6  
Old 26th November 2010, 01:00 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by onyangoliech View Post
The router subnet mask is 255.255.248.0 could this be a reason why I have to refresh the connection every 2 seconds?
That was the other case (case1: router.netmask==255.255.255.0; case2: router.netmask==255.255.248.0).

In both cases, the client using a netmask of 255.255.255.0 for its route is going to lead to anomalies due to disagreement between the client and the router on the broadcast address. If the client wants to send a broadcast (192.168.7.255), then the route tables won't provide an entry along which the broadcast may travel. pings (and most unicast traffic) will/may go through while more elaborate protocols using broadcasts (samba, etc.) will go flakey.

David
Reply With Quote
  #7  
Old 26th November 2010, 01:41 PM
jroa1 Offline
Registered User
 
Join Date: Oct 2010
Posts: 229
windows_xp_2003firefox
Re: have to keep restarting network

Yes, but the OP said he can ping and browse within the network. He does not mention problems with broadcasts.
Reply With Quote
  #8  
Old 26th November 2010, 01:46 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by jroa1 View Post
Yes, but the OP said he can ping and browse within the network. He does not mention problems with broadcasts.
My car doesn't work and the technician mentioned that my transmission is faulty but he didn't fix it because I hadn't mentioned problems with my transmission.

David
Reply With Quote
  #9  
Old 26th November 2010, 01:48 PM
onyangoliech Offline
Registered User
 
Join Date: Mar 2007
Posts: 4
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by jroa1 View Post
Yes, but the OP said he can ping and browse within the network. He does not mention problems with broadcasts.
That's true I can ping the router interface but I cannot browse. I cannot even telnet to the router and maintain the connection for more that 2 seconds. It's quite strange. I also have a FC 10 server running squid. Now I cannot use the proxy.
Reply With Quote
  #10  
Old 26th November 2010, 01:52 PM
jroa1 Offline
Registered User
 
Join Date: Oct 2010
Posts: 229
windows_xp_2003firefox
Re: have to keep restarting network

I would be mad at my technician if I brought the car in because it would not start and he says, "It sounds like transmission trouble to me".
Reply With Quote
  #11  
Old 26th November 2010, 01:54 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by onyangoliech View Post
That's true I can ping the router interface but I cannot browse. I cannot even telnet to the router and maintain the connection for more that 2 seconds. It's quite strange. I also have a FC 10 server running squid. Now I cannot use the proxy.
It's not quite strange considering the settings.

On the client:
Code:
# route del -net 192.168.1.0 netmask 255.255.255.0
# route add -net 192.168.0.0 netmask 255.255.248.0
David
Reply With Quote
  #12  
Old 26th November 2010, 01:55 PM
jroa1 Offline
Registered User
 
Join Date: Oct 2010
Posts: 229
windows_xp_2003firefox
Re: have to keep restarting network

Quote:
Originally Posted by onyangoliech View Post
That's true I can ping the router interface but I cannot browse. I cannot even telnet to the router and maintain the connection for more that 2 seconds. It's quite strange. I also have a FC 10 server running squid. Now I cannot use the proxy.
Have you double checked the router settings? Sounds to me like the router is blocking your internet access.
Reply With Quote
  #13  
Old 26th November 2010, 02:00 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfedorafirefox
Re: have to keep restarting network

Quote:
Originally Posted by jroa1 View Post
Have you double checked the router settings? Sounds to me like the router is blocking your internet access.
You can lead a mule to water but you can't make him drink.

David
Reply With Quote
Reply

Tags
network, restarting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unplugging network cbl, restarting network service crashes FC12 glubbdrubb Servers & Networking 1 4th February 2010 12:23 PM
restarting network service brought system down zak_wang Using Fedora 19 4th November 2008 01:27 PM
Avoid restarting network service after hibernating yersin Servers & Networking 1 24th March 2008 10:38 AM
Restarting X? dargosch Using Fedora 1 11th October 2007 09:26 AM
restarting network manager after suspend? high Using Fedora 5 5th December 2006 11:05 PM


Current GMT-time: 02:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat