From owner-freebsd-questions Tue Jan 8 1:49:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from out002pub.verizon.net (out002pub.verizon.net [206.46.170.102]) by hub.freebsd.org (Postfix) with ESMTP id A838F37B400 for ; Tue, 8 Jan 2002 01:49:37 -0800 (PST) Received: from verizon.net (pool-141-150-214-136.delv.east.verizon.net [141.150.214.136]) by out002pub.verizon.net with SMTP for ; id g089nWd08679 Tue, 8 Jan 2002 03:49:32 -0600 (CST) Date: Tue, 8 Jan 2002 05:13:44 -0500 From: jbw To: freebsd-questions@freebsd.org Subject: Re: Juniper IOS install woes on FreeBSD machine Message-ID: <20020108051344.A37712@arem.peritian.com> References: <5.1.0.14.2.20020108163940.01e6d130@pop.ozemail.com.au> <011b01c1980c$ace65410$95891581@minipas> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <011b01c1980c$ace65410$95891581@minipas>; from nel9996@ritvax.isc.rit.edu on Tue, Jan 08, 2002 at 01:21:14AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From what I do remember you can run JunOS on non-Juniper hardware but you cannot install on top of FreeBSD even though it is based on it. When I was doing some consulting work at a major carrier they had a Juniper lab set up made up of dedicated PCs that they installed the JunOS on. You need a dedicated hard drive and it only supports certain NICs. I was going to set it up on spare hard drive that I had for my laptop but becuase it only supported certain NICs I didn't bother with the additional expense of purchasing a NIC to install it. Also if I remember correctly the version of the JunOS that you can install on a PC is called Olive or something like that. jbw On Tue, Jan 08, 2002 at 01:21:14AM -0500, Nevin E. Leiby wrote: > > Umm... doesn't JunOS only run on Juniper hardware (ie. routers)?! > > Though based on the FreeBSD kernel, I'd be surprised if you could > > just run JunOS on a FreeBSD workstation... > ... > > Why would you install JunOS on a workstation? JunOS is developed > > especially for Juniper routers, and I would imagine has drivers writen > > expressly for the hardware that make up a Juniper. > > Understandibly, but we only have access to crisco's 2500s, two or three > 5500s, and thats about it...nothin more than that...=\ We do, however, have > an entire lab full of spare pcs with an abundance of nics, all of which are > compatible with the FreeBSD os... > > Although similar projects have been duplicated with the Zebra and Linux > Router Project, it seems feasible. Unfortunately, at the moment I cannot > quote any of the previous posts that I have read, a few posts seemed to hint > at the ability to run the juniper code on a freebsd machine without > requiring the juniper hardware. > > Although functionality would be limited to pc hardware (eg, only ethernet > and perhaps t1 cards, etc), ppl seemed to hint at the fact that it was > indeed possible. The exact process was never mentioned, nor did any FAQs or > other articles on the net prove helpful tho...A previous coworker of mine > attended a Juniper training conference in VA with an instructor that > mentioned it... > > So, wouldn't it be possible to have the freebsd workstation execute the > juniper ios code to have the low-level equivilant of a juniper router?? I > certainly don't understand all of the specifics, but Im not sure how to go > further from here...It seems as though the only [plausible] option would be > to build the entire junos filesystem as done on a juniper router, then load > the ios image, etc > > Thoughts? > > > Have you tries strace on the files? What are the install scripts trying > to do? > > I haven't tried strace on the binary code files if I remember correctly > (first attempt was about 4 weeks ago). I did, however, execute a 'file' > command to determine the appropriate file types of binaries. Finally, I did > attempt to execute the binaries, but I do not have copies of the explicit > error messages at the moment other than what I mentioned previously: > ...I have scanned attempted to execute the extracted sh scripts (eg, > +INSTALL), all of the binaries in the boot/ directory are failing with the > "Abort trap" error message..... > > I do not understand the script completely yet - on a juniper router the > scripts are executed automatically. I might have to trace the script line by > line to determine what failures are occuring now and why.. > > > > > > 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