Page 1 of 1
problem networking two virtual machine
Posted: 13. Aug 2009, 21:48
by miatech
guys, I'm trying to test a firewall which I already installed and assigned two interface: interface 1: NAT, interface 2: host only. I created a network in the "preference" for host only: 172.16.10.0/24. Then I created a second interface for the firewall and selected hostonly. On another virtual box I put the interface in hostonly so I can manage the firewall through http, but I'm not able to get connection between the two host(firewall and machine) I'm getting an ip in the hostonly network from my windows virtual machine, but I've trying assigning and switching the interfaces on the setup of firewall, but I still get no communication. How could I identify which interface is which in the firewall in order to assign an ip to the interface facing the hostonly network?
thanks
Re: problem networking two virtual machine
Posted: 13. Aug 2009, 23:38
by Sasquatch
NAT gives you 10.0.2.15 as IP. If the point is creating a firewall only for the second VM, you can use Internal Networking too, which will keep the Host out of the network part and you manage the network yourself (static or manual set up DHCP). Host-Only does not provide a gateway with it's DHCP server settings, because it's not needed.
Re: problem networking two virtual machine
Posted: 14. Aug 2009, 00:08
by miatech
NAT gives you 10.0.2.15 as IP. If the point is creating a firewall only for the second VM, you can use Internal Networking too, which will keep the Host out of the network part and you manage the network yourself (static or manual set up DHCP). Host-Only does not provide a gateway with it's DHCP server settings, because it's not needed.
No, I'm not creating a firewall for the second vm, I'm just testing firewall before deploying or deciding which one I'm going to use. the point of the second vm is to manage through web the internal interface of the firewall and to make sure the firewall is actually routing internet request from internal network "hostonly," which doesn't have internet connection to NAT, which has internet connection. So the point is to test a firewall in as a real scenario as possible
NAT ----->[FIREWALL]------>HOSTONLY----[VM]
Thanks