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

[Xen-users] Xen 4.0 Bridged Networking MAC Rewrite?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Andrew Sorensen <andrewx192@xxxxxxxxx>
  • Date: Thu, 09 Jun 2011 00:08:50 -0700
  • Delivery-date: Thu, 09 Jun 2011 00:09:46 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.