LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2005, 06:36 AM   #1
andy_play
Member
 
Registered: Oct 2005
Posts: 39

Rep: Reputation: 15
cant ping


i cant ping from my WIndows machine to my Suse or vice versa. everything is set up right i have disabled all fire walls to see if that made a differece but it doesnt. Suse says Destination unreachable and Windows Crashes.

any ideas?
 
Old 12-08-2005, 07:08 AM   #2
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Are they both on the same physical network? What are the IPs, and subnet masks of both computers? What do you mean by "and Windows Crashes"?
 
Old 12-08-2005, 08:39 AM   #3
andy_play
Member
 
Registered: Oct 2005
Posts: 39

Original Poster
Rep: Reputation: 15
its set up like this

windows

192.168.0.1
255.255.255.0
192.168.0.1

Linux

192.168.0.2
255.255.255.0

default gateway 192.168.0.1

in windows i Do ping 192.1680.2 and it doesnt do anything, no messages it just stays blank.

In linux i go ping -c5 192.168.0.1 and it says destination unreachable
 
Old 12-08-2005, 09:00 AM   #4
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
are both network cards working?
i mean check if the leds on both pcs are working

check the installation on windows
as for suse I think you have a correct set up because you cannot assign an ip if you haven't.
 
Old 12-08-2005, 09:11 AM   #5
andy_play
Member
 
Registered: Oct 2005
Posts: 39

Original Poster
Rep: Reputation: 15
The light is definantly flashing away on the card connected to Linux but it isnt flashing on the windows machine. But there are no conflicts and it says the dvice is working properly. have i missed something out of the configuration in Windows mayb?
 
Old 12-08-2005, 10:01 AM   #6
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Quote:
its set up like this

windows

192.168.0.1
255.255.255.0
192.168.0.1

Linux

192.168.0.2
255.255.255.0

default gateway 192.168.0.1

Do you have the two computers hooked directly to each other? If so make sure you are using a crossover cable if there is no switch or hub in place..


Also you dont want the Windows box to have the same IP set on it as its gateway. You didn't clarify in you post but Im guessing you have 192.168.0.1 assigned as a gateway, as well as its IP. If so remove that gateway IP.

If the 2 computers are on the same physical network, and on the same subnet you do not even need to assign a gateway.
 
Old 12-08-2005, 10:04 AM   #7
andy_play
Member
 
Registered: Oct 2005
Posts: 39

Original Poster
Rep: Reputation: 15
oh rite, i will remove the deafult gateway then c if it works. do i need to do anything with the routing option? they are conneceted with a crossover cable!
 
Old 12-08-2005, 10:05 AM   #8
Xris718
Member
 
Registered: May 2003
Location: NYC
Distribution: CentOS
Posts: 261

Rep: Reputation: 30
If your gateway is setup as 192.168.0.1 then your windows ip address should be something else like 192.168.0.x ... x being any number between 2-255. Since your linux machine is 192.168.0.2 then your windows machine should be something like 192.168.0.3

I am assuming that your default gateway is your router and both machines are connected to eachother through a router

Also for testing purposes ping localhost (127.0.0.1) to see if your loopback works. It basically tests your NIC card.

And lastly if your winddows machine is XP then you should disable its default firewall because it blocks icmp packets which essentially is your ping request.
 
Old 12-08-2005, 11:13 AM   #9
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
After testing the loopback, test the real network interface:
on windows:
Code:
ping 192.168.0.1
on linux:
Code:
ping 192.168.0.2
 
Old 12-09-2005, 02:51 AM   #10
andy_play
Member
 
Registered: Oct 2005
Posts: 39

Original Poster
Rep: Reputation: 15
the loop back works on the Linux machine but it doesnt work with Windowz so waht does this mean then, the card is faulty
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:51 AM.

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