How to add two subnets in proxmox

named

New Member
Jun 2, 2017
2
0
1
45
Hello,

is there any simple method of adding two subnets ( i have a /29 2 blocks) and 2 different gateways??
i have two a /29 blocks first one is working perfectyl with all vms but second block has issues one i installed windows and assigned ip from 2nd network but internet wont seems to work there might be due to gateway missing ?

how to manage them in proxmox any guide or wiki will be much appreciated


Thank You!
 
Hi, not sure I'm understanding, but ?

- 2 physical interfaces on proxmox, eth0 and eth1
- setup 2 bridges, vmbr0<>eth0 and vmbr1<>eth1
- cable eth0 to subnet1 and eth1 to subnet2
- bridge your VM interfaces to the subnet(s) you wish them to have access to. Assign IPs suitably to the interfaces as per their subnet/mask/GW. Don't have >1 gateway defined in any single VM, even if you have >1 subnet presentl, generally ..
- giving proxmox an IP on the second subnet is not required, but optionally if desired to have that access in place.

? is all there is to it I think ?

Tim