From owner-freebsd-questions Wed Apr 17 08:44:12 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA15465 for questions-outgoing; Wed, 17 Apr 1996 08:44:12 -0700 (PDT) Received: from uswgco2.uswc.uswest.com (uswgco2.uswest.com [206.196.133.74]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA15456 for ; Wed, 17 Apr 1996 08:44:10 -0700 (PDT) Received: (from smap@localhost) by uswgco2.uswc.uswest.com (8.7.1/8.7.1) id JAA06997; Wed, 17 Apr 1996 09:42:25 -0600 (MDT) Received: from egate.mnet.uswest.com(151.116.23.138) by uswgco2.uswc.uswest.com via smap (V1.3) id sma006991; Wed Apr 17 09:42:23 1996 Received: from easthub (easthub.mnet.uswest.com [151.117.26.86]) by egate.mnet.uswest.com (8.7.1/8.7.1) with SMTP id JAA19836; Wed, 17 Apr 1996 09:42:23 -0600 (MDT) Received: by easthub.mnet.uswest.com (M-Net Hub.951228) Received: from astro.acs.uswest.com by acs.uswest.com (5.x/SMI-SVR4) id AA24495; Wed, 17 Apr 1996 10:42:19 -0500 Received: by astro.acs.uswest.com (SMI-8.6/SMI-SVR4) id KAA23735; Wed, 17 Apr 1996 10:42:16 -0500 From: ptroot@uswest.com (Paul T. Root) Message-Id: <199604171542.KAA23735@astro.acs.uswest.com> Subject: Re: CISCO To: e9203125@antares.linf.unb.br (Alex Antao) Date: Wed, 17 Apr 1996 10:42:16 -0500 (CDT) Cc: questions@freebsd.org In-Reply-To: <9604171443.AA01371@antares.linf.unb.br> from "Alex Antao" at Apr 17, 96 10:43:37 am X-Organization: !nterprise Networking Services X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a previous message, Alex Antao said: > > Hi, > > We'll get a CISCO 2509 (i think) soon, and I'd like some explanations > about connecting it ti FreeBSD. Ok, a 2509 has 2 Sync Serial ports, 1 Ethernet and 8 Async ports. > > 1) It's connected to FreeBSD box via serial port or network card ? This is a little confusing, are they going to be in the same office? Let's assume that you are a remote office, you're going to put a leased-line or Frame Relay into one of the Sync ports. There's your network connection. Next you'd put the ethernet port on your network, so your local lan is now connected the network. Next comes your FreeBSD box. Does it have a ethernet card? If so, add the ip address of the ethernet port of the Cisco as the defaultroute ie route add default `cisco address` 1. And your done. Now, if you don't have a ethernet in the FBSD, connect modems to the Cisco and the FBSD. Or a null modem cable. Setup the cisco to do ppp on the asyncs (that's kind of beyond the scope of this mail, but isn't that hard). And setup ppp (I used ijjppp) as shown in the Handbook. The Cisco serial ports do do 115200. Your FBSD will do 115200 if you have 16550A or better UARTS. > 2) Hopping it's serial port, so I'd like to know how do I configure > FreeBSD to view it like it's router (sysconfig, rc.serial, etc.) :) Sysconfig will have router info. Set defaultrouter and routedflags. rc.serial sets up the serial ports. You only need to change these to fit the configuration of the ports (speed, hardware handshaking, etc.). /etc/ppp.conf will be setup from the Handbook. Paul. -- Paul T. Root - USWEST !NTERPRISE Networking Service proot@acs.uswest.com A skydiver is taken by the gravity of his situation.