I started to mention this in my xen networking page and figured since I’ve had a chance to look at the script a little that I’ll blog about it. This is an all-in-one script written by Ron Terry from pronetworkconsulting. The script is called network-multinet. I haven’t looked at his dhcp addition, so I’ll leave that for another post.
First, I’ll show you how to change over to this new script:
Warnings: This is changing and restarts your networking.
1. Download the script from the link above and copy it to:
if you are using opensuse 10.3, then just check the version (in the file)
2. Edit /etc/xen/xend-config.sxp around line 128:
3. Depending on your distro you might have to add or edit:
4. Now to switch over to the new script:
5. Check to make sure everything came back up:
and check your VMs.
That should do it. You are now switched over to a much newer and cooler script with more features. One of the things that I really like is the fact that you can now start, stop, restart, and status instead of just start and stop.
Running ‘/etc/xen/scripts/network-multinet status’ gives you a lot of information which is very useful.
I recommend looking around at the other scripts. There are some useful ones around the site.