LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-12-2003, 11:37 PM   #1
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Rep: Reputation: 15
Ping Problem


I cannot ping to my debian PC ...can anyone tell me possible cause....

Last edited by mairul; 12-13-2003 at 01:52 AM.
 
Old 12-13-2003, 05:37 AM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
One possible cause is you don't have the CAT5 plugged into the NIC. Another possible cause is the Debian box is turned off.

You have to give us more information. HOW are you pinging Debian-box? From another machine, right?

Get on the Debian-box and send us the output of

ifconfig

and

route

And we'll go from there.
 
Old 12-13-2003, 09:37 AM   #3
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
my ifconfig output :

pc3:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:5A:43:68:03
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2262 (2.2 KiB) TX bytes:3046 (2.9 KiB)
Interrupt:10 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:387 errors:0 dropped:0 overruns:0 frame:0
TX packets:387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25066 (24.4 KiB) TX bytes:25066 (24.4 KiB)

sl0 Link encap:Serial Line IP
inet addr:192.168.0.1 P-t-P:192.168.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 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:10
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


and "route" output

pc3:/# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.2 * 255.255.255.255 UH 1 0 0 sl0
localnet * 255.255.255.0 U 0 0 0 eth0
default pc3.dns3.com 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1 0 0 sl0
pc3:/#

pls help....
 
Old 12-13-2003, 09:44 AM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Where is your router? 192.168.0.1? You can do ifdown sl0 then edit /etc/network/interfaces and comment out all of the sl0 stanza if you don't want that up.

Are you on a LAN only? Do you have a router? Is it another Linux box? Here's my route output:

Code:
[ken:ken](09:42 AM)$ /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
 
Old 12-13-2003, 09:54 AM   #5
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
I don't have any router...

I am on a LAN only which includes 3 pc connected to a 5 port hub

pc1 192.168.0.1 ( win98 )
pc2 192.168.0.2 ( redhat 7.2 )
pc3 192.168.0.3 ( debian )

I can ping to redhat but can't at debian...

do I need to do ifdown...

please tell me what is sl0 stanza....
 
Old 12-13-2003, 08:16 PM   #6
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
sl0 Link encap:Serial Line IP
inet addr:192.168.0.1 P-t-P:192.168.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 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:10
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 12-14-2003, 01:21 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Why do you have the same ip as the win machine assigned to the serial link?
Can you ping 192.168.0.1 from redhat with win98 off?
What's connected where? is the serial link going to redhat?
Are all three on the eth0 LAN?

Looks like the routing is not exactly right.


ifdown sl0

Then test things again.

Last edited by DavidPhillips; 12-14-2003 at 01:22 AM.
 
Old 12-14-2003, 12:07 PM   #8
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
Anyway..thanks for the information....I just re-installed my redhat 9 and debian again at two PC..now I am able to telnet to redhat 9 and debian also...But the problem is I cannot ping between redhat 9 and debian...But with win98 they are working well.....

and this time my debian is giving me some correct information I think...

ifconfig command output is as follows :

debian:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:21:14:51:7B
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1540 errors:0 dropped:0 overruns:0 frame:0
TX packets:1763 errors:0 dropped:0 overruns:0 carrier:0
collisions:146 txqueuelen:100
RX bytes:1762490 (1.6 MiB) TX bytes:117692 (114.9 KiB)
Interrupt:11 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:534 errors:0 dropped:0 overruns:0 frame:0
TX packets:534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44924 (43.8 KiB) TX bytes:44924 (43.8 KiB)

sl0 Link encap:Serial Line IP
inet addr:192.168.0.2 P-t-P:192.168.0.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 b) TX bytes:504 (504.0 b)

debian:/#

this time sl0 also automatically configured...I don't have any serial card..my question is sl0 automatically configured with debian.....cause I also install redhat 9 at the pc where debian was installed just before...but there is no sl0 information...cause there ifconfig command output is as follows..:

yes...

I got another problem .....I can telnet to debian...and get ifconfig command by using su passwd...

But I am unable at redhat 9...it says command not found...when I am logged on using telnet ...from my win98...but I am getting ifconfig command completely when I am working at redhat...

anyway..redhat 9 ifconfig shows only eth0 and l0 informatins..no sl0 information...

then why I am getting sl0 at debian...

another thing..when I am giving ifdown sl0 then it says...

ifdown:interface sl0 not configured.....

Please help me to communicate between my redhat and debian...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 01:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 07:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration