On Mon, Aug 22, 2022 at 2:16 AM Anders Östling <anders.ostl...@gmail.com> wrote: > > I need an advise from you guys. I used to have a mikrotik router where one of > the ports was assigned a subnet that I used for hosting a number of virtual > machines (lab, not production). That router is since replaced with a switch > connected to my main local network, so now I am unable to (in an easy way) > have a routed network. > > What if I install OVS on the host, and creates a 10.0.2.0/24 network there > for the VM's? Would that give my the same logical setup as before? I'm no > stranger to networking, but a total newbie concerning OVS. But not afraid to > read, listen and learn. Should I go for it? > > My current host is on a 192.168.88.0/24 network and using a bridge so that > the VM's can talk to each other and the outside world. However, I would love > to have them back on 10.0.2.0/24 so that I can have ip's that matches another > site where the production system resides. My host is an Ubuntu 22.04 on ZFS. > > Maybe there are other solution that works, but learning OVS would also be fun. > > Let me know what you think!
I think you can definitely use OVS and create VMs which would have IPs configured from the subnet 10.0.2.0/24. Although I'm not clear on how they can communicate with your production system. I'd suggest giving it a try. Also seems to me you can use OVN along with OVS to make it much easier. With OVN, you can create a logical switch with subnet - 10.0.2.0/24 and attach a logical router to it. Thanks Numan > > /Anders > _______________________________________________ > discuss mailing list > disc...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss