Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
Theo de Raadt wrote: Oh my. Have you considered hiring a consultant? Of course. As you have already noticed, I have no idea about how to do what I'm trying to do. But a consultant is out of my budget. Are you guys saying all I have to do is the following, and packets will automatically be

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
You guys are focusing on the netmasks. Let's consider my setup again BUT with all netmasks at 0x, so all the forwarding and routing need to be explicitly configured.

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
On Sep 3, 2020, at 15:07 AM, Brian Brombacher wrote: "Your setup ... requires pf \rules and additional routing tables to make this work." And which pf rules and how to establish those routing tables are exactly what I'm asking. But ok, let's say I reassign addresses so Comp1 re1=

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
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.

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
I was actually wondering about using netmask 0x for the external interface. As you noted, they are different networks, I just wanted to be able to use any 192.168/16 ip address in the internal network and use nat-to and rdr-to in Computer1 so every packet going to or from the ISP router

Routing and forwarding: directly connected computers

2020-09-03 Thread Ernest Stewart
r (including Computer1 with Computer5, thru Computer2)? In every information I have found this is automatically done with DHCP, which I won't use, or BGP-4, RIP,OSPF,etc., which I will neither use because these addresses and routes will be static. Thank you. Ernest Stewart.