Date: Fri, 30 Oct 1998 14:36:42 -0500 (EST) From: George Uhl <uhl@mamba-e.gsfc.nasa.gov> To: freebsd-questions@FreeBSD.ORG, Bruce.H.Kwan@jpl.nasa.gov Subject: Re: SPPP over RISCom/N2 Message-ID: <199810301936.OAA11555@mamba-e.gsfc.nasa.gov>
next in thread | raw e-mail | index | archive | help
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" <Bruce.H.Kwan@jpl.nasa.gov> > 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet xx.xx.xx.26 netmask 0xffffff00 broadcast xx.xx.xx.255 > ether xx:xx:xx:xx:xx:xx > sr0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 > inet xx.xx.xx.26 --> xx.xx.xx.176 netmask 0xffffffff > sr1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810301936.OAA11555>