I had a bit of a nightmare getting these things to actually work at first. There were a number of things that I learnt along the way that I can share with you so you don’t have the same hold-ups.
Point #1 – There are 2 different ‘models’ of IP330.
One has a white and blue front:
The other is plain white on the front:
The white one seems to be a later model, and actually has more problems than the older one.
Point #2 – The hard drives needed when doing the Olive need to be either Western Digital or Seagate and HAVE to be LESS than 32GB in size.
It seems the BIOS on these Nokia’s don’t like drivers bigger than 32GB.
The white ones come with 40GB drives, with a jumper setting limiting them to 32GB. The older Nokia’s have WD drives of around 8GB in size.
Point #3 – When installing FreeBSD 4.4 mini, ensure that the hard drive to be used in the Nokia is the primary master
Otherwise installing JUNOS won’t work.
Point #4 – Install JUNOS 7.0, 7.1 or 7.2 first.
I seemed to have problems with any other version. Starting with these 3 I always succeeded.
Point #5 – 8.4 is the latest you’ll EVER be able to install
JUNOS 8.5 no longer supports the CPU inside the IP330. This is true for both the older AND the newer IP330′s shown above. Even though the white one is newer, they use exactly the same CPU. JUNOS won’t actually tell you this when you try and upgrade though. JUNOS will happily allow you to upgrade, but when you reboot to use the new version, you’re left with this:
Booting [/kernel]... Olive CPU GDB: debug ports: sio GDB: current port: sio KDB: debugger backends: ddb gdb KDB: current backend: ddb Copyright (c) 1996-2008, Juniper Networks, Inc. All rights reserved. Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. JUNOS 8.5R2.10 #0: 2008-02-06 08:20:23 UTC firstname.lastname@example.org:/volume/build/junos/8.5/release/8.5R2.10/obj-i386/sys/compile/JUNIPER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D processor (Unknown-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf
AMD Features=0x80000800 panic: CPU class not configured
You now have to start from scratch again. I could not recover.
Point #6 – If you can’t see anything through the serial port, maybe your cable is wrong.
You need a null modem cable. But maybe you have? The problem is that there is no null modem standard. This means you might have a bunch of null modem cables that all work differently. You can check the specs on wikipedia for null modem cables. I had a few and at first only 1 ever worked. I bought 1 of these: 2M Null Modem Cable and these worked just fine. When you boot up a Nokia, you should see ‘AT’ in your console application for a few minutes.
Another thing to add. When I bought my 5 IP330′s, 1 of then was a VPN220, but it looked identical inside and out to the older IP330. I turned this into and olive and it works just fine.
Other than that, everything else for me worked a treat!
Now that I got my olive up and running, it’s time to learn some stuff.
So how do you upgrade the JUNOS version on your device? With Cisco IOS it’s pretty easy. Copy the old IOS to your tftp server and then copy a new IOS image on and restart your box.
JUNOS doesn’t use tftp though, only regular ftp. You can either copy the images from with JUNOS itself, or just run an FTP server on the JUNOS box itself and ftp from your PC. I prefer the latter.
To run an FTP server on your router, make sure you’ve configured an interface with an IP and is reachable. Then add the following:
> configure # set system services ftp # commit
Make sure you actually have a user configured that can upload files. If it’s a temp user just do the following:
# set system login user ftpuser class super-user authentication plain-text-password
On your PC, open a command window and change to the directory containing your images. Then ftp into your JUNOS box:
C:\>ftp 10.4.10.10 Connected to 10.4.10.10. 220 FTP server (Version 6.00LS) ready. User (10.4.10.10:(none)): ftpuser 331 Password required for ftpuser. Password: 230 User ftpuser logged in. ftp> bin 200 Type set to I. ftp> cd /var/tmp 250 CWD command successful. ftp> put jinstall-8.1R3.3-domestic-signed.tgz 200 PORT command successful. 150 Opening BINARY mode data connection for 'jinstall-8.1R3.3-domestic-signed.tgz'. 226 Transfer complete. ftp: 93793459 bytes sent in 25.81Seconds 3634.42Kbytes/sec. ftp> bye
Now get back to the juniper.
> request system software add /var/tmp/jinstall-8.1R3.3-domestic-signed.tgz
This will take a while to finish. Once complete, type the following:
> request system reboot
JUNOS should reboot twice in total, it’ll do this automatically. Once it comes back you’ll be in your new version:
root@% cli root> show version Model: olive JUNOS Base OS boot [8.1R3.3] JUNOS Base OS Software Suite [8.1R3.3] JUNOS Kernel Software Suite [8.1R3.3] JUNOS Crypto Software Suite [8.1R3.3] JUNOS Packet Forwarding Engine Support (M/T Common) [8.1R3.3] JUNOS Packet Forwarding Engine Support (M20/M40) [8.1R3.3] JUNOS Online Documentation [8.1R3.3] JUNOS Routing Software Suite [8.1R3.3]
Once done, remember to remove your ftpuser and the actual ftp server itself.
I’ve been wanting to do more Juniper studies. Unfortunately at work we only have 2 Junipers on the BGP edge so we don’t exactly get to play with them.
I’ve known about olives on the PC for a while, but I wanted something better. I could not afford to buy a J2300 so I went he next best route – The 1U Olive
I’ve just got it working too!
root> show version Model: olive JUNOS Base OS boot [7.1R2.2] JUNOS Base OS Software Suite [7.1R2.2] JUNOS Kernel Software Suite [7.1R2.2] JUNOS Packet Forwarding Engine Support (M20/M40) [7.1R2.2] JUNOS Routing Software Suite [7.1R2.2] JUNOS Online Documentation [7.1R2.2] JUNOS Crypto Software Suite [7.1R2.2] root> show interfaces terse Interface Admin Link Proto Local Remote dsc up up fxp0 up down fxp1 up down fxp2 up down gre up up ipip up up lo0 up up lo0.16385 up up inet inet6 fe80::200:ff:fe00:1 lsi up up mtun up up pimd up up pime up up tap up up
I’ve got a couple of other IP330′s so I just need to replicate this. I’ll stick this in the lab. This essentially gives 4 me Juniper routers!
The next step is to upgrade the JUNOS version on this one and do a few more. Then put them together and see what happens.