LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2010, 08:36 PM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
Simple network problem


Hi there Linux Gurus

I'm having an experiment on making a Samba Server for Redhat 9.0, I have 2 PC's and 1 5 port Switch My scenario will be this, 1 of my PC (Windows XP) is already connected to our company network and I added 1 LAN card to connect to my 5 port switch, the other one PC which is my Redhat also connects to the 5 port switch. I assigned 10.0.0.2 to the added lan card on my Windows XP and 10.0.0.1 in my RedHat 9 PC, the problem is They don't meet each other, I checked on my switch its normal and turned on.
try to ping each other but still they don't meet...

please anyone..... Thanks
 
Old 02-01-2010, 08:57 PM   #2
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
On most OSs ping tends to default to the first network card. It could be that even when you ping into windows it is trying to reply back out of the first card and not the second one.

 
Old 02-01-2010, 09:32 PM   #3
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
help

Quote:
Originally Posted by snowtigger View Post
On most OSs ping tends to default to the first network card. It could be that even when you ping into windows it is trying to reply back out of the first card and not the second one.

is there any options
 
Old 02-01-2010, 09:44 PM   #4
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Couldn't say for windows (none in a stable state to run here), but for linux (iputils-sss20070202) you can use the -I option

from the man page,
Quote:
-I interface address
Set source address to specified interface address. Argument may
be numeric IP address or name of device. When pinging IPv6 link-
local address this option is required.
 
Old 02-01-2010, 11:01 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
There are various ping options http://linux.die.net/man/8/ping, see also traceroute http://linux.die.net/man/8/traceroute.

Might be worth noting that RH9 (codename Shrike) is totally obsolete and has not been updated (inc security) in yrs http://en.wikipedia.org/wiki/Red_Hat_Linux.
Try a modern distro eg Centos 5.4 http://en.wikipedia.org/wiki/Centos, free version of RHEL http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux/
 
  


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
Building up a simple network zoshr Linux - Networking 4 02-26-2007 09:48 AM
simple network sa1nt Linux - Networking 1 12-11-2004 11:56 AM
Simple network AttOMIXT Linux - Networking 3 10-06-2003 11:14 AM
Most simple network ever ! Baran Linux - Networking 5 09-19-2003 05:50 AM
Help me fix this simple network config problem! jbeedham Linux - Networking 8 08-22-2003 05:28 AM


All times are GMT -5. The time now is 12:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration