This post discusses two items,
- to assign fixed IP address to interfaces of guest systems via VMWare's DHCP server
- and to change virtual subnet setting for virtual Ethernet segments using the
vmnetcfg
tool
Assigning Fixed IP Address
VMWare Player comes with a DHCP server that allows the guest systems to automatically configure their IP network settings. By configuring the DHCP server, we can achieve the auto-configuration purpose.
On Windows hosts, the configuration file of the DHCP server is located at directory
%ProgramData%\VMWare
. As an example, I show the value of %ProgramData%\VMWare
below,
C:>echo %ProgramData%\VMWare
C:\ProgramData\VMWare
In the directory is the configuration file, i.e.,
vmnetdhcp.conf
. We can add host entries to the configuration file to assign fixed IP addresses to guest operating systems. Below is an example that assigns IP address 192.168.101.127 to MAC address 00:0c:29:22:12:4c in the virtual Ethernet segment 8.
# Virtual ethernet segment 8
# Added at 08/06/15 10:57:08
subnet 192.168.101.0 netmask 255.255.255.0 {
range 192.168.101.128 192.168.101.254; # default allows up to 125 VM's
option broadcast-address 192.168.101.255;
option domain-name-servers 192.168.101.2;
option domain-name "localdomain";
option netbios-name-servers 192.168.101.2;
option routers 192.168.101.2;
default-lease-time 1800;
max-lease-time 7200;
}
host VMnet8 {
hardware ethernet 00:50:56:10:00:01;
fixed-address 192.168.101.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
option routers 0.0.0.0;
}
host Ubuntu {
hardware ethernet 00:0c:29:22:12:4c;
fixed-address 192.168.101.127;
option domain-name-servers 192.168.101.2;
option domain-name "";
option routers 192.168.101.2;
}
Changing Virtual Subnet Setting
One particular problem I often encounter is that the IP subnet setting is always changed when I upgrade or reinstall VMWare Player. For instance, in the above IP assignment example, the virtual Ethernet segment 8 is assigned a subnet of 192.168.101.0 with net mask 255.255.255.0 (i.e., 192.168.101.0/24); however, when I reinstall VMWare Player, the Ethernet segment 8's subnet assignment may become 192.168.157.0 with net mask 255.255.255.0 or some other value.A simple method to change the Ethernet segment's subnet assignment back to the original value or any other valid value is to use the
vmnetcfg
tool. The
vmnetcfg
tool is a part of VMWare Workstation; however, it does not come with VMWare Player. Since we can download VMWare Workstation trial version from VMWare's website, we can extract the tool from the installation package and use it with VMWare Player.Two excellent posts that helped me and detail how one may extract the
vmnetcfg
tool from VMWare Workstation installation package and how one may use the tool to reassign a subnet to a virtual Ethernet segment are,For the impatient, the user interface of the
vmnetcfg
tool looks as follows,It is obvious that one can change the subnet assignment to a selected virtual Ethernet segment.
thanks for giving wonderful such a information about vmware technical information with its real time issues. keep share more tech kind possibilty rules and regulations.
ReplyDeleteVMware Training in Chennai
This is ansuperior writing service point that doesn't always sink in within the context of the classroom. In the first superior writing service paragraph you either hook the reader's interest or lose it. Of course your teacher, who's getting paid to teach you how to write an good essay,
ReplyDeleteData Science course in Chennai
Data science course in bangalore
Data science course in pune
Data science online course
Data Science Interview questions and answers
Data Science Tutorial
Data science course in bangalore
This comment has been removed by the author.
ReplyDeleteGreat collection and thanks for sharing this info with us. Waiting for more updates.
ReplyDeleteDevOps Training in Chennai
DevOps Certification in Chennai
AWS Training in Chennai
AWS course in Chennai
RPA Training in Chennai
DevOps Training in Velachery
DevOps Training in Tambaram
DevOps course in Chennai
And indeed, I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had.
ReplyDeleteC C++ Training in Chennai |Best C C++ Training in Chennai
linux Training in Chennai | Best linux Training in Chennai
Unix Training in Chennai | Best Unix Training in Chennai
uipath training in chennai | Best uipath training in chennai
R programming Training in Chennai | Best R programming Training in Chennai
Nice article! It is very inspiring to me and I am regularly read your new posts. And I want different information from your great blog...
ReplyDeletePlacement Training in Chennai
Placement courses in Chennai
Social Media Marketing Courses in Chennai
Power BI Training in Chennai
Job Openings in Chennai
PEGA Training in Chennai
Tableau Training in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Linux Training in Chennai
Placement Training in T Nagar
This comment has been removed by the author.
ReplyDeleteBeautiful Blog.
ReplyDeleteThe Blog is very Impressive.
very impressive article..keep moving.
ReplyDeleteJava training in Chennai | Certification | Online Course Training | Java training in Bangalore | Certification | Online Course Training | Java training in Hyderabad | Certification | Online Course Training | Java training in Coimbatore | Certification | Online Course Training | Java training in Online | Certification | Online Course Training
Really awesome blog!!! I finally found a great post here.I really enjoyed reading this article. Nice article on data science . Thanks for sharing your innovative ideas to our vision. Your writing style is simply awesome with useful information. Very informative, Excellent work! I will get back here.Data Science Training In Chennai
ReplyDeleteData Science Online Training In Chennai
Data Science Training In Bangalore
Data Science Training In Hyderabad
Data Science Training In Coimbatore
Data Science Training
Data Science Online Training
Thanks for sharing,excellent information.It is very useful for me to learn and understand easily.
ReplyDeleteWeb Designing Training in Chennai
Web Designing Course in Chennai
Web Designing Training in Bangalore
Web Designing Course in Bangalore
Web Designing Training in Hyderabad
Web Designing Course in Hyderabad
Web Designing Training in Coimbatore
Web Designing Training
Web Designing Online Training
Very nice blogs!!! i have to learning for lot of information for this sites…Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing, data scientist courses
ReplyDeleteReally nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.Best data science courses in hyerabad
ReplyDeleteIt was wonerful reading your conent. Thankyou very much. # BOOST Your GOOGLE RANKING.It’s Your Time To Be On #1st Page
ReplyDeleteOur Motive is not just to create links but to get them indexed as will
Increase Domain Authority (DA).We’re on a mission to increase DA PA of your domain
High Quality Backlink Building Service
1000 Backlink at cheapest
50 High Quality Backlinks for just 50 INR
2000 Backlink at cheapest
5000 Backlink at cheapest
Astounding Blog! I might want to thank for the endeavors you have made recorded as a hard copy this post. I am trusting a similar best work from you later on too. I needed to thank you for this sites! Much obliged for sharing. Extraordinary sites!
ReplyDeletedata scientist course in hyderabad
Cool stuff you have and you keep overhaul every one of us, Great work.
ReplyDeletepmp course
Awesome blog post,
ReplyDeleteSEO Training In Hyderabad
SEO stands for search engine optimization. It is the process of ranking your website at the top of the search results for a particular set of keywords. SEO experts will try to rank a specific page on the top of the search results. SEO can increase your brand’s visibility, thus creating brand awareness.
I think this is one of the best blog for me because this is really helpful for me. Thanks for sharing this valuable information
ReplyDeleteinternship meaning | internship meaning in tamil | internship work from home | internship certificate format | internship for students | internship letter | Internship completion certificate | internship program | internship certificate online | internship graphic design
Digital Marketing Courses in Mumbai
ReplyDeleteThanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people..
ReplyDeletefull stack developer course with placement
This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
ReplyDeletedata science training
data science training institute in Chennai
ReplyDeleteGood to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share. . data science training institute in chennai
betmatik
ReplyDeletekralbet
betpark
mobil ödeme bahis
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
İFO2U7
I appreciate you giving this knowledge.
ReplyDeleteAngular js Course In Hyderabad
Nice Blog Keep Posting.
ReplyDeleteAzure Devops Training institute in Hyderabad