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] vif_addip

To: victor <victor@xxxxxxxx>
Subject: Re: [Xen-devel] vif_addip
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 17 Mar 2004 09:13:09 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Wed, 17 Mar 2004 09:18:06 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 17 Mar 2032 11:08:28 EST." <7503547C.1090305@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> This is how I try to add the address:
> xc_dom_control.py vif_addip 1 0 192.168.250.60
> 
> But no address apears:
> eth0      Link encap:Ethernet  HWaddr AA:00:00:2F:57:69  
>           inet addr:169.254.1.1  Bcast:169.254.255.255  Mask:255.255.0.0
>         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>         RX packets:97 errors:0 dropped:0 overruns:0 frame:0
>         TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
>         collisions:0 txqueuelen:1000 
>         RX bytes:9906 (9.6 Kb)  TX bytes:11273 (11.0 Kb)

"xc_dom_control.py vif_addip" tells Xen about the new address,
but you'll still need to configure it in the domain with ifconfig.
        
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>         UP LOOPBACK RUNNING  MTU:16436  Metric:1
>         RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>         TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>         collisions:0 txqueuelen:0 
>         RX bytes:737 (737.0 b)  TX bytes:737 (737.0 b)
> 
> I suppose that the command "xc_dom_control.py vif_addip 1 0 192.168.250.60" 
> only make internal routing.
> So I added manualy the ip address, but it still not answering.

>From within domain 1, did you ifconfig an alias with something
like the following?

 ifconfig eth0:60 192.168.250.60 netmask 255.255.0.0

You should then be able to ping 192.168.250.60 from within
domain 1, domain 0, and other the machines on the LAN.

Ian

> Thank you.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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