{"action":"created","issue":{"url":"https://api.github.com/repos/theqvd/theqvd/issues/28","labels_url":"https://api.github.com/repos/theqvd/theqvd/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/theqvd/theqvd/issues/28/comments","events_url":"https://api.github.com/repos/theqvd/theqvd/issues/28/events","html_url":"https://github.com/theqvd/theqvd/issues/28","id":101557495,"number":28,"title":"Confused...  How to setup a single-node QVD server?","user":{"login":"Chemi0213","id":13843245,"avatar_url":"https://avatars.githubusercontent.com/u/13843245?v=3","gravatar_id":"","url":"https://api.github.com/users/Chemi0213","html_url":"https://github.com/Chemi0213","followers_url":"https://api.github.com/users/Chemi0213/followers","following_url":"https://api.github.com/users/Chemi0213/following{/other_user}","gists_url":"https://api.github.com/users/Chemi0213/gists{/gist_id}","starred_url":"https://api.github.com/users/Chemi0213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chemi0213/subscriptions","organizations_url":"https://api.github.com/users/Chemi0213/orgs","repos_url":"https://api.github.com/users/Chemi0213/repos","events_url":"https://api.github.com/users/Chemi0213/events{/privacy}","received_events_url":"https://api.github.com/users/Chemi0213/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-18T02:52:27Z","updated_at":"2015-08-24T09:12:18Z","closed_at":null,"body":"Hi everyone.\r\nI want to do a lab about single-node QVD server.\r\nHere is my Topology\r\n![555](https://cloud.githubusercontent.com/assets/13843245/9320875/9798517a-4591-11e5-816e-fc02ab7b017f.png)\r\n\r\nI follow the QVD Documentation:Installation Guide on the Website.\r\nFirst I load a *.ova file to run the QVD Demo Virtual Machine.\r\n\r\nThen I try to setup by myself. But There is a problem to me:\r\nI figured out that QVD Demo has two NIC cards.\r\nBut the Installation Guide seems to be just only one NIC card.\r\nI got confused about the Network Settings.\r\n\r\nI try to describe my environment:\r\n1.I have a 10.120.0.0/16 network. So I just Bridged my QVD Server(10.120.112.100) to the Real NIC(10.120.27.15). \r\n2.I just edit the /etc/postgresql/9.4/main/pg_hba.conf to add : host qvddb qvd 10.120.0.0/16 md5\r\n3.I set the vm network:\r\nqa config set vm.network.ip.start=192.168.100.50\r\nqa config set vm.network.netmask=24\r\nqa config set vm.network.gateway=192.168.100.254\r\nqa config set vm.network.bridge=qvdnet\r\nqa config set vm.network.dns_server=8.8.8.8\r\n\r\n4.I set the NAT setting:\r\nauto qvdnet\r\niface qvdnet inet static\r\n  pre-up brctl addbr qvdnet\r\n  pre-up iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 10.120.112.110\r\n  pre-up iptables -t nat -A PREROUTING -d 10.120.112.110 -p tcp --dport 8443 -j DNAT --to-destination 192.168.100.254\r\n  post-down brctl delbr qvdnet0\r\n  address 192.168.100.254\r\n  netmask 255.255.255.0\r\n\r\n\r\n\r\nThen I Got a error message like :\r\nHost IP address is outside of the network range reserved for hosts (IP: 10.120.112.110, range: 192.168.100.0-192.168.100.10)\r\n\r\nand then I can't let my node in running state.\r\nCould someone tell me how to slove the problem?\r\nThanks.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/theqvd/theqvd/issues/comments/134105657","html_url":"https://github.com/theqvd/theqvd/issues/28#issuecomment-134105657","issue_url":"https://api.github.com/repos/theqvd/theqvd/issues/28","id":134105657,"user":{"login":"jzeaherra","id":1587314,"avatar_url":"https://avatars.githubusercontent.com/u/1587314?v=3","gravatar_id":"","url":"https://api.github.com/users/jzeaherra","html_url":"https://github.com/jzeaherra","followers_url":"https://api.github.com/users/jzeaherra/followers","following_url":"https://api.github.com/users/jzeaherra/following{/other_user}","gists_url":"https://api.github.com/users/jzeaherra/gists{/gist_id}","starred_url":"https://api.github.com/users/jzeaherra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzeaherra/subscriptions","organizations_url":"https://api.github.com/users/jzeaherra/orgs","repos_url":"https://api.github.com/users/jzeaherra/repos","events_url":"https://api.github.com/users/jzeaherra/events{/privacy}","received_events_url":"https://api.github.com/users/jzeaherra/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T09:12:18Z","updated_at":"2015-08-24T09:12:18Z","body":"Hi,\r\n   You can untar de original di image. It is a plain filesystem. chroot to where you untarred it, and use the passwd command as usual to set you preferred password. Then, tar it again and add the image to The QVD. Be specially careful when you tar it again:   \r\n\"tar czf new-image.tar.gz -C /where-you-untarred/rootfs .\"\r\n-C option is important, as the tar must have every directory above root filesystem ripped off.\r\n\r\nFor opensuse, what version are you trying to use? \r\n"}}