D
djdiez
Guest
I solved this! thank you all!
----------------------------------------
Hello,
this is an OVH desperated user. I was really amazed wen i discovered proxmox ve and it's powerful web interface to manage the virtual machines, so I decided to set up a server with this distribution.
After reading some posts in this forum I know that OVH uses a customized and not-supported version of pve, but I'm really tired of the try->error method and i don't post asking for official support, only for someone who can show me the light, because i know i misunderstood anything in the setup of my system.
I want to create 2 virtual machines (Windows 2003 KVM and 1 Debian), by now i'm with the KVM.
I read the Fridu's guide (http://www.fridu.org/hosting/52-openvz-virtualization) and i'd like something like this, but i'm starting with a simpler config and these are the steps I tried.
----------------------
Tests over host:
Tests over KVM (Win2003)
(not arp entries found)
I can't connect to internet from the local machine, and if i try to connect to the kvm from the host, the one who responds my pings is the own host.
I tried different setups, creating a new bridge (vmbr1) with an internal IP (192.168.1.1) and configuring the KVM network over it (from qemu-server/101.conf) and also setting the 192.168.1.2 IP on it. No ICMP ping communication over them.
Again, I know this should be OVH responsibility and i'm not posting here asking for official support, just for a friend hand which can guide me a llittle bit, because all the guides i read are making me crazy.
I can't find the tapX interfaces the ovh guide tolds me, i have a dummy0 interface wich i don't know what does, the default network setup is different in the official release, the virtualized proxmox i configured at home over vmware doesn't allow me to create KVMs (i've no intel virtualizaton)....and the worst: I think I don't really understand how the bridges work, because i didn't use them in real life and trying to understand them in a "virtual way" is being a little bit hard to me.
Please sorry of my English, sorry if this is too much text and thank you in advance.
----------------------------------------
Hello,
this is an OVH desperated user. I was really amazed wen i discovered proxmox ve and it's powerful web interface to manage the virtual machines, so I decided to set up a server with this distribution.
After reading some posts in this forum I know that OVH uses a customized and not-supported version of pve, but I'm really tired of the try->error method and i don't post asking for official support, only for someone who can show me the light, because i know i misunderstood anything in the setup of my system.
I want to create 2 virtual machines (Windows 2003 KVM and 1 Debian), by now i'm with the KVM.
I read the Fridu's guide (http://www.fridu.org/hosting/52-openvz-virtualization) and i'd like something like this, but i'm starting with a simpler config and these are the steps I tried.
----------------------
- Connect to my brand-new-server
- Config failover IPs in /etc/network/interfaces following the ovh guide
Default config:Code:auto eth0 iface eth0 inet static address 91.121.X.Y netmask 255.255.255.0 network 91.121.X.0 broadcast 91.121.X.255 gateway 91.121.X.254 auto vmbr0 iface vmbr0 inet static address 91.121.X.Y netmask 255.255.255.0 post-up /etc/pve/kvm-networking.sh bridge_ports dummy0 bridge_stp off bridge_fd 0
Code:auto eth0:0 iface eth0:0 inet static address 94.23.Z.W netmask 255.255.255.255 network 94.23.Z.0 broadcast 94.23.Z.W auto eth0:1 iface eth0:1 inet static address 94.23.Z.V netmask 255.255.255.255 network 94.23.Z.0 broadcast 94.23.Z.V
Code:# ifconfig dummy0 Link encap:Ethernet HWaddr 22:f6:25:99:f8:22 inet6 addr: --- UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:678 (678.0 B) eth0 Link encap:Ethernet HWaddr 00:1c:XX:XX:XX:XX inet addr:91.121.X.Y Bcast:91.121.X.255 Mask:255.255.255.0 inet6 addr: --- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21356 errors:0 dropped:0 overruns:0 frame:0 TX packets:22869 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1920018 (1.8 MiB) TX bytes:3783647 (3.6 MiB) eth0:0 Link encap:Ethernet HWaddr 00:1c:XX:XX:XX:XX inet addr:94.23.Z.W Bcast:94.23.Z.W Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth0:1 Link encap:Ethernet HWaddr 00:1c:XX:XX:XX:XX inet addr:94.23.Z.V Bcast:94.23.Z.V Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 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:6245 errors:0 dropped:0 overruns:0 frame:0 TX packets:6245 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1661077 (1.5 MiB) TX bytes:1661077 (1.5 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: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) vmbr0 Link encap:Ethernet HWaddr 22:f6:25:99:f8:22 inet addr:91.121.X.Y Bcast:91.121.X.255 Mask:255.255.255.0 inet6 addr: -- eliminado -- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
- Config the fail-over routes
Code:# ip route add 94.23.Z.W dev vmbr0 # ip route add 94.23.Z.V dev vmbr0
- Creation of KVM and and installation of Windows2003 over it.
Code:/etc/qemu-server# cat 101.conf ostype: w2k3 memory: 4096 onboot: 1 name: win2003 ide2: none,media=cdrom smp: 2 bootdisk: scsi0 scsi0: vm-101-disk.qcow2 description: Windows 2003 vlan0: rtl8139=11:11:11:11:01:01
- Config of failover-lp 94.23.Z.W on Windows 2003, netmask 255.255.255.0, gateway 94.23.Z.W
- Regedit of the netmask (SubnetMask key) to 255.255.255.255
Tests over host:
Code:
# brctl showmacs vmbr0
port no mac addr is local? ageing timer
2 00:ff:af:c7:a2:32 yes 0.00
1 22:f6:25:99:f8:22 yes 0.00
# # arp -a -n
? (91.121.X.251) at 00:1E:--:--:--:75 [ether] on eth0
? (91.121.X.250) at 00:1E:--:--:--:85 [ether] on eth0
? (91.121.X.254) at 00:00:--:--:AC:01 [ether] on eth0
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
94.23.Z.W 0.0.0.0 255.255.255.255 UH 0 0 0 vmbr0
94.23.Z.V 0.0.0.0 255.255.255.255 UH 0 0 0 vmbr0
91.121.X.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
91.121.X.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
0.0.0.0 91.121.X.254 0.0.0.0 UG 0 0 0 eth0
Code:
>arp -a
No se encontraron entradas ARP
I can't connect to internet from the local machine, and if i try to connect to the kvm from the host, the one who responds my pings is the own host.
I tried different setups, creating a new bridge (vmbr1) with an internal IP (192.168.1.1) and configuring the KVM network over it (from qemu-server/101.conf) and also setting the 192.168.1.2 IP on it. No ICMP ping communication over them.
Again, I know this should be OVH responsibility and i'm not posting here asking for official support, just for a friend hand which can guide me a llittle bit, because all the guides i read are making me crazy.
I can't find the tapX interfaces the ovh guide tolds me, i have a dummy0 interface wich i don't know what does, the default network setup is different in the official release, the virtualized proxmox i configured at home over vmware doesn't allow me to create KVMs (i've no intel virtualizaton)....and the worst: I think I don't really understand how the bridges work, because i didn't use them in real life and trying to understand them in a "virtual way" is being a little bit hard to me.
Please sorry of my English, sorry if this is too much text and thank you in advance.
Last edited by a moderator: