LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-04-2006, 11:27 AM   #1
gmc555
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Linux/windows crossover network question


I've got a network set up where I want my linux (FC6) machine to be a router for my windows machine. The connection to the internet on linux is wireless (ath0) and I have a crossover cable between the ethernets on both machines. Here's a diagram:

win linux
========= =============
| | | | ath0
| |=====X=====| |========
| | | |
========= =============

The route table for linux is this:

Destination Gateway Genmask Iface
192.168.1.0 0.0.0.0 255.255.255.0 ath0
10.1.1.0 0.0.0.0 255.255.255.0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 ath0

The route table on windows is this:

Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.1.1.10 10.1.1.11 20
10.1.1.0 255.255.255.0 10.1.1.11 10.1.1.11 20
10.1.1.11 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.1.1.11 10.1.1.11 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.1.1.11 10.1.1.11 20
255.255.255.255 255.255.255.255 10.1.1.11 10.1.1.1 1
Default Gateway: 10.1.1.10


Now, the windows machine can ping the linux machine and get to the internet. The linux machine can get to the internet but can't see the windows machine. I have windows firewall turned off and iptables is disabled. I want to set up samba between the machines, but can't until I get linux to see the other one.
 
Old 12-04-2006, 11:40 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
What do you mean by that linux box cant see windows box ?
You can access net via linux box & i think you would be able to ping windows box from linux as well. So whats the problem exactly.

You can setup samba at linux box & go ahead.
 
Old 12-04-2006, 12:13 PM   #3
gmc555
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Linux box can't ping windows box. Don't get any messages that the machine is unreachable or anything. Ping just sits there. Tcpdump shows ICMP echo request going out but nothing coming back.
 
Old 12-04-2006, 12:48 PM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
As you can see that your windows box can ping linux & can access internet via this box as well & hence this assures that there isnt really any communication problem. Though i cant tell you the reason of no replies to ping, but why dont you setup samba at linux & try to access its shares from windows box(after all you can access linux from windows).

Alternatively you can do a port scaning of your windows box with nmap -P0 windows-box & see if you find something.
 
Old 12-04-2006, 01:52 PM   #5
gmc555
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Stupid, stupid mistake. I finally realized that I had McAfee running on the machine and it's firewall was blocking the connection.
 
Old 12-04-2006, 02:18 PM   #6
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
GMC n others,
@gmc : Thats ok, things like this do happen to best of us. Pheww good you got it solved.

Though this is really interesting to know that since we have used two different Operating system, one being run in an open source environment & other being closed & the user which happen to have problems making them communicate ends up posting query to an open source based forums..WHY, Why doesnt people in the same scenario post their queries to a windows oriented discussion forum ?

Does the *nix operating systems are always be pre-assumed to generate problems rather than the other ? Are they more prone towards generating errors in cross -os communications ?
 
Old 12-05-2006, 03:06 PM   #7
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian
Posts: 153

Rep: Reputation: 43
Quote:
Originally Posted by amitsharma_26
Why doesnt people in the same scenario post their queries to a windows oriented discussion forum ?

Does the *nix operating systems are always be pre-assumed to generate problems rather than the other ? Are they more prone towards generating errors in cross -os communications ?
Because if you go to a Windows oriented forum, the odds of finding someone familiar with Linux are much lower than going to an open-source oriented forum and finding people with knowledge of both. My $.02.
 
Old 05-14-2007, 09:48 AM   #8
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Thank YOU New2Linux2 for playing the theme song. Our friends here in "Linux is a better world" <another song I like> can seek comprehension at...http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html And folks concerned with M$Windows can see...www.google.com for their M$Windows "Networking Forums".
 
  


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
connecting linux and windows with crossover cable cyberwizard Linux - Networking 2 02-15-2006 07:27 PM
Linux to Windows crossover ethernet networking MiniMe001 Linux - Networking 7 12-09-2005 06:54 AM
Windows XP/Linux Network Question jbstew32 General 0 01-04-2004 03:16 PM
Crossover network! Linux PC to Linux Laptop! Also what about bluetooth wireless usb?? kane hart Linux - Wireless Networking 2 10-16-2003 06:53 PM
linux networking on windows-based network question direstraits Linux - Networking 4 05-24-2002 09:01 AM

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

All times are GMT -5. The time now is 07:20 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