Hi,
I am new to openvz. I install it folowing the instruction and end up with a host that seems to work fine and 2 guest that I can access with "vzctl enter" but not with "ssh". All ssh attemp seems to connect to the host.
Is there is something to change in my /etc/networking/interface
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address AAA.BBB.68.38
netmask 255.255.255.224
gateway AAA.BBB.68.33
auto eth0:1
iface eth0:1 inet static
address AAA.BBB.69.209
netmask 255.255.255.248
auto eth0:2
iface eth0:2 inet static
address AAA.BBB.69.210
netmask 255.255.255.248
auto eth0:3
iface eth0:3 inet static
address AAA.BBB.69.211
netmask 255.255.255.248
auto eth0:4
iface eth0:4 inet static
address AAA.BBB.69.212
netmask 255.255.255.248
auto eth0:5
iface eth0:5 inet static
address AAA.BBB.69.213
netmask 255.255.255.248
auto eth0:6
iface eth0:6 inet static
address AAA.BBB.69.214
netmask 255.255.255.248
This is the output of sysctl -p
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
And this is the output of vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
209 6 running AAA.BBB.69.209 sottise.mydomain.com
210 12 running AAA.BBB.69.210 centos.st-mydomain.com
If I enter 209 and type route I get :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.2.1 * 255.255.255.255 UH 0 0 0 venet0
default 192.0.2.1 0.0.0.0 UG 0 0 0 venet0
I don't know where that 192.0.2.1 is comming from
On the host, "ip r l" give :
AAA.BBB.68.211 dev venet0 scope link
AAA.BBB.69.210 dev venet0 scope link
AAA.BBB.69.209 dev venet0 scope link
AAA.BBB.69.208/29 dev eth0 proto kernel scope link src AAA.BBB.69.209
AAA.BBB.68.32/27 dev eth0 proto kernel scope link src AAA.BBB.68.38
default via AAA.BBB.68.33 dev eth0
And this is the route output :
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
ip-AAA-BBB-68-2 * 255.255.255.255 UH 0 0 0 venet0
ip-AAA-BBB-69-2 * 255.255.255.255 UH 0 0 0 venet0
ip-AAA-BBB-69-2 * 255.255.255.255 UH 0 0 0 venet0
AAA-BBB.69.208 * 255.255.255.248 U 0 0 0 eth0
AAA.BBB.68.32 * 255.255.255.224 U 0 0 0 eth0
default ip-AAA.BBB-68-3 0.0.0.0 UG 0 0 0 eth0
Thanks for your help
[Updated on: Sun, 24 May 2009 16:12]
Report message to a moderator