Vlan configuration

G

geekslinux

Guest
Hi,

I have a proxmox server with Ip address 10.30.11.2(vmbr0), with two virtual machines 10.30.11.3 & 10.30.11.4, netmask as 255.255.255.0 and Gateway as 10.30.11.1

Now I got a requirement to create a new linux VM with IP 10.29.1.50 gateway 10.29.1.1 and netmask 255.255.255.224.
The server is HS 23 blade server with 4 ethernet ports. I haven't created VLANs before.
The blade server management IP is 10.29.1.15 & switch IP is 10.29.1.13
Switch is BNT Layer 2/3 GbE.

Now I have created vmbr1 with IP 10.29.1.49, netmask 255.255.255.224 and when i tried to assign gateway it says gateway already exists in vmbr0.

I want my virtual machine 10.29.1.50 to communicate outside via 10.29.1.1.along with the existing setup. I am not able to proceed from here, How to configure it. Any input will be highly appreciated.


My /etc/network/interfaces file is as follows,

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.30.11.2
netmask 255.255.255.0
gateway 10.30.11.1
bridge_ports eth0 eth1 eth2 eth3
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.29.1.24
netmask 255.255.255.224
bridge_ports eth0 eth1 eth2 eth3
bridge_stp off
bridge_fd 0
 

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!