NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Serial SLIP Connection



On 11/1/18, Andy Ruhl <acruhl%gmail.com@localhost> wrote:
> On Thu, Nov 1, 2018 at 10:50 AM Dan Plassche <boomer3200%gmail.com@localhost> wrote:
>> ifconfig sl0 inet 10.0.2.7 10.0.2.6 arp up
>> route add default 10.0.2.6
>>
>> 5. Setup interface on server
>>
>> ifconfig sl0 create
>> slattach -l -s 9600 -t slip /dev/tty00
>> ifconfig sl0 inet 10.0.2.6 10.0.2.7 arp up
>
> I haven't done this in a really long time, but I don't remember
> needing cu when using 2 directly attached machines over a null modem.
> Just slattach. Maybe that changed.
>
> I also seem to recall using a /30 and a netmask for both ends. Your
> addresses don't belong to the same /30. Try using .1 and .2 or .5 and
> .6.
>
> Just stuff to try. I can't say that this info is useful 20 years later.
>
> Andy
>

Thanks, Andy.  The netmask was defaulting to 255.0.0.0 and I now
set it to 255.255.255.252 at each end.  I tried again without cu
and setting both ends as 10.0.5.1 and 10.0.5.2, but still had the
same behavior (can ping out, but no packets received or route to
DNS on the cient). The test server's network card is at 10.0.2.15
with the gateway at 10.0.2.2 and the DNS at 10.0.2.3.  Adding
additional static routes to those endpoints through the NetBSD
server did not seem to help.



Home | Main Index | Thread Index | Old Index