LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2005, 04:55 AM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 120

Rep: Reputation: 15
Routing concept


Hello friends

My question is

Windows 2000 Professional Machine 1 (IP) – 192.168.0.100 (IP Routing is already enabled)

Redhat Linux Server 9.0 Machine (IP NIC 1) – 192.168.0.104
(IP NIC 2) – 192.168.0.103

Windows 2000 Professional Machine 2 (IP) – 192.168.0.66 (IP Routing is already enabled)


Windows 2000 Professional Machine 1 and Red hat Linux Server 9.0 (NIC 1) is connected to 8 port switch 1.

Redhat Linux Server 9.0(NIC 2) and Windows2000 Professional Machine 2 is connected to another 8 port switch 2.

In Windows 2000 Professional Machine 1 > ping 192.168.0.66(call windows Prof Machine2)

Request timed out
Request timed out
Request timed out
…

But a UTP cable is connected between two switches (Switch 1 & Switch 2) it is pinging.

But I don’t want this.

If any routing concepts to ping two machines (Windows Machine 1 & Windows Machine 2)

If any routing enable in Linux server.

Whether any idea please reply.

Thank you
 
Old 09-30-2005, 06:27 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
So at the moment it looks like this. The problem here is all machines are on the same subnet. Linux (unless you use advanced routing techniques) will have only one logical route to this subnet so ALL traffic to the subnet will be sent either to eth0 or eth1 BUT NOT BOTH:
Code:
   --------------------------------
   [RH9                           ]
   [192.168.0.104   192.168.0.103 ]
   --------------------------------
       |                      |
-----------------      ----------------
[switch 1       ]------[switch 2      ]
-----------------      ----------------
       |                      |
----------------       ----------------
[2K m1         ]       [2K m2         ]
[192.168.0.100 ]       [192.168.0.66  ]
----------------       ----------------
If you want to use routing, you'll need to introduce a new subnet, say 192.168.1.0.
Code:
   --------------------------------
   [RH9                           ]
   [192.168.0.104    192.168.1.1  ]
   --------------------------------
       |                      |
-----------------      ----------------
[switch 1       ]      [switch 2      ]
-----------------      ----------------
       |                      |
----------------       ----------------
[2K m1         ]       [2K m2         ]
[192.168.0.100 ]       [192.168.1.2   ]
----------------       ----------------
I've removed the link between switch 1 and switch 2, but you could leave it in. It won't be used anyway. To achieve this:
RH9 machine
Code:
ifconfig eth1 192.168.1.1
echo 1 > /proc/sys/net/ipv4/ip_forward
2K m1: Ensure default route is 192.168.0.104
2K m2: Ensure default route is 192.168.1.1

Last edited by Snowbat; 09-30-2005 at 06:37 AM.
 
  


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
Concept behind MX records wwnexc Linux - Networking 7 10-27-2005 10:28 PM
MX record concept SiLiCoN Linux - Networking 3 06-17-2005 07:57 AM
Iptables Concept rulex Linux - Networking 2 06-13-2005 07:19 AM
A new concept for install luiwo Linux - Hardware 1 09-05-2004 05:28 AM
LBA-H/w or S/w Concept?? LinuxUser813 Linux - Hardware 0 07-06-2004 03:59 AM

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

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