Thursday, September 03, 2020

Re: Routing and forwarding: directly connected computers

> On Sep 3, 2020, at 11:02 AM, Ernest Stewart <erneststewart77@hotmail.com> wrote:
>
> I forgot to say, in every computer I have /etc/sysctl.conf with "net.inet.ip.forwarding=1".
>
> And I insist, what shocks me the most is that tcpdump shows in both computers the right icmp packets but ping says 100% packets lost.

You've really got to pay attention to the netmasks here. You're trying to use multi routing without doing it right. Your setup is unnecessarily complex, and requires pf rules and additional routing tables to make this work. Switch to bridges networking if it helps simplify things.

What is the insistence on re-using portions of 192.168.1 addresses on a network with a router of 192.168.2?

You should expand and use more subnets under 192.168.x.

No comments:

Post a Comment