A
ataomega
Guest
Hello all.
i installed Proxmox on a debian 5 server.
server's network configuration :
/etc/network/interfaces
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 :
on the server :
On vps :
cat /etc/resolv.conf :
ifconfig :
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
i installed Proxmox on a debian 5 server.
server's network configuration :
/etc/network/interfaces
Code:
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
i create a vps with proxmox, a centos vps vps with ip 173.45.97.236
it used this commands to create vps :
Code:
/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 :
Code:
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:~#
On vps :
cat /etc/resolv.conf :
Code:
search 209.190.74.89
nameserver 209.190.74.89
ifconfig :
Code:
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