<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 5:54 PM, Jack <span dir="ltr">&lt;<a href="mailto:quiet_celt@yahoo.com">quiet_celt@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Objective: I&#39;m installing XEN on a server I&#39;m building. The server has two NICs, and will have a dual connection to the Internet, with 5 fixed used IP addresses. I plan to run 3 guests. One of those guests will use two IPs , hopefully. </div>
<div><br></div><div>Reading the KVM documentation (I&#39;m also considering KVM, if XEN doesn&#39;t work out) and the XEN documentation leaves me a bit confused on the network bridging.</div><div><br></div><div>The XEN documentation seems to indicate you NEED to have two NICs to do this. The KVM documentation seems to indicate you need to bridge in order for the guests to be network visible. But what I want to do is make sure that either one or both NICs are visible to any given guest. <br>
</div><div><br></div><div>So can I bridge, both NICs independently? Or merge them into one fatter
 pipe? Or something else.</div><div><br></div><div>Thanks,</div><div>Jack<br></div></div></div><br>_______________________________________________<br>
KCLUG mailing list<br>
<a href="mailto:KCLUG@kclug.org">KCLUG@kclug.org</a><br>
<a href="http://kclug.org/mailman/listinfo/kclug" target="_blank">http://kclug.org/mailman/listinfo/kclug</a><br></blockquote></div><br><div style>Any documentation that indicates that you can&#39;t run a bridge on a system with one NIC is, well, wrong.  The key is that you need to put your IP address on the bridge interface.</div>
<div style><br></div><div style>So something like:</div><div style><br></div><div style>brctl addbr br0</div><div style>brctl addif br0 eth0</div><div style><br></div><div style>ip address delete [inet address from eth0]/32 dev eth0</div>
<div style><br></div><div style>ifconfig br0 [inet address from eth0]</div><div style><br></div><div style>Then utilize the br0 interface in the vif stanza and you&#39;re in business.</div><div style><br></div><div style>
Some folks seem to think its necessary for the bridge setup/tear-down be in /etc/xen/scripts.  I prefer to use the OS network configuration gadgetry myself, but I suppose inserting it into the xen network script infrastructure makes it more distro/portable.</div>
<div><br></div>-- <br>You know, I used to think it was awful that life was so unfair. Then I thought, wouldn&#39;t it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.<br>