Current time: 11-14-2024, 05:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
Additional IP for IspCP on OpenVZ
Author Message
Gomez Offline
Junior Member
*

Posts: 18
Joined: Dec 2009
Reputation: 0
Post: #1
Additional IP for IspCP on OpenVZ
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]
05-19-2010 06:02 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Additional IP for IspCP on OpenVZ
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
05-19-2010 10:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Gomez Offline
Junior Member
*

Posts: 18
Joined: Dec 2009
Reputation: 0
Post: #3
RE: Additional IP for IspCP on OpenVZ
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:
05-20-2010 12:30 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)