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

Why do we use polarized capacitors?

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

Need help identifying/translating a plaque in Tangier, Morocco

Domain expired, GoDaddy holds it and is asking more money

Is there a way to make member function NOT callable from constructor?

Are cabin dividers used to "hide" the flex of the airplane?

Copycat chess is back

What does "enim et" mean?

How could a lack of term limits lead to a "dictatorship?"

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?

Could a US political party gain complete control over the government by removing checks & balances?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

Information to fellow intern about hiring?

Are objects structures and/or vice versa?

How can I fix this gap between bookcases I made?

Why is the design of haulage companies so “special”?

Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?

Crop image to path created in TikZ?

extract characters between two commas?

How do I create uniquely male characters?

Finding files for which a command fails

How to make payment on the internet without leaving a money trail?

What is the offset in a seaplane's hull?



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






























    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


























      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




















          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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company