LinuxQuestions.org
Help answer threads with 0 replies.
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 08-18-2003, 10:11 AM   #1
stretchcomfort
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
Question can't ping linux box from windows - sorry, another one!


Hi Folks

seems like this is a common request, but i've tried everything listed on similar threads and am having no luck.

i'm new to linux and have only basic networking knowledge
just installed mandrake 9.1 to be used as firewall/gateway
have separate windows xp pro box connected to linux box with x-over cable (which definitely works).
i will run adsl through linux once i can get the 2 bloody boxes to talk to each other!!

windows has onboard lan (which definitely works)
linux has rtl-8029 10Mbps as eth0 (192.168.0.1), and 3com 3c905b-txnm (10/100) as eth1 (192.168.0.2). subnet on both is 255.255.255.0 hopefully the fact the cards run at different speeds isn't the problem.

after 2 days frustration i worked out i had irq conflicts with the 2 cards sharing same irq. that's now sorted and i get all green lights on each card. and everything seems peachy in ifconfig. lo is in ifconfig too.

i have eth1 (192.168.0.2) connected to xp box with the cable.
xp ip is 192.168.0.10 (255.255.255.0). gateway is 192.168.0.2 (i think this is right).
xp can't ping linux and linux can't ping xp. on the linux box i can ping eth0 and eth1 ok. when i ping xp (192.168.0.10) from linux i see the light on the xp lan flash but get no response to the ping.

iptables is empty (ACCEPT ALL or similar) as it is a new installation with no firewall installed (it's not connected to the internet yet).

i think that covers everything. any ideas?

thanks in advance.
folks on this site seem very helpful ;o)
 
Old 08-18-2003, 10:15 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
You have two interfaces on your Linux box (eth0 & eth1). They are both assigned to the same network, 192.168.0.0/255.255.255.0. This is bad. Assign the eth0 adapter some other address (in the future, it will be the adsl connection's IP) and try again.
 
Old 08-18-2003, 10:24 AM   #3
stretchcomfort
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
thanx bentz
as i was typing this idea did pop into my head.
192.168.1.1 for eth0
192.168.0.1 for eth1 still

that will work, yes?, as the subnet is 255.255.255.0
 
Old 08-18-2003, 10:32 AM   #4
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Ya, that should work.
 
Old 08-18-2003, 10:46 AM   #5
stretchcomfort
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
bummer
i used 192.168.2.1 for eth0 and
192.168.1.1 for eth1
still doesn't work

in ifcfg network is 192.168.0.0
broadcast is 192.168.0.255
is this right?

xp lan connection is NOT firewalled, either. forgot to mention that.

i'm sure it's going to be something simple. i just don't know what it is.
it's bloody late here in this part of the world. i've got to get some sleep. i'll check back in the morning and see if there's any more suggestions.

thanx for your help so far.
 
Old 08-18-2003, 03:16 PM   #6
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Your /etc/sysconfig/network-scripts/ifcfg-eth0 file only needs to contain the following information:

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.2.1
NETMASK=255.255.0.0

and as long as the cable and NICs are good, and the XP machine has a similar address (192.168.2.2 and 255.255.0.0) you should be good to go!
 
Old 08-18-2003, 05:24 PM   #7
stretchcomfort
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
problem solved.
i shall post the reason in case anyon else searching has the same problem.
it was something simple. my antivirus software has a built-in firewall, which i installed so long ago i forgot about it.
disabled that - everytyhings working as it should.
i'm such an idiot.
d o h

thanks for your help bentz
 
  


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
Unable to ping my linux host from windows box prabulinc Linux - Networking 2 08-27-2005 02:32 PM
Cant Ping my Linux Box from Windows eroica Linux - Networking 10 11-17-2004 06:26 PM
Unable to ping Linux box from Windows westone Linux - Networking 5 07-14-2004 04:41 PM
My linux box can't ping to my windows boxes! Thermodynamic Linux - Networking 8 08-06-2003 03:15 AM
Unable to ping my Linux box on windows network rajjay Linux - Networking 18 07-28-2003 05:14 AM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration