vSphere 5, trying to setup NAT Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!When trying to copy a virtual disk in VMware vSphere client, I get an errrorMonitoring VMware ESXi (free) vs. vSpherevirtualbox on linux nat configurationAccessing the virtual machine installed on ESXi server from a remote computer without the use of Vsphere clientESXi network setup for isolated internal virtual machinesvm copied by veeam but I can't see it on vmwarevSphere - Why upgrade VM Hardware Version?Why doesn't VSphere show VMWare Tools as installed?How to share a storage between multiple VMs using VMWare ESXi and VSphere?Creating a virtual switch between two VMs, without a physical uplink, in VMware ESXi/vSphere
Did MS DOS itself ever use blinking text?
Wu formula for manifolds with boundary
Is there a kind of relay only consumes power when switching?
Can a new player join a group only when a new campaign starts?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Circuit to "zoom in" on mV fluctuations of a DC signal?
What is homebrew?
Is safe to use va_start macro with this as parameter?
Why do we bend a book to keep it straight?
Is it a good idea to use CNN to classify 1D signal?
Can an alien society believe that their star system is the universe?
Is it fair for a professor to grade us on the possession of past papers?
What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV
What do you call the main part of a joke?
Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Extracting terms with certain heads in a function
How to answer "Have you ever been terminated?"
Do I really need recursive chmod to restrict access to a folder?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
Maximum summed powersets with non-adjacent items
Why are there no cargo aircraft with "flying wing" design?
Crossing US/Canada Border for less than 24 hours
Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?
vSphere 5, trying to setup NAT
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!When trying to copy a virtual disk in VMware vSphere client, I get an errrorMonitoring VMware ESXi (free) vs. vSpherevirtualbox on linux nat configurationAccessing the virtual machine installed on ESXi server from a remote computer without the use of Vsphere clientESXi network setup for isolated internal virtual machinesvm copied by veeam but I can't see it on vmwarevSphere - Why upgrade VM Hardware Version?Why doesn't VSphere show VMWare Tools as installed?How to share a storage between multiple VMs using VMWare ESXi and VSphere?Creating a virtual switch between two VMs, without a physical uplink, in VMware ESXi/vSphere
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am new to using ESXi and vSphere, I currently have ESXi 5 running with a win 2008 server VM on it. I am trying to set it up so that the VM can access the internet by setting up NAT. I cannot find the option in vSphere and all of the documentation I have found doesn't offer much help. I don't really understand the virtual switches and port groups and things like that.
I know in vmWare it was as simple as bridging the virtual adapter to the physical one.
Sorry if this is too in depth of a question.
EDIT: Adding more information.
I currently only have the one vm on the server. In the future I might be adding more to it and I would like all VM based traffic to look like its coming from the ESXi ip address (through NAT).
vmware-esxi nat
|
show 2 more comments
I am new to using ESXi and vSphere, I currently have ESXi 5 running with a win 2008 server VM on it. I am trying to set it up so that the VM can access the internet by setting up NAT. I cannot find the option in vSphere and all of the documentation I have found doesn't offer much help. I don't really understand the virtual switches and port groups and things like that.
I know in vmWare it was as simple as bridging the virtual adapter to the physical one.
Sorry if this is too in depth of a question.
EDIT: Adding more information.
I currently only have the one vm on the server. In the future I might be adding more to it and I would like all VM based traffic to look like its coming from the ESXi ip address (through NAT).
vmware-esxi nat
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
2
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
1
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51
|
show 2 more comments
I am new to using ESXi and vSphere, I currently have ESXi 5 running with a win 2008 server VM on it. I am trying to set it up so that the VM can access the internet by setting up NAT. I cannot find the option in vSphere and all of the documentation I have found doesn't offer much help. I don't really understand the virtual switches and port groups and things like that.
I know in vmWare it was as simple as bridging the virtual adapter to the physical one.
Sorry if this is too in depth of a question.
EDIT: Adding more information.
I currently only have the one vm on the server. In the future I might be adding more to it and I would like all VM based traffic to look like its coming from the ESXi ip address (through NAT).
vmware-esxi nat
I am new to using ESXi and vSphere, I currently have ESXi 5 running with a win 2008 server VM on it. I am trying to set it up so that the VM can access the internet by setting up NAT. I cannot find the option in vSphere and all of the documentation I have found doesn't offer much help. I don't really understand the virtual switches and port groups and things like that.
I know in vmWare it was as simple as bridging the virtual adapter to the physical one.
Sorry if this is too in depth of a question.
EDIT: Adding more information.
I currently only have the one vm on the server. In the future I might be adding more to it and I would like all VM based traffic to look like its coming from the ESXi ip address (through NAT).
vmware-esxi nat
vmware-esxi nat
edited Feb 16 '12 at 18:47
amazinghorse24
asked Feb 16 '12 at 18:38
amazinghorse24amazinghorse24
20117
20117
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
2
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
1
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51
|
show 2 more comments
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
2
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
1
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
2
2
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
1
1
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51
|
show 2 more comments
2 Answers
2
active
oldest
votes
The IP of the management interface has nothing to do with the IPs of the VMs on it. The fact that, in your setup, the vmkernel port may also be on the same physical port as the vmnetwork doesn't mean anything. Basically, you can't do what you think you can do.
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
add a comment |
It is not possible to create in ESXi, one-click, an additional virtual network that has an already configured DHCP/NAT (to the best of my knowledge, verified with a friend of mine that works on ESX since 7 years).
I have my ESXi server into a private network where I have no control of DHCP/IP addresses (nor a list of them), this feature would be very useful to perform experiments with new VMs, but with ESXi you have to take the long route:
You have to build up one VM (Pfsese?) which performs the NAT/DHCP role for the new Virtual Network, yes you still need one IP for the NATer:-)
This is quite disappointing to me, because this is a very basic feature of Virtualbox and VMWare Workstation, yes, they have different targets.. and perhaps they think that you should not need such things in a production enviroment.
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
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%2fserverfault.com%2fquestions%2f360935%2fvsphere-5-trying-to-setup-nat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The IP of the management interface has nothing to do with the IPs of the VMs on it. The fact that, in your setup, the vmkernel port may also be on the same physical port as the vmnetwork doesn't mean anything. Basically, you can't do what you think you can do.
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
add a comment |
The IP of the management interface has nothing to do with the IPs of the VMs on it. The fact that, in your setup, the vmkernel port may also be on the same physical port as the vmnetwork doesn't mean anything. Basically, you can't do what you think you can do.
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
add a comment |
The IP of the management interface has nothing to do with the IPs of the VMs on it. The fact that, in your setup, the vmkernel port may also be on the same physical port as the vmnetwork doesn't mean anything. Basically, you can't do what you think you can do.
The IP of the management interface has nothing to do with the IPs of the VMs on it. The fact that, in your setup, the vmkernel port may also be on the same physical port as the vmnetwork doesn't mean anything. Basically, you can't do what you think you can do.
answered Feb 16 '12 at 18:53
MDMarraMDMarra
93k28174314
93k28174314
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
add a comment |
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
Thanks, I guess i'll just have to wait until I have our IP address list to figure out which ones aren't in use.
– amazinghorse24
Feb 16 '12 at 18:58
add a comment |
It is not possible to create in ESXi, one-click, an additional virtual network that has an already configured DHCP/NAT (to the best of my knowledge, verified with a friend of mine that works on ESX since 7 years).
I have my ESXi server into a private network where I have no control of DHCP/IP addresses (nor a list of them), this feature would be very useful to perform experiments with new VMs, but with ESXi you have to take the long route:
You have to build up one VM (Pfsese?) which performs the NAT/DHCP role for the new Virtual Network, yes you still need one IP for the NATer:-)
This is quite disappointing to me, because this is a very basic feature of Virtualbox and VMWare Workstation, yes, they have different targets.. and perhaps they think that you should not need such things in a production enviroment.
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
add a comment |
It is not possible to create in ESXi, one-click, an additional virtual network that has an already configured DHCP/NAT (to the best of my knowledge, verified with a friend of mine that works on ESX since 7 years).
I have my ESXi server into a private network where I have no control of DHCP/IP addresses (nor a list of them), this feature would be very useful to perform experiments with new VMs, but with ESXi you have to take the long route:
You have to build up one VM (Pfsese?) which performs the NAT/DHCP role for the new Virtual Network, yes you still need one IP for the NATer:-)
This is quite disappointing to me, because this is a very basic feature of Virtualbox and VMWare Workstation, yes, they have different targets.. and perhaps they think that you should not need such things in a production enviroment.
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
add a comment |
It is not possible to create in ESXi, one-click, an additional virtual network that has an already configured DHCP/NAT (to the best of my knowledge, verified with a friend of mine that works on ESX since 7 years).
I have my ESXi server into a private network where I have no control of DHCP/IP addresses (nor a list of them), this feature would be very useful to perform experiments with new VMs, but with ESXi you have to take the long route:
You have to build up one VM (Pfsese?) which performs the NAT/DHCP role for the new Virtual Network, yes you still need one IP for the NATer:-)
This is quite disappointing to me, because this is a very basic feature of Virtualbox and VMWare Workstation, yes, they have different targets.. and perhaps they think that you should not need such things in a production enviroment.
It is not possible to create in ESXi, one-click, an additional virtual network that has an already configured DHCP/NAT (to the best of my knowledge, verified with a friend of mine that works on ESX since 7 years).
I have my ESXi server into a private network where I have no control of DHCP/IP addresses (nor a list of them), this feature would be very useful to perform experiments with new VMs, but with ESXi you have to take the long route:
You have to build up one VM (Pfsese?) which performs the NAT/DHCP role for the new Virtual Network, yes you still need one IP for the NATer:-)
This is quite disappointing to me, because this is a very basic feature of Virtualbox and VMWare Workstation, yes, they have different targets.. and perhaps they think that you should not need such things in a production enviroment.
edited Apr 14 at 10:45
answered Apr 12 at 9:00
Fabiano TarlaoFabiano Tarlao
1154
1154
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
add a comment |
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
The key here is the use of the word 'switch' - with ESXi the lines are very clearly drawn, you get a virtual switch, it deals with L2 and only L2, therefore it doesn't care whether you're using IP or any other L3 protocol. The networking in other products blur the lines between a switch and a router and allow their 'networking thing' to do both L2 and L3 functions. There's no reason to be disappointed, with ESXi they do a fantastic job of what they say they do, they just choose to keep their software's job very focussed as that's what their corporate customers (myself included) asked for.
– Chopper3
Apr 14 at 12:00
add a comment |
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f360935%2fvsphere-5-trying-to-setup-nat%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
Are you trying to put your VMware ESXi host actually onto the Internet unprotected? I would let the firewall do the NAT instead.
– Mei
Feb 16 '12 at 18:40
I am not too sure what you mean. I am trying to set it up so that the windows VM generates traffic that looks like it is coming from the ESXi's ip address.
– amazinghorse24
Feb 16 '12 at 18:44
If your ESXi server is protected from the Internet by a firewall, then you don't need to make the Windows VM act that way; VMware creates its own interfaces for each of the VMs separately. You don't need to NAT the way you are suggesting. However, if you are trying to put this host on the Internet without protection, then you are asking for trouble: you should put ESXi behind a firewall.
– Mei
Feb 16 '12 at 18:47
2
That's not how it works.
– MDMarra
Feb 16 '12 at 18:48
1
Currently, I don't have access to our IP address list and so I don't know which IP to assign to the VM's. I know the exact IP used for the server.
– amazinghorse24
Feb 16 '12 at 18:51