setting vpn
Posted: 18. Mar 2013, 18:31
Hi , I am a noob.
I have three vm's, all are Ubuntu.
I setted two new localhost networks in virtual box.
First machine has 3 adapters first connected to NAT , two others to the two localhost networks I created. The other two VMs have 1 adapter each, each connected to different localhost adapter.
after setting ip adresses and default gw I have :
First machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.1.1 0.0.0.0 UG 0 0 0 eth2
default 10.0.2.2 0.0.0.0 UG 0 0 0 eth1
default 10.0.2.2 0.0.0.0 UG 0 0 0 eth0
10.0.1.0 * 255.255.255.0 U 1 0 0 eth2
10.0.2.0 * 255.255.255.0 U 1 0 0 eth0
10.0.2.0 * 255.255.255.0 U 1 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
second machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.2.3 0.0.0.0 UG 0 0 0 eth0
10.0.2.0 * 255.255.255.0 U 1 0 0 eth0
third machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.1.3 0.0.0.0 UG 0 0 0 eth0
10.0.1.0 * 255.255.255.0 U 1 0 0 eth0
first and third machine can ping any adress in the network. the second one can ping only himself.I get "destination host unreachable" messages
I have three vm's, all are Ubuntu.
I setted two new localhost networks in virtual box.
First machine has 3 adapters first connected to NAT , two others to the two localhost networks I created. The other two VMs have 1 adapter each, each connected to different localhost adapter.
after setting ip adresses and default gw I have :
First machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.1.1 0.0.0.0 UG 0 0 0 eth2
default 10.0.2.2 0.0.0.0 UG 0 0 0 eth1
default 10.0.2.2 0.0.0.0 UG 0 0 0 eth0
10.0.1.0 * 255.255.255.0 U 1 0 0 eth2
10.0.2.0 * 255.255.255.0 U 1 0 0 eth0
10.0.2.0 * 255.255.255.0 U 1 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
second machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.2.3 0.0.0.0 UG 0 0 0 eth0
10.0.2.0 * 255.255.255.0 U 1 0 0 eth0
third machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.1.3 0.0.0.0 UG 0 0 0 eth0
10.0.1.0 * 255.255.255.0 U 1 0 0 eth0
first and third machine can ping any adress in the network. the second one can ping only himself.I get "destination host unreachable" messages