LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network only works one way with Mandrake 10 (https://www.linuxquestions.org/questions/linux-networking-3/network-only-works-one-way-with-mandrake-10-a-189804/)

Parksy 06-04-2004 06:58 PM

Network only works one way with Mandrake 10
 
I have recently installed Mandrake 10 Official on my server, and the network doesn't work properly. I can ping my desktop and router from my server, but I cannot ping my server from my desktop. The server cannot ping itself either (@localhost, 127.0.0.1, or 192.168.0.134, its own ip address on the network). I installed over NFS, and the sources (which exist on my desktop) that I mounted to do the installation are still mounted and useable over the network from my server.

ifconfig -a returns this:
Code:

eth0      Link encap:Ethernet  HWaddr 00:06:29:2E:E0:58 
          inet addr:192.168.0.134  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::206:29ff:fe2e:e058/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:842 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:5 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56033 (54.7 Kb)  TX bytes:3859 (3.7 Kb)
          Interrupt:11 Base address:0x9000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1540 (1.5 Kb)  TX bytes:1540 (1.5 Kb)

sit0      Link encap:IPv6-in-IPv4 
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I don't see any problems with this (ip address exists anyways).

During the boot, it hangs for a few seconds while bringing up eth0 but still says [OK]. If I try to restart the network after boot (service network restart), bringing up the network fails. For this reason I don't think it is a firewall issue. What could be the problem?

maxpayne1977 06-05-2004 07:38 AM

Just a shot in the dark, but are you sure u have SNMP installed? As far as I remember, your utilities to check connectivity is included in that protocol.
You are pinging as root?
If u were able to ping localhost i would've said it might be the cable..
Sorry for giving stupid answers but i can't really think of anything specific.

Technonotice 06-05-2004 07:57 AM

Hmm... doesn't look good. Try flushing your firewall rules by running:

iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -P INPUT ACCEPT

If it was a default mandrake firewall rule set, it should have given you lo bypass rules, but it makes sense with the pinging.

Regards


All times are GMT -5. The time now is 11:26 AM.