[libvirt-users] assign static public IP to container

hello i have a server colocated in a datacenter with several external IP addresses available to use. the physical server is using one of these IPs, and i want to assign another, unused IP to the virtual machine. both the host and guest are running ubuntu server 12.04. i found someone else asking the same thing[1] for CentOS, but i already have a bridge setup so not sure if it pertains... either way the instructions provided are for a different OS. i followed these instructions[2] for setting up my bridge. anyway, i thought i could just do this by editing the container's /etc/network/interfaces, setting a static IP address for eth0 much like i did for br0 on the host machine.... but doesn't seem to be working. ifconfig shows eth0 has the public address but i can't resolve any hostnames nor telnet to a direct IP address (no route to host). if i change back to dhcp and let eth0 get a private address, i can at least access the internet but cannot access the virtual machine from the internet. what is the trick to giving a VM a routable, public IP address? thanks 1. https://www.redhat.com/archives/libvirt-users/2011-December/msg00056.html 2. https://help.ubuntu.com/12.04/serverguide/network-configuration.html#bridgin...

[meta-question] On 12/08/2013 02:35 PM, scar wrote:
hello i have a server colocated in a datacenter with several external IP addresses available to use.
I noticed you posted very similar mails several times in a row; I suspect it was because you were unaware that the list is moderated, and kept trying to repost when you didn't see your message hit the archives. While we allow non-subscriber postings, all first-time posts (whether from a subscriber or non-subscriber) are held for moderation until a human can whitelist the address; once whitelisted, all pending posts from that author are released, which in your case made you sound rather redundant. Would you mind sharing the URLs where you found information about the list, so that we may perhaps add more wording to those pages to make it more obvious to the next new poster that they should be patient and wait for the moderation delay, in the hopes of helping them avoid the embarrassment of multiple duplicate posts? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Eric Blake @ 12/10/2013 06:24 AM:
[meta-question]
I noticed you posted very similar mails several times in a row; I suspect it was because you were unaware that the list is moderated, and kept trying to repost when you didn't see your message hit the archives. While we allow non-subscriber postings, all first-time posts (whether from a subscriber or non-subscriber) are held for moderation until a human can whitelist the address; once whitelisted, all pending posts from that author are released, which in your case made you sound rather redundant. Would you mind sharing the URLs where you found information about the list, so that we may perhaps add more wording to those pages to make it more obvious to the next new poster that they should be patient and wait for the moderation delay, in the hopes of helping them avoid the embarrassment of multiple duplicate posts?
sorry about that... i was subscribed to the -dev mailing list and searching those archives but was posting to this one... when i realized the error i subscribed to this list and re-searched and re-posted, thus the slight changes in my post. i use gmane to post, so my methods are a little non-standard. i found the mailing lists thru the official libvirt website -----BEGIN PGP SIGNATURE----- iEYEAREIAAYFAlKnmVEACgkQXhfCJNu98qALIQCeI3fa1bJCzYtuxa8hRibWF5Cm XJoAoKSlZZXe+BnS7xUp6cNGotRBUOfa =CyET -----END PGP SIGNATURE-----

Would you mind sharing the URLs where you found information about the list, so that we may perhaps add more wording to those pages to make it more obvious to the next new poster that they should be patient and wait for the moderation delay, in the hopes of helping them avoid the embarrassment of multiple duplicate posts?
sorry about that... i was subscribed to the -dev mailing list and searching those archives but was posting to this one... when i realized the error i subscribed to this list and re-searched and re-posted, thus the slight changes in my post.
Not a problem; you're not the first to have done it. I'm just trying to use your experience to make it better for the next person.
i use gmane to post, so my methods are a little non-standard. i found the mailing lists thru the official libvirt website
But we already have wording there: http://libvirt.org/contact.html "It is recommended but not required that you subscribe before posting to the user and development lists. Posts from non-subscribers will be subject to manual moderation delays. You can subscribe at the linked web pages above." And even on the list page: https://www.redhat.com/mailman/listinfo/libvirt-users "Subscription is not required for posting; list policy is reply-to-all so that non-subscribers remain in the loop. First-time posts (whether you are subscribed or not) are subject to moderation delay. Please keep list posts under 100k." Is there something in that wording that we should tweak or make more explicit, that you would have noticed when reading about the lists? Maybe float the paragraph about posts being moderated to occur before, rather than after, the link to the list addresses? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

oh also would like to add that in the past when i post to a moderated list i usually receive an email explaining such, and offering me the opportunity to cancel the message by visiting a special URL (i think, or replying to the message e.g.) or wait for it to be approved. since i didn't receive any such email, i figured the duplicate posts were silently rejected.

On 12/10/2013 03:47 PM, scar wrote:
oh also would like to add that in the past when i post to a moderated list i usually receive an email explaining such, and offering me the opportunity to cancel the message by visiting a special URL (i think, or replying to the message e.g.) or wait for it to be approved. since i didn't receive any such email, i figured the duplicate posts were silently rejected.
Ah, that explains it. Mailman has an option to turn on moderation messages, but we haven't enabled it. This policy is borrowed from a number of other mailman lists that also leave the moderation message disabled (for example, the GNU coreutils list behaves in the same way). I wonder whether a moderation message that replies to spammers could be exploited as a probe of "yes this is a valid list email address" (not that the spam would get moderated through, but it might make the moderator's life more time-consuming if it increases the volume of spam attempted). On the other hand, as a moderation reply message would only be sent to first-time posters, it won't be any change observable to current whitelisted addresses. What do other list readers think - should we turn on the moderation message that warns people when their message is being held? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
scar