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

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

To: andrewx192@xxxxxxxxx
Subject: Re: [Xen-users] Xen 4.0 Bridged Networking MAC Rewrite?
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Thu, 9 Jun 2011 14:14:39 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 09 Jun 2011 00:15:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1307603330.3333.53.camel@WLN-MSI-201101>
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>
References: <1307603330.3333.53.camel@WLN-MSI-201101>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jun 9, 2011 at 2:08 PM, Andrew Sorensen <andrewx192@xxxxxxxxx> wrote:
> 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)?

Why don't you just change mac setting on domU's config file (the vif line)?

The closest thing to MAC rewrite in domU is either ebtables nat or
proxy arp, both are standard Linux mechanism (e.g. not xen-specific)
and are more complex compared to just editing domU's config file.

-- 
Fajar

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

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