Comment on Weird (to me) networking issue - can you help?
possiblylinux127@lemmy.zip 5 months ago
Why is your network like this? Wouldn’t is be easier to put the server and the devices that need to access server on the same subnet?
Anyway I suspect the treason is that ping is using the wrong source IP. If you run ping --help
there should be an option to change the source address.
talkingpumpkin@lemmy.world 5 months ago
Well, at the moment my network is actually flat :)
This is an experiment I’m doing because I wanted to have all the management stuff on a different subnet (eg. adguard dns is on the “regular” subnet everyone uses, but its web interface is on the special subnet only select devices can talk to).
Of course (like with most stuff in my homelab), it’s not like I really have a super-compelling security reason to that, it’s mostly that I wondered “what if?” :D
Oh. the ping option you are referring to is
-I
(upper case) and takes either an interface name or an ip. I did try giving a .10/24 IP to the PC and the results were consistent with scenario 1 (pings where source and destination are on the same subnet work, pings acrrss subnets don’t), so I didn’t mention that in the OP