virtual ip address-how it works and uses of itGetting my IP address?IP address spoofing using Source...
Python if-else code style for reduced code for rounding floats
Instead of Universal Basic Income, why not Universal Basic NEEDS?
Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?
Gantt Chart like rectangles with log scale
Is there a data structure that only stores hash codes and not the actual objects?
How can you use ICE tables to solve multiple coupled equilibria?
How to change two letters closest to a string and one letter immediately after a string using notepad++
How do I hide Chekhov's Gun?
Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible
Is it possible to upcast ritual spells?
How to use of "the" before known matrices
Life insurance that covers only simultaneous/dual deaths
How to write cleanly even if my character uses expletive language?
What is the significance behind "40 days" that often appears in the Bible?
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Are there verbs that are neither telic, or atelic?
(Calculus) Derivative Thinking Question
Who is flying the vertibirds?
Time travel from stationary position?
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
Does Mathematica reuse previous computations?
Can a druid choose the size of its wild shape beast?
Professor being mistaken for a grad student
How to deal with taxi scam when on vacation?
virtual ip address-how it works and uses of it
Getting my IP address?IP address spoofing using Source RoutingAre MAC addresses unique when coming out of the factory?Can packet have Source IP 17.0.0.0 and destination IP 66.0.0.0NAT routing command in windowsrole of virtual network adapterHow does Network Address Translation (NAT) works on a home router?How are mac address shared between initiater and target?Hyper-V virtual network adapter's are assigned physical interface's macHow routing works when sending TCP packet from a Docker container within a Hyper-V vm?
My questions are:
How having an ip address for an application is useful?
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
Thanks in advance
networking network-adapter ip-address
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
My questions are:
How having an ip address for an application is useful?
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
Thanks in advance
networking network-adapter ip-address
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20
add a comment |
My questions are:
How having an ip address for an application is useful?
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
Thanks in advance
networking network-adapter ip-address
My questions are:
How having an ip address for an application is useful?
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
Thanks in advance
networking network-adapter ip-address
networking network-adapter ip-address
asked Nov 9 '13 at 15:07
DhatriDhatri
1042
1042
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20
add a comment |
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20
add a comment |
1 Answer
1
active
oldest
votes
How having an ip address for an application is useful?
You cannot have two programs listening on the same TCP/IP port on a single system.
You can have a "proxy" or "filter" program listening on a port, and then distributing requests to another port on the same system or the same port on a different system.
So each listening application on a system should already have a locally unique "address" (in this case, the TCP/IP port). So it is not useful. It would just be extra complexity for no benefit.
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
You can tell a program (such as a server) to listen on a specific IP address/specific port, several specific IP addresses/specific port, or ALL IP addresses/specific port (most TCP/IP stacks use 0.0.0.0 to mean "any IP").
So if the system this program is running on has an interface (say eth0) that has IP 254.1.2.3, and traffic comes in on that interface, incoming packets will have their source IP and 254.1.2.3 as the destination IP.
Keep in mind you can do things like create virtual interfaces. It's helpful to always remember IP addresses are assigned to interfaces and not machines, and a machine can have more than 1 interface - most do (i.e. LAN and WLAN interfaces, etc.).
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f671739%2fvirtual-ip-address-how-it-works-and-uses-of-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
How having an ip address for an application is useful?
You cannot have two programs listening on the same TCP/IP port on a single system.
You can have a "proxy" or "filter" program listening on a port, and then distributing requests to another port on the same system or the same port on a different system.
So each listening application on a system should already have a locally unique "address" (in this case, the TCP/IP port). So it is not useful. It would just be extra complexity for no benefit.
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
You can tell a program (such as a server) to listen on a specific IP address/specific port, several specific IP addresses/specific port, or ALL IP addresses/specific port (most TCP/IP stacks use 0.0.0.0 to mean "any IP").
So if the system this program is running on has an interface (say eth0) that has IP 254.1.2.3, and traffic comes in on that interface, incoming packets will have their source IP and 254.1.2.3 as the destination IP.
Keep in mind you can do things like create virtual interfaces. It's helpful to always remember IP addresses are assigned to interfaces and not machines, and a machine can have more than 1 interface - most do (i.e. LAN and WLAN interfaces, etc.).
add a comment |
How having an ip address for an application is useful?
You cannot have two programs listening on the same TCP/IP port on a single system.
You can have a "proxy" or "filter" program listening on a port, and then distributing requests to another port on the same system or the same port on a different system.
So each listening application on a system should already have a locally unique "address" (in this case, the TCP/IP port). So it is not useful. It would just be extra complexity for no benefit.
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
You can tell a program (such as a server) to listen on a specific IP address/specific port, several specific IP addresses/specific port, or ALL IP addresses/specific port (most TCP/IP stacks use 0.0.0.0 to mean "any IP").
So if the system this program is running on has an interface (say eth0) that has IP 254.1.2.3, and traffic comes in on that interface, incoming packets will have their source IP and 254.1.2.3 as the destination IP.
Keep in mind you can do things like create virtual interfaces. It's helpful to always remember IP addresses are assigned to interfaces and not machines, and a machine can have more than 1 interface - most do (i.e. LAN and WLAN interfaces, etc.).
add a comment |
How having an ip address for an application is useful?
You cannot have two programs listening on the same TCP/IP port on a single system.
You can have a "proxy" or "filter" program listening on a port, and then distributing requests to another port on the same system or the same port on a different system.
So each listening application on a system should already have a locally unique "address" (in this case, the TCP/IP port). So it is not useful. It would just be extra complexity for no benefit.
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
You can tell a program (such as a server) to listen on a specific IP address/specific port, several specific IP addresses/specific port, or ALL IP addresses/specific port (most TCP/IP stacks use 0.0.0.0 to mean "any IP").
So if the system this program is running on has an interface (say eth0) that has IP 254.1.2.3, and traffic comes in on that interface, incoming packets will have their source IP and 254.1.2.3 as the destination IP.
Keep in mind you can do things like create virtual interfaces. It's helpful to always remember IP addresses are assigned to interfaces and not machines, and a machine can have more than 1 interface - most do (i.e. LAN and WLAN interfaces, etc.).
How having an ip address for an application is useful?
You cannot have two programs listening on the same TCP/IP port on a single system.
You can have a "proxy" or "filter" program listening on a port, and then distributing requests to another port on the same system or the same port on a different system.
So each listening application on a system should already have a locally unique "address" (in this case, the TCP/IP port). So it is not useful. It would just be extra complexity for no benefit.
Does packets coming to application have virtual ip address as destination ip address or physical ip address?
You can tell a program (such as a server) to listen on a specific IP address/specific port, several specific IP addresses/specific port, or ALL IP addresses/specific port (most TCP/IP stacks use 0.0.0.0 to mean "any IP").
So if the system this program is running on has an interface (say eth0) that has IP 254.1.2.3, and traffic comes in on that interface, incoming packets will have their source IP and 254.1.2.3 as the destination IP.
Keep in mind you can do things like create virtual interfaces. It's helpful to always remember IP addresses are assigned to interfaces and not machines, and a machine can have more than 1 interface - most do (i.e. LAN and WLAN interfaces, etc.).
answered Nov 9 '13 at 15:55
LawrenceCLawrenceC
59.5k11103181
59.5k11103181
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f671739%2fvirtual-ip-address-how-it-works-and-uses-of-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think you might be confused between what is an IP address and a socket address.
– Doktoro Reichard
Nov 9 '13 at 15:32
as far as i know virtual ip address can be assigned to an application
– Dhatri
Nov 9 '13 at 17:20