I have a virtual Debian Jessie running as a VM but the NIC doesn't setup right.
My local net uses 192.168.254.0 but the VM NIC has an IP of 10.xxxx and
of course the wrong bcast and netmask IPs. I can get from the VM to the other
machines on my net but I can't go the other way.
I use a DHCP server in my modem/router for my DSL line.
Is there anyway I can get my virtual machines to use that
DHCP server and play nicely with the other machines on my network?
Many TIA!
Dennis
How to configure VB "network cards"
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: How to configure VB "network cards"
Use bridged instead of NAT. But think about why you are doing it, since your failure to understand the reason why NAT uses a 10.x addressing range is not necessarily a good reason to do something else. In particular, unless your VM is implementing a server then you probably don't need the VM to be visible on the host network. NAT is simplest to use, and fine for browser access from the VM.
Re: How to configure VB "network cards"
Thanks! Quick and easy, make the change and it "just works" as they say.
No, I have no idea why they would use 10.x addresses for NAT. As far as I know there is
nothing magic about using 10.x as opposed to the 172.x or 192.x ranges.
I need to be able to access any of my systems from anywhere on the LAN for
installing and testing software, changing configuration, and accessing
dbs, web pages, blogs, etc. whatever is on them. If I can't do that I would
need to do a bit of traveling.
No, I have no idea why they would use 10.x addresses for NAT. As far as I know there is
nothing magic about using 10.x as opposed to the 172.x or 192.x ranges.
I need to be able to access any of my systems from anywhere on the LAN for
installing and testing software, changing configuration, and accessing
dbs, web pages, blogs, etc. whatever is on them. If I can't do that I would
need to do a bit of traveling.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: How to configure VB "network cards"
Look up IPv4 address ranges, Private Addressing.Padre wrote:No, I have no idea why they would use 10.x addresses for NAT. As far as I know there is
nothing magic about using 10.x as opposed to the 172.x or 192.x ranges.