[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Multiple NIC interfaces on different subnets



Donny Brooks wrote:
We have multiple /24 networks here and I need to be able to have machines on at least 2 or 3 of the ranges. The server has 4 NIC ports I can use if needed. What would be the best way to get these /24's accessible on this machine?

On mine I have network-script set to my-network-script, and my-network-script contains :

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=ethbak bridge=ethbak
"$dir/network-bridge" "$@" vifnum=1 netdev=ethext bridge=ethext
"$dir/network-bridge" "$@" vifnum=1 netdev=ethint bridge=ethint

I can then attach any guest to any combination of bridges are required.
Dom0 currently has an interface defined on each network, but I believe you can get round that with "if up" to make an interface active but without an IP.

This is on a Debian system.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.