Containers Use Host IP and not configured IPs [message #52032] |
Sat, 02 May 2015 15:21 |
scottcase
Messages: 6 Registered: May 2015 Location: Florida
|
Junior Member |
|
|
Hello,
I am having a networking issue i cant seem to figure out.
Here is what I did
1: took backups of all VPSs & did a clean OS install on the server ( CentOS 6.5 )
2: reinstalled SolusVM control panel with openvz virtualization
3: restored VPSs with vzdump --restore ...
The issue is that the VPSs are now using the Host IP address and not the IP configured
# vzctl restart 115
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container...
Container is mounted
Adding IP address(es): 7x.xx.139.109 7x.xx.138.128
Setting CPU limit: 200
Setting CPU units: 1000
Setting CPUs: 2
Container start in progress...
# vzctl enter 115
entered into CT 115
[~]# lynx -dump http //www.cpanel.net/showip.cgi
7x.xx.138.86
I really need some help figuring this out. The cpanel installs running on the VPSs are throwing the invalid license screen due to this IP issue
Scott
|
|
|
|
|
|
Re: Containers Use Host IP and not configured IPs [message #52036 is a reply to message #52032] |
Sat, 02 May 2015 17:26 |
scottcase
Messages: 6 Registered: May 2015 Location: Florida
|
Junior Member |
|
|
Hello curx,
Here is the requested information
Host Node
IPTables
[root@ ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
SOLUSVM_TRAFFIC_IN all -- anywhere anywhere
SOLUSVM_TRAFFIC_OUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain SOLUSVM_TRAFFIC_IN (1 references)
target prot opt source destination
all -- anywhere 7x.xx.139.101
all -- anywhere 7x.xx.139.102
all -- anywhere 7x.xx.139.103
all -- anywhere 7x.xx.139.104
all -- anywhere 7x.xx.139.105
all -- anywhere 7x.xx.139.106
all -- anywhere 7x.xx.139.107
all -- anywhere 7x.xx.139.109
all -- anywhere xxxxxxmail.com
all -- anywhere xxxxxaseitnow.net
all -- anywhere 7x.xx.138.6
all -- anywhere 7x.xx.137.254
all -- anywhere 7x.xx.137.253
all -- anywhere xxxxxxhosting.net
all -- anywhere xxxxxxeutcart.com
all -- anywhere xxxxxxasnline.com
all -- anywhere xxxxxxxutions.com
all -- anywhere 7x.xx.138.128
all -- anywhere xxxxxxxlobal2.com
Chain SOLUSVM_TRAFFIC_OUT (1 references)
target prot opt source destination
all -- 7x.xx.139.101 anywhere
all -- 7x.xx.139.102 anywhere
all -- 7x.xx.139.103 anywhere
all -- 7x.xx.139.104 anywhere
all -- 7x.xx.139.105 anywhere
all -- 7x.xx.139.106 anywhere
all -- 7x.xx.139.107 anywhere
all -- 7x.xx.139.109 anywhere
all -- xxxxxxmail.com anywhere
all -- xxxxxaseitnow.net anywhere
all -- 7x.xx.138.6 anywhere
all -- 7x.xx.137.254 anywhere
all -- 7x.xx.137.253 anywhere
all -- xxxxxxhosting.net anywhere
all -- xxxxxxeutcart.com anywhere
all -- xxxxxxasnline.com anywhere
all -- xxxxxxxutions.com anywhere
all -- 7x.xx.138.128 anywhere
all -- xxxxxxxlobal2.com anywhere
[root@ ~]#
[root@ ~]# ip a l && ip r l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cbq state UP qlen 1000
link/ether 00:1a:4b:d5:a0:e2 brd ff:ff:ff:ff:ff:ff
inet 7x.xx.138.86/21 brd 7x.xx.143.255 scope global eth0
inet6 fe80::21a:4bff:fed5:a0e2/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:1a:4b:d5:a0:e3 brd ff:ff:ff:ff:ff:ff
5: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc cbq state UNKNOWN
link/void
7x.xx.138.122 dev venet0 scope link
7x.xx.138.125 dev venet0 scope link
7x.xx.138.124 dev venet0 scope link
7x.xx.138.127 dev venet0 scope link
7x.xx.139.102 dev venet0 scope link
7x.xx.138.126 dev venet0 scope link
7x.xx.137.253 dev venet0 scope link
7x.xx.139.105 dev venet0 scope link
7x.xx.139.104 dev venet0 scope link
7x.xx.139.107 dev venet0 scope link
7x.xx.137.254 dev venet0 scope link
7x.xx.139.106 dev venet0 scope link
7x.xx.140.66 dev venet0 scope link
7x.xx.139.109 dev venet0 scope link
7x.xx.138.6 dev venet0 scope link
7x.xx.138.128 dev venet0 scope link
7x.xx.136.0/21 dev eth0 proto kernel scope link src 7x.xx.138.86
169.254.0.0/16 dev eth0 scope link metric 1002
default via 7x.xx.136.1 dev eth0
[root@ ~]#
Inside VPS
[root@ ~]# vzctl enter 100
entered into CT 100
root@ [/]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere
Chain acctboth (2 references)
target prot opt source destination
tcp -- xxxxxxxutions.com anywhere tcp dpt:http
tcp -- anywhere xxxxxxxutions.com tcp spt:http
tcp -- xxxxxxxutions.com anywhere tcp dpt:smtp
tcp -- anywhere xxxxxxxutions.com tcp spt:smtp
tcp -- xxxxxxxutions.com anywhere tcp dpt:pop3
tcp -- anywhere xxxxxxxutions.com tcp spt:pop3
icmp -- xxxxxxxutions.com anywhere
icmp -- anywhere xxxxxxxutions.com
tcp -- xxxxxxxutions.com anywhere
tcp -- anywhere xxxxxxxutions.com
udp -- xxxxxxxutions.com anywhere
udp -- anywhere xxxxxxxutions.com
all -- xxxxxxxutions.com anywhere
all -- anywhere xxxxxxxutions.com
tcp -- xxxxxxmail.com anywhere tcp dpt:http
tcp -- anywhere xxxxxxmail.com tcp spt:http
tcp -- xxxxxxmail.com anywhere tcp dpt:smtp
tcp -- anywhere xxxxxxmail.com tcp spt:smtp
tcp -- xxxxxxmail.com anywhere tcp dpt:pop3
tcp -- anywhere xxxxxxmail.com tcp spt:pop3
icmp -- xxxxxxmail.com anywhere
icmp -- anywhere xxxxxxmail.com
tcp -- xxxxxxmail.com anywhere
tcp -- anywhere xxxxxxmail.com
udp -- xxxxxxmail.com anywhere
udp -- anywhere xxxxxxmail.com
all -- xxxxxxmail.com anywhere
all -- anywhere xxxxxxmail.com
tcp -- xxxxxxasnline.com anywhere tcp dpt:http
tcp -- anywhere xxxxxxasnline.com tcp spt:http
tcp -- xxxxxxasnline.com anywhere tcp dpt:smtp
tcp -- anywhere xxxxxxasnline.com tcp spt:smtp
tcp -- xxxxxxasnline.com anywhere tcp dpt:pop3
tcp -- anywhere xxxxxxasnline.com tcp spt:pop3
icmp -- xxxxxxasnline.com anywhere
icmp -- anywhere xxxxxxasnline.com
tcp -- xxxxxxasnline.com anywhere
tcp -- anywhere xxxxxxasnline.com
udp -- xxxxxxasnline.com anywhere
udp -- anywhere xxxxxxasnline.com
all -- xxxxxxasnline.com anywhere
all -- anywhere xxxxxxasnline.com
tcp -- xxxxxaseitnow.net anywhere tcp dpt:http
tcp -- anywhere xxxxxaseitnow.net tcp spt:http
tcp -- xxxxxaseitnow.net anywhere tcp dpt:smtp
tcp -- anywhere xxxxxaseitnow.net tcp spt:smtp
tcp -- xxxxxaseitnow.net anywhere tcp dpt:pop3
tcp -- anywhere xxxxxaseitnow.net tcp spt:pop3
icmp -- xxxxxaseitnow.net anywhere
icmp -- anywhere xxxxxaseitnow.net
tcp -- xxxxxaseitnow.net anywhere
tcp -- anywhere xxxxxaseitnow.net
udp -- xxxxxaseitnow.net anywhere
udp -- anywhere xxxxxaseitnow.net
all -- xxxxxaseitnow.net anywhere
all -- anywhere xxxxxaseitnow.net
tcp -- xxxxxxhosting.net anywhere tcp dpt:http
tcp -- anywhere xxxxxxhosting.net tcp spt:http
tcp -- xxxxxxhosting.net anywhere tcp dpt:smtp
tcp -- anywhere xxxxxxhosting.net tcp spt:smtp
tcp -- xxxxxxhosting.net anywhere tcp dpt:pop3
tcp -- anywhere xxxxxxhosting.net tcp spt:pop3
icmp -- xxxxxxhosting.net anywhere
icmp -- anywhere xxxxxxhosting.net
tcp -- xxxxxxhosting.net anywhere
tcp -- anywhere xxxxxxhosting.net
udp -- xxxxxxhosting.net anywhere
udp -- anywhere xxxxxxhosting.net
all -- xxxxxxhostin
...
|
|
|
|
|
|
|
|