Thanks.

I couldn't get anything to work so I did the old fashioned way and just manually allocated multiple IP's on the host and then used iptables to forward everything.

ip addr add 192.168.1.151/24 broadcast 192.168.1.255 dev eno1:151
iptables -t nat -A  PREROUTING -d 192.168.1.151 -j DNAT --to-destination 10.76.59.100
iptables -t nat -A POSTROUTING -s 192.168.1.151 -j SNAT --to-source 10.76.59.100

Hopefully future versions of multipass will handle it all out of the box.

Daniel P. Stasinski
daniel@GenericInbox.com
I 💛


On Sun, Aug 15, 2021 at 5:44 PM James Mcphee via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
Yeah, there was a jira project for it.
https://github.com/canonical/multipass/projects/12
as requested in https://github.com/canonical/multipass/issues/118
flat out says "Implement LXD support

Only support connecting to existing bridges.

/networks API documentation.

Added by Saviq"

so, https://wiki.debian.org/LXC/SimpleBridge type 1?

I don't debian, so no way to test.

On Sun, Aug 15, 2021 at 2:28 PM Daniel Stasinski via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:

Thanks, it got me started in the right direction but I think I still have a few miles to go.  The answer is probably buried somewhere in the docs for lxd, which is what multipass uses on linux.

Daniel P. Stasinski
daniel@GenericInbox.com
I 💛


On Fri, Aug 13, 2021 at 10:02 PM James Mcphee via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
https://multipass.run/docs/networks-command/19542  you probably want to hook it up to the external switch

On Fri, Aug 13, 2021 at 7:05 PM Daniel Stasinski via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
So I installed Ubuntu LTS and the mutipass VM manager but the virtual servers are all on a different subnet 10.151.241.x instead of the needed 192.168.1.x.  I would like to be able to access the virtual machines from my desktop since I'll be using it to test local websites etc.  I'm way out of my league at the moment and have no idea how to accomplish this.

Daniel P. Stasinski
daniel@GenericInbox.com
I 💛
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
James McPhee
jmcphe@gmail.com
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
James McPhee
jmcphe@gmail.com
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss