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-devel

RE: [Xen-devel] RE: new /etc/xen/network script

To: "Nivedita Singhvi" <nsnix@xxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: new /etc/xen/network script
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 17 Aug 2005 13:34:32 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Wed, 17 Aug 2005 12:32:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWjJO++GW+yHZ9kRsGRDd8H1evKEQAARuFQ
Thread-topic: [Xen-devel] RE: new /etc/xen/network script
 

> -----Original Message-----
> From: Nivedita Singhvi [mailto:nsnix@xxxxxxxxxxx] 
> Sent: 17 August 2005 13:12
> To: Ian Pratt
> Cc: Ian Pratt; xen-devel@xxxxxxxxxxxxxxxxxxx; Zhai, Edwin
> Subject: Re: [Xen-devel] RE: new /etc/xen/network script
> 
> Ian Pratt wrote:
> 
> >>Guh. ifdown doesn't delete the addrs, and once they are, via 
> >>del_addrs, the link up doesn't result in route creation.
 
> > What's the contents of your ifcfg-eth0 file? (you may have multiple 
> > under different profiles)

> FC3.
> Not setting address via kernel cmd line.

So, it looks like the 'active ingredient' of 'ifdown eth0' is the
following line:
 ip link set dev eth0 down

Somehow, this seems to remove the ipv6 address, but leave the ipv4 one.

I guess an 'ifconfig eth0 0.0.0.0' is a reasonable way to clear out the
ipv4 address. 

I've checked something in.
Ian

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