Tuesday, March 23, 2010

2nd NIC + DHCP

Here we are again, posting about our cloud adventures...

As the previous post mentioned, we decided to install another NIC in homer (our server)... and have all our nodes in a private lan. We got an old NIC card (1998) which at least is 100 Mbps... well, it really doesn't matter right now since our network switch is also pretty old (but it is 10/100 Mbps as well).

The hardest job in order to make the installation work was how to open the computer!? yeah..., unfortunately it had some kind of security lock on it... but after contacting our system lab technician (or whatever) then it was finally opened (he had the power! I mean, the tool).

After inserting the NIC, our DHCP was now configured to work giving IPs only to our private lan. In this case, our new NIC called as eth1 (by default) is providing IPs to our cloud, while the other eth0 is connected to the external world. Assuming that nobody (except us) needs access to the nodes, there is absolutely no problem having this topology.

The last modification was in the eucalyptus.conf in our server homer, in order to inform it which interface is public (external) and which one is private (internal). In our case, it is something like this:

VNET_PUBINTERFACE="eth0"
VNET_PRIVINTERFACE="eth1"

After restarting all the services in both server and node everything was working "sweet".

Ah, of course... I still have to close the server... I'll do it soon... (or not)

Until next post,
Lucio

No comments:

Post a Comment