Migrating Security Gateways from Checkpoint R65 to R71.10 on HP/Intel Hardware
March 24, 2011
Posted by on
Having completed this process several times I thought other people might find the experience useful.
Having built a new smartcenter on R71.10, this is the process i used to migrate R65 gateways to R71.10 with a minimum of hassle. All the gateways run SPLAT on late-model HPDL360 G5’s with intel/hp nics, all hardware IS on the HCL but this doesnt seem to make a blind bit of difference and we’ve had issues with duplex retention and negotiation since moving to R65 on kernel 2.6, R71.10 on 2.6 hasnt fixed this either and I’ve yet to look at R75.
This process reuses the same R65 firewall object in the policy and upgrades it to R71.10, i’ve not had any issues with doing this as new certificates are issued and it reduces the amount of configuration needed. I’m sure it’s still better practice to totally recreate it mind.
- Log onto smartcenter
- Reset sic for your device
- Change platform to proper security blade license – i use a separate management server so no need for the management products. Don’t be tempted to tick any new feature boxes as they’ll mess with the license if you’ve upgraded it.
- Push policy
- Install R71.10 on hardware,+ any other products you’ve paid for.
- Determine interfaces and label so on paper, there is no rhyme or reason to the names or order it assigns them, totally different from R65 and actually, if you install it twice on the same hardware it’ll still randomise them and they won’t match up. All I do is unplug all of them, plug one in scan in initial install when it’s looking for a management interface, note down it’s interface, label cable, plug another, scan, note down interface ad infinitum. You can also do this from the shell once it’s installed, unplug all the nics and get it to flash lights from each port but seems like more aggro than it’s worth, besides you need to id them before you can even get into the shell.
- Step through the install, giving the device it its own internal mgt/lan address as default gateway (remove this from webgui later)
- Log on through web browser, define interfaces according to step 6.
- Define routes, deleting default internal route and creating external default route
- Use google or provider dns (google is 126.96.36.199, 188.8.131.52) EXTERNAL NTP for setting time, here i use pool.ntp.org as my primary and set to sync every 60 seconds, Leave the rest on default pretty much,
- Allow it to build
- Reboot again
- Log back onto SmartCentre
- Establish SIC
- Go to topology, Get interfaces (Don’t get interfaces with topology it’ll create a bunch of new objects which will break your existing fw object in the policy).
- Check interfaces look right and match up with step 6 and 9 and make sure internal/external/networks behind is set correctly
- Push policy – you should be online. Now comes all the stupid hoop jumping getting the duplex to work both initially and after a reboot on HP/intel nics and others i suspect. oh, btw, thanks for fixing this Checkpoint, it’s only been a much reported issue for three years with half the hardware on the HCL. Essentially, if you set the duplex from expert mode, it will be forgotten on restart, and dont even think about setting it in the gui – the gui duplex switches are about as much use as a chocolate fireguard.
- Log onto fw through ssh or console
- Enter expert mode
- Run mii-tool and review interface list, if duplex look good, try to change them to manually set and see if you get reconnected (obviously give them 60 seconds to re-establish), if not leave them on auto. It seems that still with this new version of the splat if you manually define it sometimes the other side will not accept despite defaulting to 100/full or 10/full when on auto….. nice. Either way this is the most important thing to get right in the process as it will much up performance for everything if you have any interfaces flapping around on half on one side.
- To manually set a duplex from expert shell: Ethtool –s eth1 (or whatever) speed 100 duplex full autoneg off
- To reset an interface back to auto: ethtool –s eth1 (or whatever) autoneg on
- To review interfaces status: mii-tool
- To review an interface for collisions after changing: Ethtool –S eth1 (or whatever)
- To make the duplex persistent across reboots you need to enter the correct commands in /etc/rc.d/rc.local, see below for my rc.local. to get here from expert shell type: cd /etc/rc.c, then vi rc.local, if you haven’t used vi before look at: http://acms.ucsd.edu/info/vi_tutorial.shtml
Test the manual duplex setting with a reboot and then go back in and look at mii-tool, i don’t use the web interface for this purpose as the web interface tells LIES it has no idea what the duplex/speed settings actually are and when you change the settings it’s like the buttons on one of those kiddies helicopter rides at the supermarket, you can press them all day and it won’t make a damn bit of difference, nothing happens.
License the fw from the user centre:
- Use software blades (R70 and above)
- Download and install from smart update
- As soon as you install the license you’ll probably lose connectivity, this is because a big red light just came on on someones desk in Tel Aviv notifying Checkpoint that you were using more cores/features than you have paid for, the only way to restore connectivity is a reboot so the Kernel can slam the door on all that processing power we don’t get for only 35000usd per year (excluding hardware).
Et Voila! Brand new shiny R71.10 firewall, inspection throughput is massively improved in my situation, we will only notice this on the UTM 270 in a branch office, as despite being only 12 months old it’s beating heart is a 600mhz Celeron from ten years ago, still cost 4500usd though. As the other sites are on xeons and openservers we’re not even getting close to the performance ceiling if a single core (200mbps real world with sensible scanning and sd according to www.cpug.org).