Recently I've had major problems gaining access to the server, through the ip address. It seems to work completely random. To be clear: I have very little knowledge of networking.
I have two network adapters set up:
Adapter 1
Code: Select all
Atatched to: Bridged Adapter
Name: Realtek PCIe GBE Family Controller
Adapter Type: PCnet-FAST III (Am79C973)
Promiscuous Mode: Allow All
Cable ConnectedCode: Select all
Atatched to: Host-only Adapter
Name: VirtualBox Host-Only Ethernet Adapter
Adapter Type: Intel PRO/1000 MT Desktop (82540EM)
Promiscuous Mode: Deny
Cable ConnectedCode: Select all
auto eth1
iface eth1 inet static
address 192.168.56.101
netmask 255.255.255.0However, eth0 ip address does respond BUT it keeps changing every x minutes. I don't know why this happens.
What can I do to get a static IP address working properly to access from host every time I start the virtual machine?