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

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos