Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #273270
| From | Erwan David <erwan@rail.eu.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: subnet subset blocked |
| Date | 2024-09-25 14:40 +0200 |
| Message-ID | <Jqztf-eJy8-1@gated-at.bofh.it> (permalink) |
| References | <Jqkud-eAjL-9@gated-at.bofh.it> <JqlzX-eAW7-1@gated-at.bofh.it> <JqxB7-eIri-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 is wrong, should say 192.168.4.0/22 > > Do you know why? > > In /etc/network/interfaces looks correct: > > allow-hotplug ens192 > iface ens192 inet static > address 192.168.4.12 > mask 255.255.252.0 > gateway 192.168.4.1 > dns-nameservers 192.168.4.3 > dns-search mydomain.co.uk > > 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) -- Erwan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
subnet subset blocked Adam Weremczuk <adamw@matrixscience.com> - 2024-09-24 22:40 +0200
Re: subnet subset blocked Dan Ritter <dsr@randomstring.org> - 2024-09-24 23:50 +0200
Re: subnet subset blocked Adam Weremczuk <adamw@matrixscience.com> - 2024-09-25 12:40 +0200
Re: subnet subset blocked Dan Ritter <dsr@randomstring.org> - 2024-09-25 14:20 +0200
Re: subnet subset blocked Andy Smith <andy@strugglers.net> - 2024-09-26 04:00 +0200
Re: subnet subset blocked Erwan David <erwan@rail.eu.org> - 2024-09-25 14:40 +0200
Re: subnet subset blocked Adam Weremczuk <adamw@matrixscience.com> - 2024-09-25 15:40 +0200
Re: subnet subset blocked George at Clug <Clug@goproject.info> - 2024-09-25 00:40 +0200
Re: subnet subset blocked Michael Kjörling <c9bc136c6063@ewoof.net> - 2024-09-25 08:50 +0200
csiph-web