Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've hooked up a RedHat 7.1 computer to my Lan (Linksys router, alcatel speed touch home) and I am trying to configure it with dhcp.
ifconfig shows eth0 as up, but I am unable to ping any ip addresses. I think this is probably a simple configuration problem - I'm not sure I have all the right numbers in the right places in netcfg.
what was the ip you tried to set as the default, it has to be on the network your ip is in or maybe your netmask is incorrect, with a 255 that means you cannot have any other number in that octet
Last edited by DavidPhillips; 12-17-2001 at 09:24 AM.
I ran the commands as you suggested, and it no longer gives me the network unreachable error. But when I try to ping something I get the following printed out
From (my ip) : Destination Host Unreachable
Now would this just be because I haven't assigned the correct IP?
On my Alcatel speed touch modem there's both an IP address and a gateway address. Seeing how I have a router between that and my computer are those numbers even relevant? and if not how do I obtain the IP of my router to use?
I entered the ifconfig and route commands like you suggested, I used 192.168.1.3 for the linux box and 192.168.1.1 for the router and that enabled me to ping outside hosts.
I then entered the host name and ip address of the isp in the hosts section of netcfg, entered the nameservers, and changed the default gateway in netcfg to 192.168.1.1 and it worked.
So once again, thank you very much for all your help David
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.