Posts

Ubiquiti Edgerouter IPv6 (Zen Internet UK) plus Tayga NAT64 configuration

Nearly 23 years after starting a new job managing IPv6 development at Cisco Systems, I've finally ended up with an ISP here in the UK that actually supports IPv6. So I thought I'd better turn it on. Zen Fibre still uses PPPoE, and they give you a static /64 via SLAAC and a static /48 that's allocated via DHCPv6-PD.  Although the prefixes are static, it appears that you have to use PD to make a prefix request, in order for routing for the whole /48 block to be enabled in your direction.   The configuration I ended up with is as follows. I disable use of the ISP's DNS server as I've got my own local server with ad-blocking. The firewall setup isn't shown, but blocks all incoming traffic, allows ICMPv6, established sessions and DHCPv6.  A caveat about using the Edgerouter's PD implementation is that the "service slaac" clause auto-generates a basic radvd configuration for that interface. However, this then gets overwritten if you explicitly configure

Time Electronics 9814 Programmable Voltage Calibrator

Image
I left school having just turned 17 after my 'A' levels in 1980, needing to fill a year before going to University, and ended up working at Time Electronics in Tonbridge.   The company made electronic calibration lab instruments, and I worked there for a year before University, and then in most vacations subsequently until I started my first post-graduation job at DEC in 1984. More reminiscences about this in a future post perhaps. The biggest project I was involved with was a new range of programmable instrumentation, with remote operation via IEEE-488/GPIB and local front panel controls. This range included voltage and current sources, a programmable resistance, multi-way switch, and screwdriver *(1).  Later on, a multi-function calibrator was produced, combining several functions in one unit. Since I retired from actual paid employment a few years ago, I've been slowly collecting working versions of things I worked on during my career.  For example, using simh, I can run

Ubiquiti Edgerouter ER-X Flash issues (free space, hangs, firmware upgrades)

  The ER-X is a very cheap 5 port router, with a lot of enterprise-level software features. It's almost too cheap, because it doesn't really have enough Flash memory, and certainly with earlier samples, the Flash itself was rather unreliable. For a start, there isn't enough Flash space to store three images, so when you want to upgrade the firmware, you always need to delete any old backup version that's still installed to make enough free space ("delete system image" CLI command). The firmware upgrade process ("add system image") itself can be rather hit&miss on devices that suffer from unreliable Flash, requiring multiple attempts to succeed. The symptom I found is an apparent hang at the "Copying Image" stage, with a crash and reboot after a few minutes. There are many reports on the Internet of ER-X having random hangs with various software versions, in particular there's a symptom where IP forwarding seems to work normally, but

DECnet-VAX Phase V P.S.I. configuration in open_simh

The addition of HDLC framing support to the DUP11/DPV11 devices in open_simh extends the number of networking products can be used under VMS in the simulator. The most obvious product to demonstrate is VAX P.S.I., which provides X.25 connectivity.  This example uses P.S.I. in its simplest possible mode, with two systems connected back to back, one configured to act as a DCE (X.25 is asymmetric).  P.S.I. is shipped as part of DECnet-Plus, so if you chose not to install it originally, re-run "PRODUCT INSTALL" for DECnet-Plus, and answer yes to the question about installing P.S.I. The rest of your configuration will remain unchanged. A valid license for "P.S.I." is needed to get started.   If you're feeling confident, you can just run @sys$manager:psi$configure and go through the configurator, to produce your own startup scripts. To avoid needing to run the configurator, and just use the example scripts below, do the following while logged in as SYSTEM: $ set def

DECnet-VAX Phase V WAN connectivity in open-simh using an HDLC datalink

  DNA Phase V introduced HDLC as a supported WAN datalink for use with DECnet.  HDLC framing offers efficiency gains in terms of bits transmitted compared to DDCMP, especially with short packets.  The default frame size was larger, and a 32 bit FCS was optionally supported for improved error detection. Current versions of open-simh, as of this blog post, support HDLC framing on the DUP11 and DPV11 devices. Read the previous post about installing and configuring DECnet-plus to get started.  Then, rather than configuring a DDCMP datalink, you simply configure an HDLC datalink instead. Unfortunately, the VMS DUP11/DPV11 driver has more bugs that affect HDLC operation when used with open-simh, so some additional patches are needed. The following is a superset of the previous patches required for DPV11 DDCMP and those required for HDLC, so will give a driver that works for both: $ patch sys$loadable_images:sedriver.exe /absolute repl/inst 3f25 'MOVB (R7),B^07(R0)' exit 'NOP&

DECnet-VAX Phase V WAN connectivity with simh

Installing VMS and DECnet-Plus HP's VMS Hobbyist program used to make the VMS 7.3 distribution CD available as an ISO image file. While there is no longer an official hobbyist program, I would imagine that the CD image is findable if you look hard enough. Once in possession of an image of the VAXVMS073 CD, you can install it using your simh configuration of choice, which must have a Qbus or Unibus.  There are plenty of examples out there to help with VMS installation, but if starting from scratch, you boot from the CD; use standalone backup to expand saveset B onto your normal boot medium, then boot as normal and go through the installation dialogue.  During the installation you should choose to install DECnet-Plus (aka Phase V). Here's an example:  https://raymii.org/s/blog/OpenVMS_7.3_install_log_with_simh_vax_on_Ubuntu_16.04.html To make the system fully useful, you'll need a valid license loaded for at least VAX-VMS and DVNETEND (endnode) or DVNETRTG (router).  Once aga

EdgeRouter configuration example for a Hurricane Electric IPv6 tunnel

  EdgeRouter configuration example for a Hurricane Electric IPv6 tunnel Introduction Hurricane Electric provide an IPv6 Tunnel Broker service, allowing a connection to the IPv6 internet across the IPv4 internet backbone.  Generally you would only want to use this if your own ISP does not provide native IPv6 connectivity. https://tunnelbroker.net/ From HE’s Tunnel Broker configuration site, when you create your tunnel, you will be provided with a few different IP addresses that you need to use: The HE destination IPv4 address to use for tunnel encapsulation ( Server IPv4 Address ). The internal address for your side of the IPv6-in-IPv4 tunnel.  This is allocated out of a /64 subnet,  ending in ::2, with ::1 being the address at the Hurricane Electric end of the tunnel ( Client and Server IPv6 addresses ) A /64 prefix that they will route towards your tunnel. You would use this for your internal network, assuming you only need a single subnet behind our router ( Routed /64 ). Optionally,