LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ethernet keeps workin then stopping !?! (https://www.linuxquestions.org/questions/linux-networking-3/ethernet-keeps-workin-then-stopping-213925/)

Iceman_Chris 08-05-2004 03:42 PM

eth0 keeps disconnecting itself from the internet ?!?
 
Please help,

my fedora linux machine keeps having an internet connection then losing it.
i use shaw cable internet (don't laugh) and my network is like this:

CABLE MODEM - HUB - SERVER AND ROUTER - ROUTER TO OTHER COMPUTERS

i used ifconfig and one day it shows my ip and i can ssh to it and the next day it has no ip and the ethernet card lights don't even blink.

i have to restart the server everytime i want my internet to work again and i get a new ip each time. my ethernet cables are fine and everything works fine when i use my server through the router.

i want to eventually use dynip and run a webserver but i find that hard to do without internet.

thx.

Thoreau 08-05-2004 06:56 PM

OK, I don't know how this ever worked well, but here is the problem:

CABLE MODEM - HUB - SERVER AND ROUTER - ROUTER TO OTHER COMPUTERS

I don't understand what you are trying to accomplish with that config, but your packets are going to be bouncing all over God's creation trying to get out. The setup should be:

cable modem- router(how many ports?)- hub(if no ports left on router/remove otherwise)- server and lan clients

You simply set up ip and port forwarding to your server on the router itself. Whether a linux box or a dlink or cisco brick.

From the given information, that's the best that I can derive. I wouldnt blame hardware yet as that topology is seriously jacked. Good luck.

Iceman_Chris 08-06-2004 12:17 AM

yes,
i had originally done that but my, err, lets say boss told me that he didn't want my server in the network because of many reasons including that we ran out of ports. i also wanted an ip to myself anyways.

Thoreau 08-10-2004 02:19 AM

That reminds me of something I once heard. Those who can't do, teach. Those who can't teach, manage.

The phsyics of packet routing isn't going to change. I don't know what to say other than... leave it broken?


All times are GMT -5. The time now is 10:34 AM.