Proxmox LAN RoutingUse specific interface for outbound connections (Ubuntu 9.04)Traffic not routing as expectedLinux server not routing my packetsProxmox Nat Networking IssueProxmox with an Openvswitch bridgeLinux Routing with two NICs (LAN vs Internet) with NAT and bridging for VMsProxmox additional Ip with Port ForwardingHow to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?How to allow vpn clients to access lan serversHetzner & allowed MAC addresses

Inverse-quotes-quine

Require advice on power conservation for backpacking trip

How to split an equation over two lines?

How can I get more energy without spending coins?

MH370 blackbox - is it still possible to retrieve data from it?

Which verb form to use with "с"

Apply brace expansion in "reverse order"

Was there ever a name for the weapons of the Others?

What are the benefits of using the X Card safety tool in comparison to plain communication?

Why is Madam Hooch not a professor?

Is this one of the engines from the 9/11 aircraft?

Alphabet completion rate

Intuitively, why does putting capacitors in series decrease the equivalent capacitance?

Story-based adventure with functions and relationships

Do French speakers not use the subjunctive informally?

Is there a maximum distance from a planet that a moon can orbit?

Animation advice please

Sho, greek letter

Why do some professors with PhDs leave their professorships to teach high school?

Why is C++ initial allocation so much larger than C's?

Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?

Can the negators "jamais, rien, personne, plus, ni, aucun" be used in a single sentence?

Is adding a new player (or players) a DM decision, or a group decision?

Why is there no havdallah when going from Yom Tov into Shabbat?



Proxmox LAN Routing


Use specific interface for outbound connections (Ubuntu 9.04)Traffic not routing as expectedLinux server not routing my packetsProxmox Nat Networking IssueProxmox with an Openvswitch bridgeLinux Routing with two NICs (LAN vs Internet) with NAT and bridging for VMsProxmox additional Ip with Port ForwardingHow to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?How to allow vpn clients to access lan serversHetzner & allowed MAC addresses






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am attempting to set up my first Proxmox hypervisor as a test server. I have managed to install Proxmox and set up some VMs however I can't get machines on my local LAN to connect to the Proxmox VMs.



  • Host Subnet: 10.11.11.0/24

  • Proxmox Host: 10.11.11.161

I have created two bridges one to act as a bridge to the WAN and the other as a private network.



Proxmox Host



auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.11.11.161
netmask 255.255.255.0
gateway 10.11.11.1
bridge_ports enp0s25
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.11.12.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr0/proxy_arp
post-up iptables -t nat -A POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE


Connecting to VMs from Office LAN



The VMs are set up to use network vmbr1 from the Proxmox host, I can connect into the VMs ok.



However from my machine on the office lan 10.11.11.141 I can't see the VMs. I have tried adding the following static route to pass traffic for 10.11.12.0/24 subnet to the Proxmox host.



ip route add 10.11.12.0/24 via 10.11.11.161 dev eth0


Can anyone please advice on how I can connect the office LAN to the VLAN of Proxmox.



Thanks in advance.










share|improve this question
























  • HYou are using a Class A Net. Sofar use 255.255.0

    – djdomi
    Jun 7 at 18:51

















0















I am attempting to set up my first Proxmox hypervisor as a test server. I have managed to install Proxmox and set up some VMs however I can't get machines on my local LAN to connect to the Proxmox VMs.



  • Host Subnet: 10.11.11.0/24

  • Proxmox Host: 10.11.11.161

I have created two bridges one to act as a bridge to the WAN and the other as a private network.



Proxmox Host



auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.11.11.161
netmask 255.255.255.0
gateway 10.11.11.1
bridge_ports enp0s25
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.11.12.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr0/proxy_arp
post-up iptables -t nat -A POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE


Connecting to VMs from Office LAN



The VMs are set up to use network vmbr1 from the Proxmox host, I can connect into the VMs ok.



However from my machine on the office lan 10.11.11.141 I can't see the VMs. I have tried adding the following static route to pass traffic for 10.11.12.0/24 subnet to the Proxmox host.



ip route add 10.11.12.0/24 via 10.11.11.161 dev eth0


Can anyone please advice on how I can connect the office LAN to the VLAN of Proxmox.



Thanks in advance.










share|improve this question
























  • HYou are using a Class A Net. Sofar use 255.255.0

    – djdomi
    Jun 7 at 18:51













0












0








0








I am attempting to set up my first Proxmox hypervisor as a test server. I have managed to install Proxmox and set up some VMs however I can't get machines on my local LAN to connect to the Proxmox VMs.



  • Host Subnet: 10.11.11.0/24

  • Proxmox Host: 10.11.11.161

I have created two bridges one to act as a bridge to the WAN and the other as a private network.



Proxmox Host



auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.11.11.161
netmask 255.255.255.0
gateway 10.11.11.1
bridge_ports enp0s25
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.11.12.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr0/proxy_arp
post-up iptables -t nat -A POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE


Connecting to VMs from Office LAN



The VMs are set up to use network vmbr1 from the Proxmox host, I can connect into the VMs ok.



However from my machine on the office lan 10.11.11.141 I can't see the VMs. I have tried adding the following static route to pass traffic for 10.11.12.0/24 subnet to the Proxmox host.



ip route add 10.11.12.0/24 via 10.11.11.161 dev eth0


Can anyone please advice on how I can connect the office LAN to the VLAN of Proxmox.



Thanks in advance.










share|improve this question
















I am attempting to set up my first Proxmox hypervisor as a test server. I have managed to install Proxmox and set up some VMs however I can't get machines on my local LAN to connect to the Proxmox VMs.



  • Host Subnet: 10.11.11.0/24

  • Proxmox Host: 10.11.11.161

I have created two bridges one to act as a bridge to the WAN and the other as a private network.



Proxmox Host



auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.11.11.161
netmask 255.255.255.0
gateway 10.11.11.1
bridge_ports enp0s25
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.11.12.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

post-up echo 1 > /proc/sys/net/ipv4/conf/vmbr0/proxy_arp
post-up iptables -t nat -A POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.11.12.0/24' -o vmbr0 -j MASQUERADE


Connecting to VMs from Office LAN



The VMs are set up to use network vmbr1 from the Proxmox host, I can connect into the VMs ok.



However from my machine on the office lan 10.11.11.141 I can't see the VMs. I have tried adding the following static route to pass traffic for 10.11.12.0/24 subnet to the Proxmox host.



ip route add 10.11.12.0/24 via 10.11.11.161 dev eth0


Can anyone please advice on how I can connect the office LAN to the VLAN of Proxmox.



Thanks in advance.







routing proxmox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 10 '18 at 12:37









alexander.polomodov

1,0263 gold badges7 silver badges12 bronze badges




1,0263 gold badges7 silver badges12 bronze badges










asked Jun 9 '18 at 14:26









Dobsc89Dobsc89

12 bronze badges




12 bronze badges












  • HYou are using a Class A Net. Sofar use 255.255.0

    – djdomi
    Jun 7 at 18:51

















  • HYou are using a Class A Net. Sofar use 255.255.0

    – djdomi
    Jun 7 at 18:51
















HYou are using a Class A Net. Sofar use 255.255.0

– djdomi
Jun 7 at 18:51





HYou are using a Class A Net. Sofar use 255.255.0

– djdomi
Jun 7 at 18:51










2 Answers
2






active

oldest

votes


















0














If you need direct networking access from different IP network a router (gateway) should be used by definition. The gateway should belong to both IP networks and you should be using it by means of routing table. All-in-all it can be even a VM that's run on same server or the server itself.






share|improve this answer






























    0














    You are using a Class A network but restrict yourself to class C. Change the subnet to 255.0.0.0 (class a) or 255.255.0.0 (class b) and you should be able to reach your clients. However if you are using the same connections use the same gateway or your may need to nat your connections



    In reference check
    https://en.m.wikipedia.org/wiki/Private_network



    Just an example



    C=10.0.0.1/255.255.255.0 can reach: 10.0.0.0/24 (10.0.0.254)
    You can have 254 clients



    B=10.0.0.1/255.255.0.0 can reach: 10.0.0.0/16 (10.0.255.254)
    You can have 65534 clients



    A=10.0.0.1/255.0.0.0 can reach: 10.0.0.0/8(10.255.255.254)
    You can have 16777214 clients.



    Your currently sutiation is the first but you want the second or third. Eben if you want to jump into another subnet
    I. E
    Client has 10.0.0.2/255.255.255.0 will not be able to Contact 10.0.1.2 due its Limit if you use 255.255.0.0 he will be able to do so.



    This answer has been reduce to under stand the way it works but may not 100 percent correctly :)






    share|improve this answer

























      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%2f915899%2fproxmox-lan-routing%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      If you need direct networking access from different IP network a router (gateway) should be used by definition. The gateway should belong to both IP networks and you should be using it by means of routing table. All-in-all it can be even a VM that's run on same server or the server itself.






      share|improve this answer



























        0














        If you need direct networking access from different IP network a router (gateway) should be used by definition. The gateway should belong to both IP networks and you should be using it by means of routing table. All-in-all it can be even a VM that's run on same server or the server itself.






        share|improve this answer

























          0












          0








          0







          If you need direct networking access from different IP network a router (gateway) should be used by definition. The gateway should belong to both IP networks and you should be using it by means of routing table. All-in-all it can be even a VM that's run on same server or the server itself.






          share|improve this answer













          If you need direct networking access from different IP network a router (gateway) should be used by definition. The gateway should belong to both IP networks and you should be using it by means of routing table. All-in-all it can be even a VM that's run on same server or the server itself.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 1 at 1:04









          poigepoige

          7,1861 gold badge16 silver badges37 bronze badges




          7,1861 gold badge16 silver badges37 bronze badges























              0














              You are using a Class A network but restrict yourself to class C. Change the subnet to 255.0.0.0 (class a) or 255.255.0.0 (class b) and you should be able to reach your clients. However if you are using the same connections use the same gateway or your may need to nat your connections



              In reference check
              https://en.m.wikipedia.org/wiki/Private_network



              Just an example



              C=10.0.0.1/255.255.255.0 can reach: 10.0.0.0/24 (10.0.0.254)
              You can have 254 clients



              B=10.0.0.1/255.255.0.0 can reach: 10.0.0.0/16 (10.0.255.254)
              You can have 65534 clients



              A=10.0.0.1/255.0.0.0 can reach: 10.0.0.0/8(10.255.255.254)
              You can have 16777214 clients.



              Your currently sutiation is the first but you want the second or third. Eben if you want to jump into another subnet
              I. E
              Client has 10.0.0.2/255.255.255.0 will not be able to Contact 10.0.1.2 due its Limit if you use 255.255.0.0 he will be able to do so.



              This answer has been reduce to under stand the way it works but may not 100 percent correctly :)






              share|improve this answer



























                0














                You are using a Class A network but restrict yourself to class C. Change the subnet to 255.0.0.0 (class a) or 255.255.0.0 (class b) and you should be able to reach your clients. However if you are using the same connections use the same gateway or your may need to nat your connections



                In reference check
                https://en.m.wikipedia.org/wiki/Private_network



                Just an example



                C=10.0.0.1/255.255.255.0 can reach: 10.0.0.0/24 (10.0.0.254)
                You can have 254 clients



                B=10.0.0.1/255.255.0.0 can reach: 10.0.0.0/16 (10.0.255.254)
                You can have 65534 clients



                A=10.0.0.1/255.0.0.0 can reach: 10.0.0.0/8(10.255.255.254)
                You can have 16777214 clients.



                Your currently sutiation is the first but you want the second or third. Eben if you want to jump into another subnet
                I. E
                Client has 10.0.0.2/255.255.255.0 will not be able to Contact 10.0.1.2 due its Limit if you use 255.255.0.0 he will be able to do so.



                This answer has been reduce to under stand the way it works but may not 100 percent correctly :)






                share|improve this answer

























                  0












                  0








                  0







                  You are using a Class A network but restrict yourself to class C. Change the subnet to 255.0.0.0 (class a) or 255.255.0.0 (class b) and you should be able to reach your clients. However if you are using the same connections use the same gateway or your may need to nat your connections



                  In reference check
                  https://en.m.wikipedia.org/wiki/Private_network



                  Just an example



                  C=10.0.0.1/255.255.255.0 can reach: 10.0.0.0/24 (10.0.0.254)
                  You can have 254 clients



                  B=10.0.0.1/255.255.0.0 can reach: 10.0.0.0/16 (10.0.255.254)
                  You can have 65534 clients



                  A=10.0.0.1/255.0.0.0 can reach: 10.0.0.0/8(10.255.255.254)
                  You can have 16777214 clients.



                  Your currently sutiation is the first but you want the second or third. Eben if you want to jump into another subnet
                  I. E
                  Client has 10.0.0.2/255.255.255.0 will not be able to Contact 10.0.1.2 due its Limit if you use 255.255.0.0 he will be able to do so.



                  This answer has been reduce to under stand the way it works but may not 100 percent correctly :)






                  share|improve this answer













                  You are using a Class A network but restrict yourself to class C. Change the subnet to 255.0.0.0 (class a) or 255.255.0.0 (class b) and you should be able to reach your clients. However if you are using the same connections use the same gateway or your may need to nat your connections



                  In reference check
                  https://en.m.wikipedia.org/wiki/Private_network



                  Just an example



                  C=10.0.0.1/255.255.255.0 can reach: 10.0.0.0/24 (10.0.0.254)
                  You can have 254 clients



                  B=10.0.0.1/255.255.0.0 can reach: 10.0.0.0/16 (10.0.255.254)
                  You can have 65534 clients



                  A=10.0.0.1/255.0.0.0 can reach: 10.0.0.0/8(10.255.255.254)
                  You can have 16777214 clients.



                  Your currently sutiation is the first but you want the second or third. Eben if you want to jump into another subnet
                  I. E
                  Client has 10.0.0.2/255.255.255.0 will not be able to Contact 10.0.1.2 due its Limit if you use 255.255.0.0 he will be able to do so.



                  This answer has been reduce to under stand the way it works but may not 100 percent correctly :)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 7 at 19:08









                  djdomidjdomi

                  536 bronze badges




                  536 bronze badges



























                      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%2f915899%2fproxmox-lan-routing%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