Re: Serial SLIP Connection

2018-11-04 Thread Dan Plassche
After correcting my routing setup, I have SLIP and PPP both working as expected over a direct serial connection. I had to adjust the NAT setup within my home network. For now I used ipnat on the NetBSD slip server. I also had to add an additional static route on the client to the address of the

Re: Serial SLIP Connection

2018-11-02 Thread Dan Plassche
On 11/1/18, Greg Troxel wrote: > I am not really following your descriptions of what is working and what > isn't, in particularly "ping out". Thank you for asking and the suggestions. > Then, the questions are: > > is IP forwarding enabled on the gateway machine? > > if you ping 10.0.2.2

Re: Serial SLIP Connection

2018-11-02 Thread Dan Plassche
On 11/1/18, Malcolm Herbert wrote: > I'm curious - why SLIP and not PPP? PPP would be equally suitable in general. It was just that SLIP would meet my needs with slightly less setup and overhead when attaching serial devices (no configuration files for each interface and no daemon). I started

Re: Serial SLIP Connection

2018-11-01 Thread Andy Ball
Hello Dan, ASB> Here is a note I wrote myself some years ago, when I > last tried it. I like slip because it's simple and > does the job. I will try to test it this evening. I can confirm that SLIP still works. Here's an iperf speed test over the serial connection:-

Re: Serial SLIP Connection

2018-11-01 Thread Andy Ball
Hello Dan, Here is a note I wrote myself some years ago, when I last tried it. I like slip because it's simple and does the job. I will try to test it this evening. /etc/ifconfig.sl0 ! /sbin/slattach -h -s 115200 /dev/tty00 inet 192.168.3.129 192.168.3.128 up (IP

Re: Serial SLIP Connection

2018-11-01 Thread Greg Troxel
Dan Plassche writes: > On 11/1/18, Andy Ruhl wrote: >> On Thu, Nov 1, 2018 at 10:50 AM Dan Plassche 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

Re: Serial SLIP Connection

2018-11-01 Thread Malcolm Herbert
I'm curious - why SLIP and not PPP? Regards, Malcolm -- Malcolm Herbert m...@mjch.net

Re: Serial SLIP Connection

2018-11-01 Thread Dan Plassche
On 11/1/18, Andy Ruhl wrote: > On Thu, Nov 1, 2018 at 10:50 AM Dan Plassche 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

Re: Serial SLIP Connection

2018-11-01 Thread Andy Ruhl
On Thu, Nov 1, 2018 at 10:50 AM Dan Plassche 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

Serial SLIP Connection

2018-11-01 Thread Dan Plassche
I'm having trouble setting up a direct serial connection on NetBSD 7.0.2 to share a server's internet access with a client over SLIP. The server has internet access over a wired ethernet card (wm0) and connects to the client over a serial line (null modem cable). I started by testing this in