[vserver] some questions of naddress

From: songjun435 <songjun435_at_gmail.com>
Date: Wed 14 Mar 2012 - 13:38:32 GMT
Message-ID: <201203142138277036469@gmail.com>

hi,all:
I use naddress command to add ip to the vps

1. I have started a test vps with "--interface eth0:192.168.155.50/24",and I enter the test vps,execute ifconfig:
eth0 Link encap:Ethernet HWaddr 78:2B:CB:02:2C:18
          inet addr:192.168.155.50 Bcast:192.168.155.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:271309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:124534819 (118.7 MiB) TX bytes:5267316 (5.0 MiB)
          Interrupt:98 Memory:d6000000-d6012800

2. then I execute "naddress --set --nid 42 --ip 10.0.0.3/24",information on the console:
Adding 10.0.0.3
3.then I enter the test vps again,and execute ifconfig,
   But now there is nothing output to the console,why?

Can I use the naddress to change the ip of the vps?
And how to give two or more ips to the vps?
Thank you!



3NMedia
ξ
Received on Wed Mar 14 13:38:51 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 14 Mar 2012 - 13:38:52 GMT by hypermail 2.1.8