Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well first of all i guess the cat /etc/network/interfaces is from the network node where eth0 is being assigned a dhcp ip. That's why you can ping the outside world. You should remove the gateway from eth1 on network node.

Second, do you have the gateway configured on the physical router for the 10.0.0.0/24 subnet? If not, then this is why there is no internet access on controller node. You should configure the gateway for this subnet, or share the internet connection from eth0 to eth1 on the network node and set the gateway of eth0 from the controller node to 10.0.0.21 .

I suggest you create the 10.0.0.0/24 subnet on the router and set the gateway, but remember to remove the gateway line from eth1(or even better, remove eth0 and leave eth1 with a gateway) on the network node, having two gateways on one system is bad if you do not specificaly assign the default route!

Well first of all i guess the cat /etc/network/interfaces is from the network node where eth0 is being assigned a dhcp ip. That's why you can ping the outside world. You should remove the gateway from eth1 on network node.

Second, do you have the gateway configured on the physical router for the 10.0.0.0/24 subnet? If not, then this is why there is no internet access on controller node. You should configure the gateway for this subnet, or share the internet connection from eth0 to eth1 on the network node and set the gateway of eth0 from the controller node to 10.0.0.21 .

I suggest you create the 10.0.0.0/24 subnet on the router and set the gateway, but remember to remove the gateway line from eth1(or even better, remove eth0 and leave eth1 with a gateway) on the network node, having two gateways on one system is bad if you do not specificaly assign the default route!

EDIT: I now see you are running in vmware. Two options come in mind:

  1. If u are using a physical router, then create a bridged connection in vmware and create a subnet on the router to match your management network.

  2. Create a private network in vmware without dhcp and a host adapter for it. From windows share your internet connection from the internet network adapter to the virtual adapter created by vmware on the host and then set the gateway for both controller and network node to match the ip of the host's virtual adapter!