Book Page

ksmithatnovell's picture

Utopia Router

Author Info

16 April 2007 - 4:00am
Submitted by: ksmithatnovell

Tags

book
Reads:

1415

Score:
5
5
1
 
Comments:

0

Configuration
Two address
DHCP
172.17.2.2
Usage
Most times when using a Utopia demo you want the demo virtual machines to have internet access as well as being able to communicate with each other. If your demo is small enough to fit onto one physical host providing the vm's with internet is easy: just set the virtual network to NAT. But what if you want to span the vm's across multiple hosts, either because the demo is large or because you want to optimise performance?

Whenever you need a vm on host 1 to talk to another vm on host 2 you need to use VMware's Bridged Mode for networking, and then of course you lose NAT's ability to provide seamless internet access to the vm's. In the past we provided a workaround for this that involved you manually reconfiguring one of the hosts to act as the default route and gateway for internet traffic, but this was complex to do.

Now, with this new router vm, we are giving you what is in effect an internet router virtual appliance for Utopia systems. This tiny vm requires only 64Mb of RAM to run, but if you start it up in a bridged Utopia demo all the vm's in that demo will instantly and automatically get access to the internet via the physical interface of the host on which the appliance is running.

In other words, just unzip it and fire it up. Job done.
Tech info
The virtual machine routerutp is used to replace VMware's traditional router. With VMwares traditional NAT configuration VMware will advertise its default route and DNS as 172.17.2.2 however if you plan to share your Utopia VM across multiple hosts you will need to configure the VM's to bridged mode. The issue with this is you will no longer be able to get internet access.
Usage. Configure Utopia VM's to bridged mode. Start routerutp, this will now advertise 172.17.2.2 and route onto an existing network where the IP address is assigned via dhcp. Utopia VM's will now be able to route via 172.17.2.2 Also 172.17.2.2 will act as a DNS server for both the Utopia domain name and external DNS. So if required clients or servers consuming the Utopia framework should point to 172.17.2.2 and the DNS server and default route

Note DNS can be updated by editing /etc/hosts


Author Info

16 April 2007 - 4:00am
Submitted by: ksmithatnovell

Tags




User Comments

© 2009 Novell, Inc. All Rights Reserved.