|
From: Miro K. <mir...@gm...> - 2025-09-11 08:01:07
|
On Thu, 11 Sept 2025 at 04:00, Mark Duckworth via Freemint-discuss < fre...@li...> wrote: > A default route necessarily has to involve an IP. Traffic that has no > other destination has to route through somewhere. > > What you are looking for is a subnet route. That would look something > more like route add 192.168.1.0 eth0 Which would say that all traffic to > 192.168.1.0 goes out eth0. I'm not sure you could set it up so that you > directly route to the whole internet but if you could it would look like > route add 0.0.0.0 eth0 > Isn't "route add 0.0.0.0 eth0" basically the same as "route add default eth0" from my example? Because that's exactly what I'm trying to achieve. A quick google search found e.g. this one: https://superuser.com/questions/279543/connecting-two-linux-pcs-via-cross-cable where the guy does basically exactly the same thing and he is encouraged to drop the "gw" part because it's not necessary. -- http://mikro.atari.org |