Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
To Anyone Who Can Help,
I am very new to Linux. I have just installed RH 9.0 on my Toshiba Satellite 1800.
Everything whent fine durring installation(other than sound, but I knew of the problem before hand), but now that I have everything set up, I am having trouble working the bugs out of my network card.
My Laptop is hooked up to a multi port hub, in star formation, with a DSL line running in as the link. Using DHCP. I have set up a small LAN.
Durring starup everything loads perfectly fine. My NIC is on eth0. It connects to the DNS, receives its IP address, and downloads its necessary information. When I go into a terminal, I can ping myself (loopback), but it refuses to ping anyone, including all other computers hooked up to the hub.
# ping x.x.x.x
connect: Network is Unreachable
If I do ifconfig, it tells me my IP, says the card is active and running.
At first I thought it might be a problem with the driver, but the correct driver is installed.
Then after reading multiple forums, I now think it is a problem with routing. But I am very new to this. And whenever I try and do something to my Routing Table, it tells me the same thing.
# route add gw x.x.x.x
SOCADD: Network is Unreachable
My routing table is set up as follows:
Destination Gateway Netmask Device
169.254.0.0 0.0.0.0 255.255.0.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
If anyone knows a few tricks to help me out, it would be gretaly appreciated!
Your routing table is missing the destination network address.
Perhaps your eth0 is not configure correctly.
Since you are using RH9, you can use the GUI tool to configure eth0.
Open a terminal window and type: redhat-config-network-gui
Verify that the info for eth0 is correct. Then restart the Network service.
You can also edit the file manually
After typing in those two commands, my network is up and running!
For some reason, my dynamically assigned IP address is giving me problems. If I try to do "ifconfig eth0 x.x.x.x" using the actual IP address DHCP assigns me, then it justs tells me "network is unreachable", but If I choose a new IP, then it works properly.
I am having the problem of having to do this every time I reboot. When I add those two lines to my rc.local file, do I have to put a word or phrase in front of them?!
So far when I add them to rc.local, they do not resolve my error upon startup.
Thanks for the help guys, these forums are better than cheesecake... and boy do I love cheesecake.
Your the man Tyler!!!
Last edited by renegade69; 08-14-2003 at 12:44 AM.
please copy the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 file here and i will see if i can troubleshoot that for you. also, did you make sure there was a carriage return, or blank line, at the end of the rc.local file? also, perhaps adding, before the two we added to rc.local, the following:
Everything is workign perfect now. I am writing this message in mozzilla.
I had written down my dynamically assigned IP address in the line:
ifconfig eth0 x.x.x.x
in the rc.local file... After I changed the last number in the address to a new number, everything works fine!
Thanks for all the help Tyler, much appreciated!!!