LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection works but not for me... (https://www.linuxquestions.org/questions/linux-networking-3/connection-works-but-not-for-me-110948/)

gvaught 10-31-2003 06:04 PM

Connection works but not for me...
 
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. :D

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?

:study: :Pengy: :study:

GJB 10-31-2003 06:10 PM

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

gvaught 10-31-2003 06:19 PM

Quote:

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

domain tranquility.net
nameserver 127.0.0.1
nameserver 206.156.230.1

I hope I got it all

:confused:

GJB 10-31-2003 06:41 PM

okay your default gateway is 192.168.1.4, can you ping that box from this box ?
if you can ping that box can you ping 1 of the dns servers ?

GJB

gvaught 10-31-2003 06:48 PM

Nope. I can ping the IP address of eth0 and lo on that box only. I can't ping ANY other computer on my net or the internet.

GJB 10-31-2003 06:54 PM

do you have a firewall installed on the mandrake box ?

gvaught 10-31-2003 06:58 PM

No. I have a dedicated box for my firewall, so I left the Mandrake box fairly open.

GJB 10-31-2003 07:01 PM

If you gave an iptables -F on that box and then try to ping ?

GJB

gvaught 10-31-2003 07:07 PM

[QUOTE]Originally posted by GJB
If you gave an iptables -F on that box and then try to ping ?

GJB
[/Q]

-bash: iptables: command not found

not much help to me. does it tell you anything?

musrum 11-01-2003 10:49 AM

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.

gvaught 11-01-2003 02:05 PM

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.

musrum 11-01-2003 02:14 PM

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?

gvaught 11-01-2003 02:33 PM

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.

Does any of that help?

musrum 11-01-2003 02:54 PM

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:

inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0

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?

gvaught 11-01-2003 03:02 PM

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.

:)


All times are GMT -5. The time now is 03:07 AM.