How configure multiple IP Failover on the same VM?Use specific interface for outbound connections (Ubuntu...

Is it unprofessional to ask if a job posting on GlassDoor is real?

How can saying a song's name be a copyright violation?

Emailing HOD to enhance faculty application

Took a trip to a parallel universe, need help deciphering

Python: return float 1.0 as int 1 but float 1.5 as float 1.5

How do conventional missiles fly?

What to put in ESTA if staying in US for a few days before going on to Canada

How to draw the figure with four pentagons?

In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?

Why do I get two different answers for this counting problem?

Neighboring nodes in the network

What does it mean to describe someone as a butt steak?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Why can't we play rap on piano?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

SSH "lag" in LAN on some machines, mixed distros

Is there a hemisphere-neutral way of specifying a season?

How can I tell someone that I want to be his or her friend?

Forgetting the musical notes while performing in concert

Did Shadowfax go to Valinor?

Is it possible to run Internet Explorer on OS X El Capitan?



How configure multiple IP Failover on the same VM?


Use specific interface for outbound connections (Ubuntu 9.04)How to setup network interface to have eth0 as dhcp and eth0:1 as static ip?Translating debian network configuration to gentooStatic virtual IP in debian 6.0.4Centos multiple NICs routing issueSet up Wheezy Subnetsqemu, kvm: Guest: No DHCPOFFERS receivedHow to configure dual homed server in order for both network segments to communicate?How to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?How do I forward/NAT/route all traffic to one phyiscal interface/IP to Virtual interface/IP






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.



I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :




  • Name : eth0, Mac : Virtual_Mac_Ip1

  • Name : eth1, Mac : Virtual_Mac_Ip2

  • Name : eth2, Mac : Virtual_Mac_Ip3


And I've modify my /etc/network/interfaces file in my VM with this :



auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address IP_1
netmask 255.255.255.255
broadcast IP_1
post-up route add MAIN_IP dev eth0
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth0
post-down route del default gw MAIN_IP


auto eth1
iface eth1 inet static
address IP_2
netmask 255.255.255.255
broadcast IP_2
post-up route add MAIN_IP dev eth1
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth1
post-down route del default gw MAIN_IP

auto eth2
iface eth2 inet static
address IP_3
netmask 255.255.255.255
broadcast IP_3
post-up route add MAIN_IP dev eth2
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth2
post-down route del default gw MAIN_IP


With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !



What is wrong with that ?










share|improve this question
















bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.



    I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :




    • Name : eth0, Mac : Virtual_Mac_Ip1

    • Name : eth1, Mac : Virtual_Mac_Ip2

    • Name : eth2, Mac : Virtual_Mac_Ip3


    And I've modify my /etc/network/interfaces file in my VM with this :



    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address IP_1
    netmask 255.255.255.255
    broadcast IP_1
    post-up route add MAIN_IP dev eth0
    post-up route add default gw MAIN_IP
    post-down route del MAIN_IP dev eth0
    post-down route del default gw MAIN_IP


    auto eth1
    iface eth1 inet static
    address IP_2
    netmask 255.255.255.255
    broadcast IP_2
    post-up route add MAIN_IP dev eth1
    post-up route add default gw MAIN_IP
    post-down route del MAIN_IP dev eth1
    post-down route del default gw MAIN_IP

    auto eth2
    iface eth2 inet static
    address IP_3
    netmask 255.255.255.255
    broadcast IP_3
    post-up route add MAIN_IP dev eth2
    post-up route add default gw MAIN_IP
    post-down route del MAIN_IP dev eth2
    post-down route del default gw MAIN_IP


    With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !



    What is wrong with that ?










    share|improve this question
















    bumped to the homepage by Community 5 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.



      I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :




      • Name : eth0, Mac : Virtual_Mac_Ip1

      • Name : eth1, Mac : Virtual_Mac_Ip2

      • Name : eth2, Mac : Virtual_Mac_Ip3


      And I've modify my /etc/network/interfaces file in my VM with this :



      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      address IP_1
      netmask 255.255.255.255
      broadcast IP_1
      post-up route add MAIN_IP dev eth0
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth0
      post-down route del default gw MAIN_IP


      auto eth1
      iface eth1 inet static
      address IP_2
      netmask 255.255.255.255
      broadcast IP_2
      post-up route add MAIN_IP dev eth1
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth1
      post-down route del default gw MAIN_IP

      auto eth2
      iface eth2 inet static
      address IP_3
      netmask 255.255.255.255
      broadcast IP_3
      post-up route add MAIN_IP dev eth2
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth2
      post-down route del default gw MAIN_IP


      With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !



      What is wrong with that ?










      share|improve this question
















      I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.



      I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :




      • Name : eth0, Mac : Virtual_Mac_Ip1

      • Name : eth1, Mac : Virtual_Mac_Ip2

      • Name : eth2, Mac : Virtual_Mac_Ip3


      And I've modify my /etc/network/interfaces file in my VM with this :



      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      address IP_1
      netmask 255.255.255.255
      broadcast IP_1
      post-up route add MAIN_IP dev eth0
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth0
      post-down route del default gw MAIN_IP


      auto eth1
      iface eth1 inet static
      address IP_2
      netmask 255.255.255.255
      broadcast IP_2
      post-up route add MAIN_IP dev eth1
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth1
      post-down route del default gw MAIN_IP

      auto eth2
      iface eth2 inet static
      address IP_3
      netmask 255.255.255.255
      broadcast IP_3
      post-up route add MAIN_IP dev eth2
      post-up route add default gw MAIN_IP
      post-down route del MAIN_IP dev eth2
      post-down route del default gw MAIN_IP


      With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !



      What is wrong with that ?







      networking ip routing virtual-machines






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 2 '13 at 8:54









      j0k

      399916




      399916










      asked Jul 2 '13 at 7:57









      KevinKevin

      545




      545





      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.



          Hope this works.






          share|improve this answer
























          • Thanks for your help. I've just tried and it doesn't work.

            – Kevin
            Jul 2 '13 at 9:15












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f520118%2fhow-configure-multiple-ip-failover-on-the-same-vm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.



          Hope this works.






          share|improve this answer
























          • Thanks for your help. I've just tried and it doesn't work.

            – Kevin
            Jul 2 '13 at 9:15
















          0














          Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.



          Hope this works.






          share|improve this answer
























          • Thanks for your help. I've just tried and it doesn't work.

            – Kevin
            Jul 2 '13 at 9:15














          0












          0








          0







          Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.



          Hope this works.






          share|improve this answer













          Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.



          Hope this works.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 2 '13 at 8:39









          Noor KhaldiNoor Khaldi

          2,92211026




          2,92211026













          • Thanks for your help. I've just tried and it doesn't work.

            – Kevin
            Jul 2 '13 at 9:15



















          • Thanks for your help. I've just tried and it doesn't work.

            – Kevin
            Jul 2 '13 at 9:15

















          Thanks for your help. I've just tried and it doesn't work.

          – Kevin
          Jul 2 '13 at 9:15





          Thanks for your help. I've just tried and it doesn't work.

          – Kevin
          Jul 2 '13 at 9:15


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f520118%2fhow-configure-multiple-ip-failover-on-the-same-vm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...