OpenVZ Forum


Home » General » Support » Networking problem (Could use a hand)
Networking problem [message #48993] Sat, 09 February 2013 06:24 Go to next message
exotic2013 is currently offline  exotic2013
Messages: 5
Registered: February 2013
Location: USA
Junior Member

Ok so I read alot and refreshed my emmory on hwo this works
I bought a dedicated server at a reputable data center
I installed openvz no problem
I create the first vm command line so have a container to run a SoluVM panel
Now my problem
I cant connect to the vm no mater what do
I put in ticket to dc support and they tell me I have to add the MAC address of the vm from interface in my server panel for the switch to allow traffic
As venet doent assign a MAC Im unsure what to do now
I did this about 8 years ago and had no such problems and I red about using veth instead but that its also more insecure so any help now would be appreciated


Donald P Frum, Jr.
Re: Networking problem [message #48994 is a reply to message #48993] Sun, 10 February 2013 04:01 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Please post some additional information. If there's anything you'd prefer to conceal (host names, actual IPs), mask it out...

From the node (each line is a separate command, VMID should be the actual ID of the VM you've created):
uname -a
vzctl --version
vzlist
cat /etc/vz/conf/VMID.conf
ip addr
ip route
iptables -L
Re: Networking problem [message #48997 is a reply to message #48994] Sun, 10 February 2013 18:54 Go to previous messageGo to next message
exotic2013 is currently offline  exotic2013
Messages: 5
Registered: February 2013
Location: USA
Junior Member

Linux XXX-55-141-13.phx.dedicated.codero.com 2.6.32-042stab072.10.debug #1 SMP Wed Jan 16 19:10:00 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux


vzctl version 3.3


CTID NPROC STATUS IP_ADDR HOSTNAME
101 58 running XXX.55.141.14 zxwebhosting.com
102 15 running XXX.55.141.16 zxgamers.com

NAMESERVER="69.64.66.11 69.64.66.10"
KMEMSIZE="4762632192"
NUMPROC="unlimited"
VMGUARPAGES="unlimited"
NUMTCPSOCK="unlimited"
TCPSNDBUF="unlimited"
TCPRCVBUF="unlimited"
NUMOTHERSOCK="unlimited"
LOCKEDPAGES="1162752"
PRIVVMPAGES="unlimited"
SHMPAGES="unlimited"
OOMGUARPAGES="unlimited"
NUMFLOCK="unlimited"
NUMPTY="unlimited"
OTHERSOCKBUF="unlimited"
DGRAMRCVBUF="unlimited"
NUMFILE="unlimited"
DISKSPACE="26214400:26214400"
DISKINODES="13107200:13107200"
PHYSPAGES="0:2325504"
NUMSIGINFO="unlimited"
DCACHESIZE="2381316096"
NUMIPTENT="unlimited"
CPUUNITS="3000"
CPULIMIT="800"
CPUS="6"
AVNUMPROC="unlimited"
SWAPPAGES="0:786432"
QUOTATIME="0"
QUOTAUGIDLIMIT="9223372036854775807"
IP_ADDRESS="XXX.55.141.16"
DISABLED="no"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-4-x86_64"
ORIGIN_SAMPLE="102"
DEVICES="c:10:200:rw c:108:0:rw "
CAPABILITY=" NET_ADMIN:on"
DEVNODES="net/tun:rw "



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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 pfifo_fast state UP qlen 1000
link/ether 00:25:90:7a:75:96 brd ff:ff:ff:ff:ff:ff
inet 10.132.3.164/27 brd 10.132.3.191 scope global eth0
inet6 fe80::225:90ff:fe7a:7596/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:25:90:7a:75:97 brd ff:ff:ff:ff:ff:ff
inet XXX.55.141.13/24 brd XXX.55.141.255 scope global eth1
inet6 fe80::225:90ff:fe7a:7597/64 scope link
valid_lft forever preferred_lft forever
4: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/void
inet6 fe80::1/128 scope link
valid_lft forever preferred_lft forever


XXX.55.141.14 dev venet0 scope link
XXX.55.141.15 dev venet0 scope link
XXX.55.141.16 dev venet0 scope link
10.132.3.160/27 dev eth0 proto kernel scope link src 10.132.3.164
XXX.55.141.0/24 dev eth1 proto kernel scope link src 216.55.141.13
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
default via 216.55.141.1 dev eth1


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
all -- zxwebhosting.com anywhere
all -- anywhere zxwebhosting.com
all -- zxwebhosting.com anywhere
all -- anywhere zxwebhosting.com
all -- XXX-55-142-16.dedicated.abac.net anywhere
all -- anywhere 216-55-142-16.dedicated.abac.net

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain SOLUSVM_TRAFFIC_IN (1 references)
target prot opt source destination
all -- anywhere 216-55-141-16.dedicated.codero.net
all -- anywhere zxwebhosting.com
all -- anywhere zxwebhosting.com

Chain SOLUSVM_TRAFFIC_OUT (1 references)
target prot opt source destination
all -- XXX-55-141-16.dedicated.codero.net anywhere
all -- zxwebhosting.com anywhere
all -- zxwebhosting.com anywhere


Donald P Frum, Jr.
Re: Networking problem [message #48998 is a reply to message #48994] Sun, 10 February 2013 19:58 Go to previous messageGo to next message
exotic2013 is currently offline  exotic2013
Messages: 5
Registered: February 2013
Location: USA
Junior Member

It hangs when I ssh in, like 30 sec pause between user and root and my ip is the first rule in iptabels for the machine

Donald P Frum, Jr.
Re: Networking problem [message #48999 is a reply to message #48993] Sun, 10 February 2013 23:49 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
You have XXX.55.141.16 everywhere, except for iptables forwarding chain, where I see XXX.55.142.16... And some rules are also repeated more than once...

Disable iptables altogether and see if your problem is gone, then troubleshoot from there.

[Updated on: Sun, 10 February 2013 23:50]

Report message to a moderator

Re: Networking problem [message #49000 is a reply to message #48999] Mon, 11 February 2013 01:48 Go to previous messageGo to next message
exotic2013 is currently offline  exotic2013
Messages: 5
Registered: February 2013
Location: USA
Junior Member

No Message Body

Donald P Frum, Jr.
Re: Networking problem [message #49001 is a reply to message #49000] Mon, 11 February 2013 01:50 Go to previous message
exotic2013 is currently offline  exotic2013
Messages: 5
Registered: February 2013
Location: USA
Junior Member

Oh crap I forgot that, I had accidenlty put a bad IP into Solus and had set the vps on it which I fixed everything but the iptables as I thought it would correct that also when I corrected Ip and removed the bad one
Ok now to go refresh on manual editing iptables lol


Donald P Frum, Jr.
Previous Topic: Second-Level Quotas for Container don't work
Next Topic: Problem with backup and create
Goto Forum:
  


Current Time: Sat Jul 12 21:48:21 GMT 2025

Total time taken to generate the page: 0.02021 seconds