OpenVZ Forum


Home » General » Support » Containers Use Host IP and not configured IPs
Re: Containers Use Host IP and not configured IPs [message #52034 is a reply to message #52032] Sat, 02 May 2015 16:18 Go to previous messageGo to previous message
scottcase is currently offline  scottcase
Messages: 6
Registered: May 2015
Location: Florida
Junior Member
Hello Curx

7x.xx.138.86 is the node ip address, the container should be using 7x.xx.139.109 as the main ip address.

I tried your suggestion with no change

[root@ ~]# vzctl set 115 --ipadd 7x.xx.139.109 --save
Deleting IP address(es): 7x.xx.139.109
Adding IP address(es): 7x.xx.139.109
CT configuration saved to /etc/vz/conf/115.conf
[root@ ~]# vzctl enter 115
entered into CT 115
root@ [~]# lynx -dump http //www.cpanel.net/showip.cgi

7x.xx.138.86

root@[~]# exit
logout
exited from CT 115
[root@ ~]#




Scott
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why a custom kernel not a kernel module?
Next Topic: Local-net only one way traffic?
Goto Forum:
  


Current Time: Mon Aug 12 09:32:14 GMT 2024

Total time taken to generate the page: 0.02768 seconds