I'm trying to connect two Ubuntu VM's internally with a Linux Bridge for SMB shares. The client side cannot see it, but the server also shares on the physical network and the client can see the shares via that address, just not the through the virtual bridge.
Created a linux bridge to connect VM's together:
/etc/network/interfaces
auto vmbr3
iface vmbr3 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
Used netplan to add the interfaces on both VM's:
/etc/netplan/00-installer-config.yaml
network:
ethernets:
ens18: # This is my internet connection
dhcp4: yes
ens19: # This is the Linux bridge to the other VM
addresses: [192.168.x.x/32]
dhcp4: no
Added the interface to the smb.conf:
[Global]
interfaces = 127.0.0.1/24 ens18 ens19
Server side sees the share with the ens19 (linux bridge) address so I know it's not a smb thing:
smbclient -L 192.168.x.x -U%
Sharename Type Comment
--------- ---- -------
blah blah blah
I think the tell all here is the fact my client sees the servers bridge ip with netdiscover and but will timeout when ping'ing or telnet'ing the address with firewalls disabled.
I've also tried routing the traffic through that interface with no luck:
sudo ip route add 192.168.x.x/32 dev ens19
Any ideas on what else I can try or what I'm doing wrong. Forgive me I'm new to proxmox and creating these virtual switches so to speak.
Created a linux bridge to connect VM's together:
/etc/network/interfaces
auto vmbr3
iface vmbr3 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
Used netplan to add the interfaces on both VM's:
/etc/netplan/00-installer-config.yaml
network:
ethernets:
ens18: # This is my internet connection
dhcp4: yes
ens19: # This is the Linux bridge to the other VM
addresses: [192.168.x.x/32]
dhcp4: no
Added the interface to the smb.conf:
[Global]
interfaces = 127.0.0.1/24 ens18 ens19
Server side sees the share with the ens19 (linux bridge) address so I know it's not a smb thing:
smbclient -L 192.168.x.x -U%
Sharename Type Comment
--------- ---- -------
blah blah blah
I think the tell all here is the fact my client sees the servers bridge ip with netdiscover and but will timeout when ping'ing or telnet'ing the address with firewalls disabled.
I've also tried routing the traffic through that interface with no luck:
sudo ip route add 192.168.x.x/32 dev ens19
Any ideas on what else I can try or what I'm doing wrong. Forgive me I'm new to proxmox and creating these virtual switches so to speak.