From nobody  Thu Apr  3 22:46:50 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id WAA21059;
          Thu, 3 Apr 1997 22:46:50 -0800 (PST)
Message-Id: <199704040646.WAA21059@freefall.freebsd.org>
Date: Thu, 3 Apr 1997 22:46:50 -0800 (PST)
From: Roman.Pavlik@skynet.cz
To: freebsd-gnats-submit@freebsd.org
Subject: RISCom N2 card driver problem?
X-Send-Pr-Version: www-1.0

>Number:         3190
>Category:       bin
>Synopsis:       RISCom N2 card driver problem?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  3 22:50:01 PST 1997
>Closed-Date:    Tue May 26 02:27:55 PDT 1998
>Last-Modified:  Tue May 26 02:28:37 PDT 1998
>Originator:     Roman Pavlik
>Release:        2.2.1
>Organization:
SkyNet
>Environment:
>Description:
I try to configure RISCom N2 card on 2.2.1 box. I used CISCO 2511 on the other
end of sync line. When I tried RISCom N2 card in HDLC mode (ifconfig link2) 
it was able to ping to remote CISCO, but it was unable to traceroute.
I switched RISCom N2 card to PPP. After this, it was able to ping as so as 
traceroute. BUT It does not forwarding packets. (I check net.inet.ip.forwarding
and it was set up to 1). I tried the same with  3.0-970209-SNAP and it wors
fine in PPP mode (in HDLC it was still unable to traceroute).

>How-To-Repeat:
Install 2.2.1 box with RISCom N2 isa
>Fix:

>Release-Note:
>Audit-Trail:

From: John Hay <jhay@zibbi.mikom.csir.co.za>
To: Roman.Pavlik@skynet.cz
Cc: freebsd-gnats-submit@freeBSD.org
Subject: Re: bin/3190: RISCom N2 card driver problem?
Date: Sun, 6 Apr 1997 11:09:39 +0200 (SAT)

 > >Synopsis:       RISCom N2 card driver problem?
 ...
 > >Description:
 > I try to configure RISCom N2 card on 2.2.1 box. I used CISCO 2511 on the other
 > end of sync line. When I tried RISCom N2 card in HDLC mode (ifconfig link2) 
 > it was able to ping to remote CISCO, but it was unable to traceroute.
 > I switched RISCom N2 card to PPP. After this, it was able to ping as so as 
 > traceroute. BUT It does not forwarding packets. (I check net.inet.ip.forwarding
 > and it was set up to 1). I tried the same with  3.0-970209-SNAP and it wors
 > fine in PPP mode (in HDLC it was still unable to traceroute).
 > 
 > >How-To-Repeat:
 > Install 2.2.1 box with RISCom N2 isa
 > 
 
 Can you elaborate a bit more on your setup please? I don't have a Cisco
 available at the moment, but I did the following setup and traceroute
 and other routing does work:
 
       Ethernet
 ------------------------------
      |                      |
 Machine A               Machine B                       Machine C
 (FreeBSD-current)       (FreeBSD-2.2.1)                 (FreeBSD-current)
                          RISCom N2/ISA                   RISCom NS/PCI
                             |                                 |
 			    -----------------------------------
 
 Machine B is:
 50MHz 486DX
 8MB RAM
 SMC 16bit ethernet
 RISCom NS/ISA
 I did a clean 2.2.1 install from ftp.za.freebsd.org choosing the "kernel
 developer" option to get the kernel source, recompiled a kernel with:
 
 device sr0 at isa? port 0x300 net irq 12 iomem 0xd0000 vector srintr
 pseudo-device   sppp
 
 added and all other device unneeded device drivers took out. I rebooted
 with the new kernel and did the following (the ethernet side was using
 the sysconfig setup that was done by the installation):
 
 ifconfig sr0 10.0.0.2 10.0.0.1 netmask 0xffffff00 link2
 sysctl -w net.inet.ip.forwarding=1
 
 I could then ping, traceroute and telnet from machine A to machine C.
 
 John
 -- 
 John Hay -- John.Hay@mikom.csir.co.za
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Tue May 26 02:27:55 PDT 1998 
State-Changed-Why:  
Originator notes that problem has been solved. 
>Unformatted:
