How do I set up virtual (routed) interfaces?

Greetings!

Now, as I attempt to set up virtual machines, I need to set up an internal network, but instead of having it bridged, I intend to set it up that all traffic is routed instead (i. e. dom0 acts as a router between the outside - be it the 'Net if forwarded or my IPsec tunnel - and the virtual network with the virtual network supposed to become the DMZ).
Does anyone have any experience in setting up routed virtual networking? I already have edited xend-config.sxp so that vif-route-ifup is used instead of vif-bridge. I also have generated the file ifcfg-veth0:


NAME='Xen virtual interface veth0'
BOOTPROTO='static'
STARTMODE='hotplug'
IPADDR='172.24.0.1'
NETMASK='255.255.255.0'
USERCONTROL='no'
NETWORK=''
REMOTE_IPADDR=''

Any help would be greatly appreciated.

Probably easiest should be to install libvirt (ie VM Manager).
Installing libvirt automatically installs the virbr0 virtual interface which should support routed networking, bridging, NAT and Host Only.

Otherwise, there are various references describing creating your own custom virtual device and configuring.

TSU