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

Re: [Xen-devel] vif_addip



> 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


 


Rackspace

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