From owner-freebsd-questions Fri Oct 30 11:36:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16935 for freebsd-questions-outgoing; Fri, 30 Oct 1998 11:36:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mamba-e.gsfc.nasa.gov (mamba-e.gsfc.nasa.gov [128.183.166.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16930 for ; Fri, 30 Oct 1998 11:36:44 -0800 (PST) (envelope-from uhl@mamba-e.gsfc.nasa.gov) Received: (from uhl@localhost) by mamba-e.gsfc.nasa.gov (8.8.5/8.8.4) id OAA11555; Fri, 30 Oct 1998 14:36:42 -0500 (EST) Date: Fri, 30 Oct 1998 14:36:42 -0500 (EST) From: George Uhl Message-Id: <199810301936.OAA11555@mamba-e.gsfc.nasa.gov> To: freebsd-questions@FreeBSD.ORG, Bruce.H.Kwan@jpl.nasa.gov Subject: Re: SPPP over RISCom/N2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: qG83OpV70mYEWIGR1qDlkw== Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hiding IP addresses makes it hard to figure out what is going on exactly. Are you sure both interfaces are up when you ping? I had this working a year or so ago. I can't remember all the details but it wasn't hard to get the interfaces configured to communicate. You have machine2's sr0 config'ed as a point-to- point? inet xx.xx.xx.176 --> xx.xx.xx.26 netmask 0xffffffff John Hay wrote the driver orignally but I don't know if it was changed since I played with it. I made my own changes so that I could change the line speed with an ioctl from an ifconfig command without modifying the driver and rebuilding the kernel. Unfortunately, that was on my last job and I had to leave my software there. I'd like to help you but I'm digging way deep into neuron space and more info would help. George Uhl NASA GSFC > From majordom@FreeBSD.ORG Fri Oct 30 14:11 EST 1998 > Delivered-To: vmailer-questions@freebsd.org > Date: Fri, 30 Oct 1998 10:30:20 -0800 > From: "Bruce H. Kwan" > MIME-Version: 1.0 > To: freebsd-questions@FreeBSD.ORG > Subject: SPPP over RISCom/N2 > Content-Transfer-Encoding: 7bit > X-Loop: FreeBSD.ORG > > Hi- > > I am trying to use the RISCom/N2 driver that comes with the > 2.2.7 distribution. The driver configures the serial card as an > SPPP network interface. I have two PC's with RISCom cards > and I am simply trying to make a connection between the two > machines. I have done the proper ifconfig and route configuration > calls (I think) and I get the following when I do an ifconfig -a > and a netstat -r: > > (I've excluded the actual IP /ethernet addresses...) > > machin1# ifconfig -a > ep0: flags=8843 mtu 1500 > inet xx.xx.xx.26 netmask 0xffffff00 broadcast xx.xx.xx.255 > ether xx:xx:xx:xx:xx:xx > sr0: flags=8051 mtu 1500 > inet xx.xx.xx.26 --> xx.xx.xx.176 netmask 0xffffffff > sr1: flags=8010 mtu 1500 > tun0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > machine1# netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default default-gateway UGSc 1 0 ep0 > localhost localhost UH 0 4 lo0 > xx.xx.xx/24 link#1 UC 0 0 > machine1 xx:xx:xx:xx:xx UHLW 0 38 lo0 > machine2 sr0 UHS 0 8 sr0 > > When I attempt to ping between the machines, I get: > > machine1# ping machine2 > PING machine2 (xx.xx.xx.176): 56 data bytes > ping: sendto: Network is down > ping: sendto: Network is down > > I configured machine2 to speak to machine 1 via > its own sr0 interface as well. > > Do you know what I might be missing in my understanding > of how SPPP is used to configure and support the RISCom/N2 > card? Any comments or suggestions would be greatly appreciated. > > Thanks! > > Bruce Kwan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message