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] Xen 4.0 Bridged Networking MAC Rewrite?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 4.0 Bridged Networking MAC Rewrite?
From: Andrew Sorensen <andrewx192@xxxxxxxxx>
Date: Thu, 09 Jun 2011 00:08:50 -0700
Delivery-date: Thu, 09 Jun 2011 00:09:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:content-type:date :message-id:mime-version:x-mailer; bh=Nxn/CYjU5L1NBJ6Fd+B+vzDh3p8Wun8drqeVfi3QurU=; b=tCWCWjGMCS7AzbKF+sPgxbBtVOGepDNW++8vMA3wIBZGmn9R//y9L5Gv3ESbWIP3sd 7H05r7M9lbQg6DgPwI38R2PXvPz/DU5UeEH+FsV8EKixNj4/SUOa+XGaF4qic3Fn+P+Z VO6VWMqOBawxlhxsYfu2Fe0mUPlZXhFtjeLbU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer; b=wafImKTqHj2Z32a9BvUHEDP44SF+GgUrZS7szyFe6ioXip7t7eqYlJuW2TVK4pMKei J7intuMZbHO0vA3/WtToy2oDYvMZ7qP3Z7cL0BCcXnSKJGV+sMBFYocPnqIjfbgqMS0L 7xp+tok3rkdW1Cn0/Qu2uPBrYiXIRTjYjLCp8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: andrewx192@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I currently am working in an environment with 3 NIC operating in bridged mode with XEN.
The two cards configured with static ip addressing are working properly in XEN DomU guests, and Dom0.

However, there is one interface that connects upstream to my ISP, which has IP addressing based on DHCP.
The DomU in question has all three network cards bridged to it, and two of them work, but the the WAN uplink does not.

`brctl show` on the Dom0 shows that the DomU is connected to the correct bridge.

Is it possible to rewrite the MAC address on Dom0 to a MAC address that the ISP would assign an IP too (I'm assuming it's rejecting the XEN MAC at this point)?

XEN 4.0.1 / Debian Squeeze

# xm info
host                   : WLN-SRV-ASUSP5QLP
release                : 2.6.32-5-xen-amd64
version                : #1 SMP Thu May 19 01:16:47 UTC 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2533
hw_caps                : bfebfbff:20100800:00000000:00000940:0008e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 6143
free_memory            : 2360
node_to_cpu            : node0:0-1
node_to_memory         : node0:2360
node_to_dma32_mem      : node0:2360
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : placeholder dom0_mem=256M
cc_compiler            : gcc version 4.4.5 (Debian 4.4.5-10)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Wed Jan 12 14:04:06 UTC 2011
xend_config_format     : 4


# cat /etc/xen/demo.cfg

#
# Configuration file for the Xen instance demo, created
# by xen-tools 4.2 on Sun Jun  5 00:52:44 2011.
#

#
#  Kernel + memory size
#


bootloader = '/usr/lib/xen-default/bin/pygrub'

vcpus       = '1'
memory      = '128'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'phy:/dev/crmd2-vg/demo-disk,xvda2,w',
                  'phy:/dev/crmd2-vg/demo-swap,xvda1,w',
              ]


#
#  Physical volumes
#


#
#  Hostname
#
name        = 'demo'

#
#  Networking
#
vif         = [ 'bridge=br1,ip=172.16.91.1,mac=00:16:3E:DD:D2:4A', 'bridge=br0,mac=00:16:3E:DD:E2:4C', 'bridge=br2,ip=172.24.91.1,mac=00:16:3E:DD:D2:4B' ]

#
#  Behaviour
#

on_reboot   = 'restart'
on_crash    = 'restart'

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>