All pastes #905037 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-15 14:52 UTC
rendered paste body
c12:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

######### VLAN interfaces
auto eth1
iface eth1 inet manual

# LAN
auto eth1.10
iface eth1.10 inet manual

# WLAN
auto eth1.12
iface eth1.12 inet manual

# new LAN (notinuse)
auto eth1.13
iface eth1.13 inet manual

# DRBD backup link
auto eth1.16
iface eth1.16 inet manual

# WAN
auto eth1.42
iface eth1.42 inet manual


######### XEN bridge interfaces
auto brlocal
iface brlocal inet manual
        bridge_ports eth1.10
        bridge_maxwait 0

auto brwan
iface brwan inet manual
        bridge_ports eth1.42
        bridge_maxwait 0

auto brwlan
iface brwlan inet manual
        bridge_ports eth1.12
        bridge_maxwait 0


######### The primary network interface
auto eth2
iface eth2 inet static
        address 192.168.0.12
        netmask 255.255.255.0
        gateway 192.168.0.254






c12:~# cat /etc/xen/buildserver
#
#  Configuration file for the Xen instance buildserv, created on
# Tue Jul 24 10:58:41 2007.
#


#
#  Kernel + memory size
#
kernel  = '/boot/vmlinuz-2.6-xen'
ramdisk = '/boot/initrd.img-2.6.18-xen'

memory  = '320'


#
#  Disk device(s).
#
root    = '/dev/sda1 ro'

disk    = [ 'file:/safety/xen//domains/buildserv/disk.img,sda1,w', 'file:/safety/xen//domains/buildserv/swap.img,sda2,w' ]

#
#  Hostname
#
name    = 'buildserver'


#
#  Networking
#
vif  = [ 'mac=00:16:3E:0F:B1:70,bridge=brwan' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'




c12:~# brctl show
bridge name     bridge id               STP enabled     interfaces
brlocal         8000.0011d892870f       no              eth1.10
                                                        vif2.0
brwan           8000.0011d892870f       no              eth1.42
brwlan          8000.0011d892870f       no              eth1.12