Hello

On Tuesday, March 10, 2020, 11:54:49 PM GMT+1, Manuel Bouyer 
<[email protected]> wrote:


>On Tue, Mar 10, 2020 at 08:45:17PM +0000, Björn Johannesson wrote:
[snip]
>> On the machine with NIC:
>> ifconfig sl0 create
>> slattach -s 115200 /dev/tty00
>> ifconfig sl0 inet 192.168.0.50 192.168.0.51
>> arp -s 192.168.0.51 6c:3b:e5:1f:98:d8 pub proxy
>> sysctl -w net.inet.ip.forwarding=1
>> (The real NIC on this machine has ip 192.168.0.114 netmask ffffff00)

>6c:3b:e5:1f:98:d8 is the mac address of your real nic, right ?
DOH! I cannot believe I missed that looking it over several times...
That sure got it working. Thanks!

>>
>> The two machines communicate fine with each other - however the forwarding 
>> part does not.
>> 192.168.0.51 cannot communicate past .0.50 and cannot be reached from 
>> outside .0.50.
>> There is also a _significant_ delay when communicating from .51 to .50 after 
>> adding the "route" command.
>> If I ping .50 from .51 it takes many seconds (>10) before it starts sending 
>> packets.


>Probably a DNS-related timeout.
Well, whatever it was it went away when I got it working.

>I've used a very similar setup with netbsd-8, it works.
>I'm not use I tried with -9 yet.
Client here was -9, server -8. Fwiw.

>Also in my notes I see that I set the sl0 MTU to 1500, maybe because by
>default the MTU is too low.
Standard MTU is apparently 296. Gonna play with this later.

Thanks to all who answered.

/B  

Reply via email to