Re: subnet subset blocked

2024-09-25 Thread Andy Smith
Hi, On Wed, Sep 25, 2024 at 08:01:45AM -0400, Dan Ritter wrote: > Adam Weremczuk wrote: > > allow-hotplug ens192 > > iface ens192 inet static > > address 192.168.4.12 > > mask 255.255.252.0 > > Spell this netmask instead. Spell it address 192.168.4.12/22 (with no "netmask" line at all)

Re: subnet subset blocked

2024-09-25 Thread Adam Weremczuk
That was it, thanks everyone. On 25/09/2024 13:39, Erwan David wrote: It should be "netmask 255.255.252.0" or (I prefer) just set "address 192.168.4.12/22" without netmask (man says it is deprecated)

Re: subnet subset blocked

2024-09-25 Thread Erwan David
Le 25/09/2024 à 12:30, Adam Weremczuk a écrit : On 24/09/2024 22:29, Dan Ritter wrote: What does ip route show give you on the VM in question? ip route show default via 192.168.4.1 dev ens192 onlink 192.168.4.0/24 dev ens192 proto kernel scope link src 192.168.4.12 BINGO! 192.168.4.0/24 i

Re: subnet subset blocked

2024-09-25 Thread Dan Ritter
Adam Weremczuk wrote: > On 24/09/2024 22:29, Dan Ritter wrote: > > > What does > > > > ip route show > > > > give you on the VM in question? > > ip route show > default via 192.168.4.1 dev ens192 onlink > 192.168.4.0/24 dev ens192 proto kernel scope link src 192.168.4.12 > > BINGO! > > 192.1

Re: subnet subset blocked

2024-09-25 Thread Adam Weremczuk
On 24/09/2024 22:29, Dan Ritter wrote: What does ip route show give you on the VM in question? ip route show default via 192.168.4.1 dev ens192 onlink 192.168.4.0/24 dev ens192 proto kernel scope link src 192.168.4.12 BINGO! 192.168.4.0/24 is wrong, should say 192.168.4.0/22 Do you know w

Re: subnet subset blocked

2024-09-24 Thread Michael Kjörling
On 24 Sep 2024 21:31 +0100, from ad...@matrixscience.com (Adam Weremczuk): > I've just launched a Debian 12 VM in VMware (ESXi 7.0.2) and installed > apache2 / php / postgres stack on it + ssh access. > > Generally we have 3 subnets (IPv4 only): > > - 192.168.4.0/22 (Ethernet LAN) - which starts

Re: subnet subset blocked

2024-09-24 Thread George at Clug
Adam, I doubt this is your issue. But there has been times when my VM's [virtual] MAC address is the same as another in the network. You have not mentioned about firewalls? Have you installed and configured any firewalls? >From your VM can you ping and/or connect to a computer in the 192.168.

Re: subnet subset blocked

2024-09-24 Thread Dan Ritter
Adam Weremczuk wrote: > Hi all, > > I've just launched a Debian 12 VM in VMware (ESXi 7.0.2) and installed > apache2 / php / postgres stack on it + ssh access. > > Generally we have 3 subnets (IPv4 only): > > - 192.168.4.0/22 (Ethernet LAN) - which starts with 192.168.4.1 and ends > with 192.16

subnet subset blocked

2024-09-24 Thread Adam Weremczuk
Hi all, I've just launched a Debian 12 VM in VMware (ESXi 7.0.2) and installed apache2 / php / postgres stack on it + ssh access. Generally we have 3 subnets (IPv4 only): - 192.168.4.0/22 (Ethernet LAN) - which starts with 192.168.4.1 and ends with 192.168.7.254 - 10.10.10.0/24 (VPN1) - 1