Date: Tue, 20 Feb 2001 15:48:07 +0000 (GMT) From: Jean-Christophe Varaillon <jcv@vbc.net> To: "Andy [TECC NOPS]" <andy@tecc.co.uk> Cc: freebsd-net@FreeBSD.ORG Subject: RE: - RISCom card: lcp illegal conf-req in state initial - Message-ID: <Pine.BSF.4.10.10102201536480.59797-100000@brunel.uk1.vbc.net> In-Reply-To: <NDBBKOKIGKLFGGPFHCGBGEAHCKAA.andy@tecc.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Andy, I think the cables are ok. > OK, reading the docs/man page I see the default protocol > for the sr driver is ppp whereas I know it's hdlc for > cisco. Have you set either end so they match? I specified "encapsulation ppp" on the cisco. > in the ifconfig command you'll need the "link2" option > to get sr to do hdlc or on the cisco specify : > (conf-int)# encapsulation ppp > in order to make the cisco do ppp. > > Can you send me a full "show int s0/0" and a full > ifconfig -a please. show int s0/0: ------------- kg2uk1#sho int ser 0/0 Serial0/0 is up, line protocol is down Hardware is M4T Description: ZEBRA TEST LINK Internet address is x.x.x.145/30 MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, crc 16, loopback not set, keepalive set (10 sec) LCP REQsent Closed: IPCP, CDPCP Last input never, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 1 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 1168 packets output, 16352 bytes, 0 underruns 0 output errors, 0 collisions, 314 interface resets 0 output buffer failures, 0 output buffers swapped out 326 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up ---- homer# ifconfig -a: ------------------ The sr1 change from UP to DOWN after 5 min. sr0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sr1: flags=8410<POINTOPOINT,OACTIVE,MULTICAST> mtu 1500 inet x.x.x.146 --> x.x.x.145 netmask 0xfffffffc inet6 fe80::2d0:b7ff:fe09:3333%sr1 --> :: prefixlen 64 scopeid 0x2 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::2d0:b7ff:fe09:3333%fxp0 prefixlen 64 scopeid 0x3 inet x.x.x.50 netmask 0xffffff80 broadcast x.x.x.127 ether 00:d0:b7:09:33:33 media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP lp0: flags=8810<POINTOPOINT,SIMPLEX,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 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 faith0: flags=8000<MULTICAST> mtu 1500 homer# Thanks a lot, JC. > > Regards > Andy > > > -----Original Message----- > > From: Jean-Christophe Varaillon [mailto:jcv@vbc.net] > > Sent: 20 February 2001 15:04 > > To: Andy [TECC NOPS] > > Cc: freebsd-net@FreeBSD.ORG > > Subject: RE: - RISCom card: lcp illegal conf-req in state initial - > > > > > > > > Thanks for your prompt repply. > > > > On Tue, 20 Feb 2001, Andy [TECC NOPS] wrote: > > > > > Hi > > > > > > Think I know more about Cisco than RISCom cards > > > but here's my 2p worth:- > > > > > > 1. I take it the connecting cable is an X21 null > > > modem cable? If so, you have got it the right > > > way round cos the connectors are the same and one > > > end is dce the other dte. > > > > I have 2 cables plugged together: > > 1 2 > > Cisco }------{ }------{ Free BSD > > a b > > Cable 1: > > On the cisco end: X21 DCE > > On the other extremity (a): Female like this: > > ........ > > ...... > > > > Cable 2 > > On the extremity (b): Male like that: > > ........ > > ...... > > > > On the FreeBSD end: It is a male like this: > > ........ > > ........ > > ....... > > > > > 2. > > Serial0/0 is up, line protocol is down > > The clock is set (by the router) at clockrate 2015232 > > > > > > -----Original Message----- > > > > From: owner-freebsd-net@FreeBSD.ORG > > > > [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Jean-Christophe > > > > Varaillon > > > > Sent: 20 February 2001 14:18 > > > > To: freebsd-net@FreeBSD.ORG > > > > Subject: - RISCom card: lcp illegal conf-req in state initial - > > > > > > > > > > > > Hi all, > > > > > > > > I am actualy trying to establish the communication between a > > cisco router > > > > and my Free BSD machine. > > > > > > > > +-------+ +---------------+ > > > > | cisco |serial interface | FreeBSD 4.1 | > > > > | 3600 +-------------------+ | > > > > | | RISCom | | > > > > +-------+ card +---------------+ > > > > x.x.x.145 x.x.x.146 > > > > > > > > I beleive that the router is correclty configured but NOT the FreeBSD > > > > machine. > > > > > > > > This is what dmesg | grep sr1 shows: > > > > -------- > > > > sr1: Adapter 0, port 1. > > > > sr1 XXX: driver didn't set ifq_maxlen > > > > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. > > > > ... > > > > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. > > > > sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01. > > > > sr1: Down event, taking interface down. > > > > ... > > > > sr1: Down event, taking interface down. > > > > sr1: Down event, taking interface down. > > > > sr1: lcp illegal conf-req in state initial > > > > ... > > > > sr1: lcp illegal conf-req in state initial > > > > sr1: lcp illegal conf-req in state initial > > > > -------- > > > > > > > > This is the ifconfig: > > > > ------- > > > > sr1: flags=8451<UP,POINTOPOINT,RUNNING,OACTIVE,MULTICAST> mtu 1500 > > > > inet6 fe80::2d0:b7ff:fe09:3333%sr1 --> :: prefixlen 64 > > > > scopeid 0x2 > > > > inet x.x.x.146 --> x.x.x.145 netmask 0xfffffffc > > > > ------ > > > > > > > > Thanks, > > > > > > > > JC. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10102201536480.59797-100000>