Search results

  1. R

    [SOLVED] Create Private Network Bridge with NAT

    You do not need add any iptables rules on VM. Just set right ip address, gateway and DNS. iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE iptables -A POSTROUTING -t nat -s 10.10.10.0/24 -j...
  2. R

    VLAN setup for Management interface

    Yes, as described above, different network intefaces = different IPs, even different networks, or you will get some fun with network connectivity lost.
  3. R

    won't connect to UI after unplugging and moving server

    I guess this is common network problem, not related to Proxmox.
  4. R

    [SOLVED] Create Private Network Bridge with NAT

    Hi there! Just find any guide to setup NAT with iptables for typical "office network". Say, you VMs are "office computers" connected to same LAN as your proxmox host. Your proxmox IP will be default gateway for "office computers". But IMHO better way is to setup router as VM, not to give public...
  5. R

    PVE not assigning VM vlans, please help

    Then configure your router/switch to send tagged traffic to PVE
  6. R

    Is my iptables broken? or my brain broken?

    Try to type 10.10.10.0/24 without any quotes. If you have spaces in ipaddress and mask, remove it!
  7. R

    One IP, two web servers

    Yep. Nginx as reverse proxy or HAProxy is your friend.
  8. R

    Is my iptables broken? or my brain broken?

    You have a lot of MASQUERADE rules you created with your experiments. Clear the nat table with "iptables -X -t nat" command. Then, you do not have slave port for vmbr1. Is it right?
  9. R

    Is my iptables broken? or my brain broken?

    You need just second line: iptables -A POSTROUTING -t nat -s 10.10.10.0/24 -o vmbr0 -j MASQUERADE But before, list iptables rules in the nat table: iptables -L -t nat What is ip address and netmask of your vmbr0 interface?
  10. R

    PVE not assigning VM vlans, please help

    We should to get to know if there are MUST be on network interface, or not.
  11. R

    PVE not assigning VM vlans, please help

    With network interfaces configuration that I described, your VMs shouldn't see any vlan tags. You will see tags, if there are any, only on host physical interfaces. If you want tags inside VM, your configuration must be slightly different. tcpdump is great tool for network analyze and solving...
  12. R

    PVE not assigning VM vlans, please help

    Then I need more information about your network setup, and, maybe you want to show documentation you have.
  13. R

    PVE not assigning VM vlans, please help

    Run it on PVE. Maybe you have to install tcpdump: apt-get install tcpdump
  14. R

    PVE not assigning VM vlans, please help

    Then try to see it. tcpdump -i eth0 -e Replace eth0 to your physical network interface. Wait for a while, then press Ctrl+C. If you have vlan tagged traffic, you should see something like that:
  15. R

    PVE not assigning VM vlans, please help

    VLAN tag 2, are you sure you have tagged traffic on vmbr0?
  16. R

    PVE not assigning VM vlans, please help

    Is IP static or acquired from DHCP?
  17. R

    PVE not assigning VM vlans, please help

    VM on the screenshot you posted is just hangs during bootup? Or it booting to login?
  18. R

    PVE not assigning VM vlans, please help

    Is your DNS server up and running?
  19. R

    PVE not assigning VM vlans, please help

    This is my working example of pfSense router working in PVE environment. Tagged traffic comes from switch to PVE on vmbr0 bridge. This is VM configuration: This picture shows how interfaces are visible inside VM: So, VM can access VLANs without playing VLAN tags inside VM.

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!