Is it possible to reach two machines from single port on switch

Posted on 2009-04-17
Medium Priority
Last Modified: 2012-05-06
I have a machine M1 with 2 Ethernet cards and XP , I have a machine M2 with one ethernet card and XP.

I connect M1 to switch thru a card and connected the M2 machine through cross cable to M1.

Both IP to M1 and M2 all are in same range.

Is it possible for M1 and M2 communicate outside , and vice versa

Question by:megavannan
  • 2

Expert Comment

ID: 24166012
Surely yes,
on M1 set only one default gateway equal to IP address of router from your ISP.
If M1 sends data to internet it choses right route by your default gateway.
If M1 sends data to M2, it choses automatically right interface (connected with cross-over cable)

For M2 o access internet:
set default gateway equal to M1 IP address of network card connected through cross-over cable.
then there is needed to properly set routing on M1, but only way how to do it is to deploy NAT (internet connection sharing) if your M1 external interface has public IP from your ISP.
LVL 12

Expert Comment

ID: 24169084
>Is it possible for M1 and M2 communicate outside , and vice versa

NO! it can't be.

Only M1 can, that if your M1 is connected directly to the outside world(meaning: you have a public ip address then you can ping your M1 ip address anywhere in the world or in the cafes)

And also, if your internet connection come's from your router that has the public ip address, then you can't.

Much more with M2 is not visible also.

Good Luck!

Expert Comment

ID: 24171070
In my post - first parahraph, my assumption was that your internet interface on M1 has assigned public IP from ISP, and I forget on different case:

If your M1 is connected to router which provides NAT,
then you have on internet interface assigned private IP.
In this case there is important to have different IP subnets on both network cards M1 <-> M2,
and on both network cards router <-> M1.
In this case dont set NAT on M1, but set routing or set M1 as network bridge.

What kind of IP address have you on M1 connected to internet ?
Is it public IP or IP from private IP range ?

Accepted Solution

megavannan earned 0 total points
ID: 25455966
I used ICS in windows XP

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
An article on effective troubleshooting
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question