Solved

Different services on same port

Posted on 1997-11-23
2
231 Views
Last Modified: 2010-03-18
Is there a way to use 2 different services on the same port by assigning them on 2 different ip addresses eg. eth0 and eth0:0 ( telnetd and httpd ).
0
Comment
Question by:kalad8
2 Comments
 
LVL 2

Accepted Solution

by:
df020797 earned 100 total points
ID: 1586969
Yes, you can have different services on one port.You dont even have to use different IP addresses.

The technique is called "virtual hosting". It works like this: When a package comes to the port used by lets say 2 softwares it unpacks the IP and tcp layer and then check for what hostbyname (name mapped to the IP) it was sent to. It then forwards the package to the right software. Same techinique can be used differenting the services by IP adresses with eth0 and eth0:0 as an example. Then its checks hostbyaddr (IP number) and sends to the right software.

For all of the above to work the softwares you want to listen on the port have to support this virtual hosting technique.The operative system in itself cant do it for you, so it must be a part of the software.
0
 

Author Comment

by:kalad8
ID: 1586970
Ok , i sort of figured it out when i read the HOWTO for apache and virtual hosting. Seems like i have to look for a telnet daemon up to the job then.
Thanks....
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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