ā09-09-2014 08:38 AM - edited ā03-07-2019 08:41 PM
Hi Guys,
I am getting confuse about a basic question.
Is it possible for two servers connected each other via layer 2 to establish a telnet connection between them? (no routing involved, the two serves belong to the same vlan and subnet).
If yes, how? I just need the concept nothing else.
Thank you.
Solved! Go to Solution.
ā09-09-2014 10:01 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Yes it's possible (assuming they both have IPs and are within the same subnet).
When either wants to communicate with the other, they will see the destination IP is on their subnet so they will just ARP for the destination MAC and then send the telnet packet to the other host.
ā09-09-2014 10:01 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Yes it's possible (assuming they both have IPs and are within the same subnet).
When either wants to communicate with the other, they will see the destination IP is on their subnet so they will just ARP for the destination MAC and then send the telnet packet to the other host.
ā09-09-2014 10:07 AM
Totally agree with Joseph.
Condition: Its layer 2 make sure you are in the same vlan and subnet only then its possible.
Just you need to understand the concept of ARP as explained above will not rewrite the same and it works as champ.
(ARP) is one of the major protocol in the TCP/IP suit and the purpose of Address Resolution Protocol (ARP) is to resolve an IPv4 address (32 bit Logical Address) to the physical address (48 bit MAC Address). Network Applications at the Application Layer use IPv4 Address to communicate with another device.
ā09-09-2014 11:02 AM
Hi Joseph,
I got confusing reading some post on internet.
Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide