*** SOLVED *** Lab; creating a fake internet
Posted: 14. Apr 2012, 08:21
Hi.
I am using VirtualBox 4.1.12. I am wanting to do some testing and simulate two different networks with a "fake internet" between them. I am basically wanting to create a mini simulation of our office network and our colo network. I have created two Debian 6 guests to be used as firewalls for each of the two networks and configured them to use internal network. As I did so, I created two different networks:
colo-wan
office-wan
On each firewall's eth0, I configured their respective "routable" IPs (I don't of course expect to reach the actual Internet). Of course I was not able to ping either firewall from the other, but this is where I am stuck. I found one site that suggested setting the netmask to /0 which would put the two firewalls on the same subnet, but when I do that and restart networking, it says that eth0 could not be brought up. Just as a test, I tried pinging each firewall from the other, but of course it did not work. The same guide also suggested that the following would work (to be done on each firewall):
but again, if I do that, the route does get added to the routing table, but I am still unable to ping either host from the other.
Is what I am trying to do possible, and if so, any idea how I can make it work?
Thanks, in advance, for your help.
-SilkBC
I am using VirtualBox 4.1.12. I am wanting to do some testing and simulate two different networks with a "fake internet" between them. I am basically wanting to create a mini simulation of our office network and our colo network. I have created two Debian 6 guests to be used as firewalls for each of the two networks and configured them to use internal network. As I did so, I created two different networks:
colo-wan
office-wan
On each firewall's eth0, I configured their respective "routable" IPs (I don't of course expect to reach the actual Internet). Of course I was not able to ping either firewall from the other, but this is where I am stuck. I found one site that suggested setting the netmask to /0 which would put the two firewalls on the same subnet, but when I do that and restart networking, it says that eth0 could not be brought up. Just as a test, I tried pinging each firewall from the other, but of course it did not work. The same guide also suggested that the following would work (to be done on each firewall):
Code: Select all
route add default dev eth0Is what I am trying to do possible, and if so, any idea how I can make it work?
Thanks, in advance, for your help.
-SilkBC