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] Changing MAC address of vifs in dom0

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Changing MAC address of vifs in dom0
From: Blah Blah <cpnmagnet1@xxxxxxxxx>
Date: Fri, 13 Aug 2010 18:53:14 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Aug 2010 16:54:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+4AU+l/jEsZvoAXwTXG8oPAfimc3j6bJeEs4ZyVdi64=; b=VY2urNpO6sySvH54QNaqo/vJDIABQ6PFmRRlBj2UuzsQPcPA0KXv0gOlif1ixNVrQ7 HPUlzzY/85dM4+28LyOKvunvCsoN+3IK3/GAKCAq09tNI0sFv0K1Cqz7WrblxgtKWJBe vrnlgSnVd7g2XSIDheW4WxjEggra6UNog6k9A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qwQTc+unvf59ceYQ9T3gjd9i4PVsCzw6rGVY/aNPPZfsnuc5VDW8HK4+i++nOFYDlJ S53ri+uSJ20V51TApANRVfYaPOMCEeJvfUvAHX7t/0rpApouV071o5Ad33yP6e/y94Cv /kExC+1VDIIdNBTaY/d/NsjWGdHeLwpIr/4fc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01A92464@trantor>
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: <AANLkTikx+PTJ_52TwGw2LC5acg-L97JgJvHFK1uQ1BHN@xxxxxxxxxxxxxx> <C0C3EC06-9704-4C92-9E2C-54B7F55B0B69@xxxxxxxxxxxxxxxx> <AANLkTikwSyVoZTQ51G9GRALYvdqfwK+urhkz0-CH1tET@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01A923AB@trantor> <AANLkTimb_6Ur3q_jU9_e1H4Ppw6ys=RmKjrV-gaHsZB4@xxxxxxxxxxxxxx> <AANLkTi=Sd3S+1Qk4TbpU1MGNJQa==LsMxMpk9K2YYj61@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01A92464@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
dom0:~ # ip link set dev vif2.0 down
dom0:~ # ip link set dev vif2.0 arp off
dom0:~ # ip link show dev vif2.0
12: vif2.0: <BROADCAST,MULTICAST,NOARP,PROMISC> mtu 1500 qdisc pfifo_fast state DOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
dom0:~ # ip link set dev vif2.0 address 06:00:00:00:00:08
RTNETLINK answers: Operation not supported
dom0:~ #

I switched the mac address to a local one, and did as you asked, and got the same response.  Vif2.0 is not connected to any bridge.

Here's the full output of ip link:

dom0:~ # ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:17:9a:84:66:5e brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:25:11:3e:7c:61 brd ff:ff:ff:ff:ff:ff
4: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:17:9a:84:66:5e brd ff:ff:ff:ff:ff:ff
5: xenbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
6: xenbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
7: xenbr3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
8: vif1.0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
9: vif1.1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
10: vif1.2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
11: vif1.3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
12: vif2.0: <BROADCAST,MULTICAST,NOARP,PROMISC> mtu 1500 qdisc pfifo_fast state DOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
13: vif3.0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
14: tap3.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
    link/ether 3e:3f:66:13:1f:7b brd ff:ff:ff:ff:ff:ff
15: vif4.0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 32
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff


On Fri, Aug 13, 2010 at 12:42 AM, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
>
> This is actually a *NIX network, bunch of debian, opensuse, etc.  I'm
trying
> to set it to the lladdr range reserved for xen (00:16:3e:xx:xx:xx).
I've even
> tried setting it to its current address (FE:FF:FF:FF:FF:FF).
>

00:16:3e is a global address not a local address. Windows would not let
you assign such an address although Linux might. fe:ff:ff should be fine
though.

Have you turned arp off on the interfaces? Can you post the output of
'ip link'?

James

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