ispCP - Board - Support
Additional IP for IspCP on OpenVZ - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Additional IP for IspCP on OpenVZ (/thread-10722.html)



Additional IP for IspCP on OpenVZ - Gomez - 05-19-2010 06:02 AM

Hi,

i successfully use ispCP on a OpenVZ Container. For a SSL Certificate i added a new IP to the Container.

The Interfaces now look like this:

PHP Code:
venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr
:188.40.XXX.XXX  P-t-P:188.40.XXX.XXX  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU
:1500  Metric:1

venet0
:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr
:188.40.XXX.XXX  P-t-P:188.40.XXX.XXX  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU
:1500  Metric:

But i cant add the new interface (venet0:1) to ispCP. In Settings > Manage IP is only venet0 available. I cant add venet0:1.

Can someone help? Does someone use ispCP with OpenVZ and more than one IP?

Thx in advance
Gomez[/quote]


RE: Additional IP for IspCP on OpenVZ - BeNe - 05-19-2010 10:13 PM

You must add it to eth0 and ispCP will create the new interface automaticly for you! But beware, you have to correct the subnetmask for the new interface.

Greez BeNe


RE: Additional IP for IspCP on OpenVZ - Gomez - 05-20-2010 12:30 AM

Hi Bene,

thx for the help, but i dont understand, i only have venet0 as interface.
Here is the full ifconfig output:


PHP Code:
lo        Link encap:Local Loopback                                                                                                                   
          inet addr
:127.0.0.1  Mask:255.0.0.0                                                                                                         
          inet6 addr
: ::1/128 Scope:Host                                                                                                              
          UP LOOPBACK RUNNING  MTU
:16436  Metric:1                                                                                                    
          RX packets
:562622 errors:0 dropped:0 overruns:0 frame:0                                                                                     
          TX packets
:562622 errors:0 dropped:0 overruns:0 carrier:0                                                                                   
          collisions
:0 txqueuelen:0                                                                                                                   
          RX bytes
:351242575 (334.9 MiB)  TX bytes:351242575 (334.9 MiB)                                                                              
                                                                                                                                                      
venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                   
          inet addr
:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255                                                                   
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU
:1500  Metric:1                                                                                  
          RX packets
:4476241 errors:0 dropped:0 overruns:0 frame:0                                                                                    
          TX packets
:3554924 errors:0 dropped:0 overruns:0 carrier:0                                                                                  
          collisions
:0 txqueuelen:0                                                                                                                   
          RX bytes
:4467124171 (4.1 GiB)  TX bytes:1263959050 (1.1 GiB)                                                                                
                                                                                                                                                      
venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                   
          inet addr
:188.40.xxx.xxx  P-t-P:188.40.xxx.xxx  Bcast:0.0.0.0  Mask:255.255.255.255                                                         
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU
:1500  Metric:1                                                                                  
                                                                                                                                                      
venet0
:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                                                                   
          inet addr
:188.40.xxx.xxx  P-t-P:188.40.xxx.xxx  Bcast:0.0.0.0  Mask:255.255.255.255                                                         
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU
:1500  Metric: