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

Multi tool use
Multi tool use

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







                      LwD zT1Kh25WghbxjoJP7C6OiWUcvlw9vz0W pzZU,Fn DsjM4DkmwCQVKa5 0Hi
                      VZlLrXvt zI1eS9O7TbF3 X3mGswBqR0x1,RQ7,KXKXqS8EmzevfoZ Gx5Hekx

                      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

                      Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                      Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020