I currently have two VM's set up in the following manner:
/-----------------------\
/-----------------\ | Ubuntu VM | /---------------\
| Workstation |------| eth1 : 192.168.0.x | | Web Server |
| 192.168.0.x | | eth0 : 169.254.71.x |------| 169.254.71.x |
\-----------------/ | | \---------------/
\-----------------------/
And I am having some trouble accessing the web server from my local machine.
The ubuntu is configured through virtualbox to have 2 network adapters, the first set to internal network, and the second set to a bridged connection. This gives me two wired connections once inside the vm, and I set the first one (corresponding to the internal network) as 'link local only', and the second as automatic DHCP.
The webserver is running turnkey linux LAMP os, with the network adapter configured to internal network, with the network having the same name as the ubuntu internal network.
I have followed this tutorial (switching eth0 and eth1 where appropriate) to enable me to ping from the webserver to the outside world. I can ping to both my local machine and any website on the internet from the webserver.
Now my problem comes from trying to do the reverse of above. I have been trying to no avail for quite some time, using resourses such as this and a couple others to enable me to connect to the webserver from my local machine. When I try to ping the 169.254.71.x address of my webserver, it doesn't connect.
I realize that my problem is probably in my NAT configuration on the ubuntu machine, or my port forwarding configuration on my ubuntu machine, but I do not know how to fix these issues.