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

Re: [Xen-devel] Re: [Xen-users] XEN - networking and performance



On 10 October 2011 18:03, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:


> You lost me. <sigh> I am using a bridge configuration and just
> do:
>
> auto lo
> iface lo inet loopback
>
> auto switch
> iface switch inet static
>        address 192.168.101.16
>        netmask 255.255.255.0
>        gateway 192.168.101.1
>        bridge_ports eth2
>
> And just use that 'bridge=switch' in all my configuration. And that
> seems to work just fine - wouldn't that be best way of providing
> the first network setup to users? I would think the majority of folks
> do something akin to this?

Yep, I keep mine simple too, in Redhat/Centos/Fedora terms my networking is

# cat /etc/sysconfig/network-scripts/ifcfg-virbr0
DEVICE=virbr0
TYPE=Bridge
ONBOOT=yes
USERCTL=no
BOOTPROTO=none
IPADDR0=192.168.1.125
PREFIX0=24
GATEWAY0=192.168.1.1
DNS1=192.168.1.1
DEFROUTE=YES
IPV6INIT=no
NM_CONTROLLED=no

# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"
BOOTPROTO=none
ONBOOT="yes"
NM_CONTROLLED=no
HWADDR=00:1E:8C:BC:53:36
TYPE=Ethernet
BRIDGE=virbr0
NAME="System em1"
UUID=1dad842d-1912-ef5a-a43a-bc238fb267e7

# cat /etc/rc.d/rc.local
ifup virbr0
ifup em1
ip route add default via 192.168.1.1

then in each domU's .cfg file

vif = [ 'mac=00:16:36:xx:yy:zz, bridge=virbr0' ]

_______________________________________________
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®.