Hi! 1) I have two network ports on my server. - eno1 has the IP: XX1.XX1.XX1.150 - bridge0 has the IP: XX2.XX2.XX2.100 and has the interface member: port eno2. eno2 is not set up with an IP address. 2) The host runs on IP: XX1.XX1.XX1.150 3) A VM uses the bridge: bridge0, and has the IP: XX2.XX2.XX2.100 I have a problem with this setup: I can ssh the VM on XX2.XX2.XX2.100 from outside, but from the host, XX1.XX1.XX1.150, I can't ssh the VM on XX2.XX2.XX2.100. Have I set up this wrong or is it something I can do to solve this? Thanks! Wolf
> > 1) I have two network ports on my server. > - eno1 has the IP: XX1.XX1.XX1.150 > > - bridge0 has the IP: XX2.XX2.XX2.100 > and has the interface member: port eno2. > eno2 is not set up with an IP address. > > 2) The host runs on IP: XX1.XX1.XX1.150 > > 3) A VM uses the bridge: bridge0, and has the IP: XX2.XX2.XX2.100 > > I have a problem with this setup: > I can ssh the VM on XX2.XX2.XX2.100 from outside, but from the host, > XX1.XX1.XX1.150, I can't ssh the VM on XX2.XX2.XX2.100. >This can be anything from routing to iptables/firewall rules. Probably least likely to do with libvirt ;) Best to troubleshoot is revert to situation where everything works as you expect it, and then do one change at a time to see when your problem appears.
And eno1 and eno2 are *both* connected to the same external switch, yes? Cheers, Peter On Tue, 15 Feb 2022 at 17:17, Wolf <ort_libvirt at bergersen.no> wrote:> Hi! > > 1) I have two network ports on my server. > - eno1 has the IP: XX1.XX1.XX1.150 > > - bridge0 has the IP: XX2.XX2.XX2.100 > and has the interface member: port eno2. > eno2 is not set up with an IP address. > > 2) The host runs on IP: XX1.XX1.XX1.150 > > 3) A VM uses the bridge: bridge0, and has the IP: XX2.XX2.XX2.100 > > I have a problem with this setup: > I can ssh the VM on XX2.XX2.XX2.100 from outside, but from the host, > XX1.XX1.XX1.150, I can't ssh the VM on XX2.XX2.XX2.100. > > Have I set up this wrong or is it something I can do to solve this? > > Thanks! > > Wolf > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220215/c491a397/attachment.htm>