WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] what creates the veth* devices?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] what creates the veth* devices?
From: Chris Stromsoe <cbs@xxxxxxxxxxxx>
Date: Fri, 6 Jul 2007 01:52:02 -0700 (PDT)
Delivery-date: Fri, 06 Jul 2007 01:50:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
What creates the veth* devices and is it necessary to have them in order to have correct / functional networking?

I'm using Xen 3.0.3 on Debian Etch. I have my dom0 networking being built using standard Debian configuration in /etc/network/interfaces. xend-config.sxp is set to use

(network-script network-dummy)

My domU configurations are set with

vif = [ 'type=ioemu, bridge=xenbr772' ]

Everything seems to be working as near as I can tell, except that I don't have any veth* devices. My domUs all have a vif device that shows up as part of the correct bridge when the domU starts up. Do I need those?


/etc/network/interfaces:

auto bond0
iface bond0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

        up ifenslave bond0 eth0 eth1
        down ifenslave -d bond0 eth0 eth1

auto bond1
iface bond1 inet manual
        pre-up ip li set bond1 up
        post-down ip li set bond1 down

        up ip link set bond1 address fe:ff:ff:ff:ff:ff
        up ip link set bond1 arp off
        up ip link set bond1 multicast off

        up ifenslave bond1 eth2 eth3
        down ifenslave -d bond1 eth2 eth3


auto bond1.718
iface bond1.718 inet manual
        vlan-raw-device bond1

        up ip li set bond1.718 up
        down ip li set bond1.718 down


auto bond1.772
iface bond1.772 inet manual
        vlan-raw-device bond1

        up ip li set bond1.772 up
        down ip li set bond1.772 down


auto xenbr772
iface xenbr772 inet manual
        bridge_ports bond1.772
        bridge_stp off
        bridge_fd 0

        up ip link set xenbr772 arp off
        up ip link set xenbr772 multicast off




-Chris

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

<Prev in Thread] Current Thread [Next in Thread>