All of lore.kernel.org
 help / color / mirror / Atom feed
* vif_addip
@ 2004-03-17  9:02 victor
  2004-03-17  9:13 ` vif_addip Ian Pratt
  0 siblings, 1 reply; 4+ messages in thread
From: victor @ 2004-03-17  9:02 UTC (permalink / raw)
  To: xen-devel

I'm trying to add a new address to a runing domain.
This is the domain:

[root@xen victor]# xc_dom_control.py list
Dom  Name             Mem(kb)  CPU  State  Time(s)
0    Domain-0          131072   0    r-      156
1    This is VM 1       65536   0    --       46

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)
	
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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* vif_addip
@ 2004-03-05 10:56 victor
  2004-03-05 11:23 ` vif_addip Ian Pratt
  0 siblings, 1 reply; 4+ messages in thread
From: victor @ 2004-03-05 10:56 UTC (permalink / raw)
  To: xen-devel

I'm trying to add a new ip address to a running domain;

The domain starts:

[root@xen xenolinux-2.4.24]# xc_dom_create.py -f /etc/xc/test -D vmid=1
Parsing config file '/etc/xc/test'
VM image           : "/boot/xenolinux.gz"
VM ramdisk         : ""
VM memory (MB)     : "64"
VM IP address(es)  : "169.254.1.1"
VM block device(s) : "vd:2,/dev/xvda,w"
VM cmdline         : "ip=169.254.1.1:169.254.1.0:169.254.1.0:255.255.0.0::eth0:off root=/dev/xvda ro 4 VMID=1"
VM started in domain 1

Then I add the address:
xc_dom_control.py vif_addip 1 0 192.168.250.60

But no address is added.
This requires to have 2 hardware network(because 1 have only one)?

I also tried to add a new ip from the config file:
[root@xen xc]# xc_dom_create.py -f /etc/xc/test -D vmid=1 vif_addip 1 0 192.168.250.60
Parsing config file '/etc/xc/test'
VM image           : "/boot/xenolinux.gz"
VM ramdisk         : ""
VM memory (MB)     : "64"
VM IP address(es)  : "169.254.1.1; 192.168.250.60"
VM block device(s) : "vd:2,/dev/xvda,w"
VM cmdline         : "ip=169.254.1.1:169.254.1.0:169.254.1.0:255.255.0.0::eth0:off root=/dev/xvda ro 4 VMID=1"
VM started in domain 2

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-17  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-17  9:02 vif_addip victor
2004-03-17  9:13 ` vif_addip Ian Pratt
  -- strict thread matches above, loose matches on Subject: below --
2004-03-05 10:56 vif_addip victor
2004-03-05 11:23 ` vif_addip Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.