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.
Hi. Just to clarify things - I'm a newbie. Been using RHL8.0 for about four months. I have it up and running on its own box. That's how I can get to the web.
Now, for current issue. I am running Mandrake 9.1 on a Gigabyte GA-8SMMLP mobo. The network adapter (integrated on-board) is a RealTek RTL-8139. I know it's working because I can ping the card at its IP address and through the loopback. Plus it connected to get the on-line updates for my distro. I know I have a configuration setting out of whack somewhere, but I don't know where. It all looks good to me.
Like I said, I'm a newbie, so I don't know what information I have that might be useful so I don't know what to post. I know the IP address is good, 'cuz it's the same one I use when I boot to Windows. All the rest of the settings (gateway, broadcast, etc.) are the same as my Windows configuration. I can't figure it out. Can anyone either help or ask for the right info to help?
could you post your settings because there's not much to go on.
try ifconfig for your ipadress, route -n for the route table and cat /etc/resolve.conf for your dnsservers.
Originally posted by GJB could you post your settings because there's not much to go on.
try ifconfig for your ipadress, route -n for the route table and cat /etc/resolve.conf for your dnsservers.
GJB
ip address: 192.168.1.1
dnsservers: 206.156.230.1 206.156.230.2
route table:
Dest Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.4 0.0.0.0 U 0 0 0 eth0
I notice that the last entry in the route table has type U, not UG. AFAIK that means there isn't a default route pointing to the gateway. Not being a RedHat user, I don't know the file to edit to fix this, but one of you RH types surely do.
I have checked the route table for my RH box (is working) vs. the route table from my Md box (posted above, not working) and all of the entries in each table are identical - including the Flags for all three entries being "U" rather than "UG". Since my problem is not only unable to ping gateway, but unable to ping any other hosts on the same hub as this one. I'm not discounting this as the solution, I will look into it. But, given that it's configured (on the routing table, at least) identical to a working box, I don't hold out much hope that this will solve my problem.
Okay, I gotcha. Best bet seems to me to snoop the net from a working box (one of the ones you can't ping) to see if anything is getting across the wire. Ethereal will show you ICMP (what a ping is).
By the way, this may be a stupid question, but what does ifconfig -a show?
Sorry, but you've lost me now. What exactly do u mean by "snoop the net"? Does that mean check my internal network? Or check around the internet? And for what? What is Ethereal? Sorry for all the questions, but I am a newbie. Don't know most of the lingo.
ifconfig (-a) is pretty much identical on both boxes, except the IP addresses. One ends in .1 and the other ends in .254. The RH box ends in .254.
As for pinging, I can ping all the boxes on the network (and the internet) from all boxes EXCEPT my Md box WHEN running Md. I boot this same box to Win2k and it works wonderful. When Md is loaded, I can't ping out nor ping the Md box from anywhere else on the network.
Yep, that's sort of where I was going. When running mandrake, I am guessing that if config -a will show that eth0 has an IP address assigned. This would mean that 'ifconfig eth0' would show something like this on it's second line:
If you don't see that line, thats a problem, but it sounds like you do. If so, look at the next line; it should say UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Look at the lines begining RX packets and TX packets. What do they say?
Ethereal is a really nifty GUI tool that shows you everything that's going on on your local network. Google for it, and you will find rpms for your RH box. By 'snoop the net' I meant running ethereal or something like that to see what's happening.
The part that has me puzzled is that this box runs fine with W2K, but not with Mandrake. If in fact under Mandrake eth0 is correctly configured and up, why no pinging?
I'll have to get back to you on this. I appreciate (1) your willingness to help me with this and (2) your immediate availability. Unfortunately, the box (along with the rest of MY network) is on the other side of town. It'll be about 45 minutes (from now) before I can get there and check this stuff. I hope you're still around when I get that done. I'll post when I get more info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.