Greetings, ----- Original Message ----- > I've noticed that when I have multiple IP addresses bound to a > container, the last added (highest venet0:x number) seems to always > ends up being the "main" ip address for the container. > > This means when I add another IP to the server, the main ip for the > server changes. > > By main IP I mean the IP address used for outgoing traffic, the one > that a receiving mail server or ssh server would see the incoming > traffic originating from. > > How can I change this behavior and set a fixed venet0:x as the "main" > IP?
>From your description, it sounds like you could just put in your preferred IP >address last, making it the "main" one. You answered your own question. In the unlikely event that you are constantly adding and removing IP addresses to your container, you'll have to redefine the main one over and over, but at least there's a way to do it. TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users