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.
Just learning about linux networking. Have two mandrake 9.2 machines networked. Mandrake control center indicates both network cards are up. Static IP addresses assigned to same network. IFCONFIG shows IP addresses, netmask, etc. I can ping localhost, but cannot ping other machine. Here's the output:
[root@linux hnash53]# ping 192.168.1.251
PING 192.168.1.251 (192.168.1.251) 56(84) bytes of data.
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
From 192.168.1.30 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.1.30 icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Operation not permitted
Been struggling all day with books, resources, howtos, etc. HELP!!!
How is the network configured. Are the computers connected through a hub, switch or router? Are the network cards link lights illuminated? Do you have known good ethernet cables?
Are the firewalls enabled are the PC's. If so turn it off.
the comps are connected through a known and tested good crossover cable. I haven't enabled any firewalls, but don't know how to check to see if anything is enabled.
Mandrake Control center under security for security settings and firewall settings. Set the security settings for lowest level and verify the firewall is disabled.
Did you check the NIC link lights to see if they were illuminated on both PC's?
What is the output of the following command for each computer
/sbin/mii-tool
[root@linux hnash53]# /sbin/mii-tool
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
SIOCGMIIREG on eth0 failed: Operation not supported
eth0: negotiated 100baseT4 flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok
It seems to me that you have a problem with your routing table.
Try adding something like this:
route add -n 192.168.1.0 netmask 255.255.255.0 dev {your device}
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329
Rep:
Hi - you said you had TWO machines connected to each other?
Do you have another machine connected to the internet???
I can only repeat what MichealK asked you to do.. post the precise details of how your network is set up. Do you use a cable or dial up modem? Do you have a separate firewall / router?
I have two machines connected via crossover cable. I can ping, ssh, into each computer. One computer is connected to the internet via dialup modem. But I cannot seem to share out the dialup modem to the other computer. I am using SuSE 9.0 Professional. I have used Yast2 to enable ip forwarding, masquerading, etc. But still no sharing of modem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.