OpenVZ Forum


Home » General » Support » Proxmox. vps not pinging.
Proxmox. vps not pinging. [message #37242] Fri, 28 August 2009 06:50 Go to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

Hello all.

i installed Proxmox on a debian server.
server's network configuration :

/etc/network/interfaces
auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet static
address 173.45.97.234
netmask 255.255.255.248
gateway 173.45.97.233


server has these ips : 173.45.97.234 (main ip), 173.45.97.235-238 (additional)

i create a vps with proxmox, a centos vps vps with ip 173.45.97.236
it used this commands to create vps :
/usr/bin/pvectl vzcreate 101 --disk 8 --ostemplate centos-5-standard_5.2-1_i386.tar.gz --rootpasswd $1$7g0t63pP$eCyRCG3hh8RtHvseqeSum1 --hostname ns1.mihanpars.com --description CentOS 5 (standard) --nameserver 209.190.74.89 --searchdomain 209.190.74.89 --onboot yes --swap 512 --ipset 173.45.97.236 --mem 1024 --cpus 1
vzctl set 101 --vmguarpages 393216:9223372036854775807 --oomguarpages 393216:9223372036854775807 --privvmpages 393216:405716 --lockedpages 262144:262144 --diskspace 8388608:9227468 --diskinodes 1600000:1760000 --hostname ns1.mihanpars.com --description CentOS 5 (standard) --searchdomain 209.190.74.89 --ipadd 173.45.97.236 --onboot yes --nameserver 209.190.74.89 --save
Saved parameters for CT 101
VM 101 created


on the server :
d5:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1c:c0:5c:b1:a6
          inet addr:173.45.97.234  Bcast:173.45.97.239  Mask:255.255.255.248
          inet6 addr: fe80::21c:c0ff:fe5c:b1a6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:288896 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69319 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:192013182 (183.1 MiB)  TX bytes:6307125 (6.0 MiB)

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:4900 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4900 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1068801 (1.0 MiB)  TX bytes:1068801 (1.0 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:224 (224.0 B)  TX bytes:0 (0.0 B)

d5:~#


vps created and started but not pinging in/out side the vps

any solution please?
Re: Proxmox. vps not pinging. [message #37244 is a reply to message #37242] Fri, 28 August 2009 07:21 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

On vps :
cat /etc/resolv.conf :
search 209.190.74.89
nameserver 209.190.74.89


ifconfig :
ifconfig                                                         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:0 errors:0 dropped:0 overruns:0 frame:0                                           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                                         collisions:0 txqueuelen:0                                                                    RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)                                                                                                                                          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:0 errors:0 dropped:0 overruns:0 frame:0                                           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                                         collisions:0 txqueuelen:0                                                                    RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)                                                                                                                                          venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00                    inet addr:173.45.97.236  P-t-P:173.45.97.236  Bcast:173.45.97.236  Mask:255.255.255.255                                                                                                   UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


on ifcfg-venet0:0 file in vps : NETMASK=255.255.255.2555
before these, i've worked VirtualBox for creating vps, for windows and linux vpses, i set netmask for them 255.255.0.0
also in ifcfg-venet0:0 file , gateway is not defined.

any solution please? vps is not pinging
Re: Proxmox. vps not pinging. [message #37248 is a reply to message #37244] Fri, 28 August 2009 15:30 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

any iptables rules set ?

please post your settings, if setup some rules

# iptables-save

Bye,
Thorsten
Re: Proxmox. vps not pinging. [message #37254 is a reply to message #37248] Fri, 28 August 2009 22:56 Go to previous message
bucasia is currently offline  bucasia
Messages: 4
Registered: June 2009
Junior Member
Did you setup ip forwarding in sysctl.conf?

http://wiki.openvz.org/Quick_installation#sysctl

Matt
Previous Topic: vzctl enter CT via SSH (wrapper?)
Next Topic: vzquota error
Goto Forum:
  


Current Time: Sun Nov 10 20:59:11 GMT 2024

Total time taken to generate the page: 0.03699 seconds