Have trouble to ping/telnet/rlogin each other

Have trouble to ping/telnet/rlogin each other

Post by David Cha » Tue, 15 Sep 1998 04:00:00



Hi

I have 2 486s both running SuSE 5.2. My kernel is configured to support TCP/IP and the right
Ethernet card (NE2000), from the "dmesg" command I'm sure SuSE found the Card at "io=0x300 irq=10",
but I have problem to telnet/rlogin/ping each other with following configuration ...

// System 1 (128.253.154.30)
//---------

$ cat /etc/hosts
127.0.0.1        localhost
128.253.154.30   chang.suse.com   chang
128.253.154.40   david.suse.com   david

$ ifconfig eth0 128.253.154.30 up
$ route add -net 128.253.154.0 netmask 255.255.255.0 eth0

// System 2 (128.253.154.40)
//---------

$ cat /etc/hosts
127.0.0.1        localhost
128.253.154.30   chang.suse.com   chang
128.253.154.40   david.suse.com   david

$ ifconfig eth0 128.253.154.40 up
$ route add -net 128.253.154.0 netmask 255.255.255.0 eth0

When I ping from System_1 to System_2, there is no any response sent back from System_2,
and if use Telnet, then it said the host I specified is unreachable.

Could you please tell me what was I doing wrong ?

Best regards

David

 
 
 

Have trouble to ping/telnet/rlogin each other

Post by Bill Huds » Tue, 15 Sep 1998 04:00:00




>Hi

>I have 2 486s both running SuSE 5.2. My kernel is configured to support TCP/IP and the right
>Ethernet card (NE2000), from the "dmesg" command I'm sure SuSE found the Card at "io=0x300 irq=10",
>but I have problem to telnet/rlogin/ping each other with following configuration ...

>// System 1 (128.253.154.30)
>//---------

>$ cat /etc/hosts
>127.0.0.1        localhost
>128.253.154.30   chang.suse.com   chang
>128.253.154.40   david.suse.com   david

>$ ifconfig eth0 128.253.154.30 up
>$ route add -net 128.253.154.0 netmask 255.255.255.0 eth0

>// System 2 (128.253.154.40)
>//---------

>$ cat /etc/hosts
>127.0.0.1        localhost
>128.253.154.30   chang.suse.com   chang
>128.253.154.40   david.suse.com   david

>$ ifconfig eth0 128.253.154.40 up
>$ route add -net 128.253.154.0 netmask 255.255.255.0 eth0

>When I ping from System_1 to System_2, there is no any response sent back from System_2,
>and if use Telnet, then it said the host I specified is unreachable.

>Could you please tell me what was I doing wrong ?

Can you:

1) Ping 128.253.154.40 from 128.253.154.40?
2) ping 128.253.154.30 from 128.253.154.30?
3) ping 127.0.0.1 from each?
4) do a netstat -r and look at the routes in the table?
4.5)  Is there a 'default' entry?
5) have you done a 'route add default' on each machine?
6) watch the traffic LED on the network cards to see if the card is
talking?

--
William Hudson
IS Manager
Robert Mann Packaging
NOTE: Ignore my email address as given above.  
My real address is: bill at are em pee dot cee oh em

 
 
 

1. Can I prevent pinging from others and still ping others?

hi,all
   I have a question about 'ping' work with netfilter.How can I
ban the icmp echo message out and still can send icmp request message
out and can recieve the icmp echo message at the same time.e.g.
I wish I can ping other computer which don't ban icmp echo,but I
also want my computer can't respond the 'ping' from others.I use
iptables.can I?
    Thanks in Advance.

2. SuSe Setup Questions

3. Ping==nfs==good, telnet+others!=good

4. Question on Alarm

5. Can't ping local host but can ping others

6. HELP!!! CRC error when install 3.0-980523-SNAP

7. rlogin, telnet, does not work, but ping does

8. open() does not set st_mtime

9. D-link DE220 can PING his own IP, but can't PING others'

10. Can ping linux itself, but can't ping others

11. SLIP problems... ping works, but telnet/ftp/rlogin hang up!

12. Ping from cron not having same effect as ping from console

13. Having trouble getting inbound telnet to work properly (updated)