A Step Toward AWS VPN: Setting Up Cisco 1812J Internet Connection

A Step Toward AWS VPN: Setting Up Cisco 1812J Internet Connection
  • Learn how to set up an internet connection using Cisco 1812J with clear instructions.
  • Start with basic network configuration to prepare for an AWS VPN environment.
  • Detailed steps make it beginner-friendly and easy to follow.

Background

Previously, we initialized the Cisco 1812J in the following article.
Without a manual, we proceeded with trial and error and managed to complete the initialization.
For those familiar with the process, it might be a quick task, but if you're interested, feel free to check it out.

However, just initializing the router does not immediately enable connection to AWS and VPN.
To connect to AWS and VPN, the router must first have internet access.
Our company uses NURO Hikari as the internet provider, so we need to ensure that the Cisco 1812J can connect to the internet through the NURO Hikari ONU.

To start, we connected the Cisco 1812J to the NURO Hikari ONU using a LAN cable.
As expected, this alone was not sufficient to access the internet.
After some research, we finally got it working, so we have documented the steps below.

Method

Building on the previous setup, the new configuration is as follows.
Additionally, the fiber optic connection to the ONU has already been established, and the ONU itself is connected to the internet.

  • Laptop (Ubuntu Desktop 22.04 LTS)
  • VPN Router (Cisco 1812J)
  • USB RJ45 Console Cable
  • LAN Cable
  • NSD-G1000T (NURO Hikari ONU)

Checking the ONU

We will configure the ONU based on the following manual:

ONU 一体型サービスルーター取扱説明書 | SONY

  1. First, connect your laptop to the ONU using a LAN cable and access http://192.168.1.1.
    Log in with the username and the password found on the device label.
ONU 一体型サービスルーター取扱説明書 | SONY
  1. Select [Information Display].
Image
  1. In the [LAN] section under [Information Display], you can check the ONU’s IP address.
    In [DHCP Lease], you can see the currently assigned IP addresses.
    For this setup, we will assign 192.168.1.254, which is not currently in use, to the Cisco 1812J.
Image

Connecting Cisco 1812J and Configuring the Router

  1. First, identify the USB port of the serial cable and connect it to the Cisco 1812J.
  1. In User Mode (indicated by > at the prompt), only basic monitoring commands can be executed
    To configure the router, switch to Privileged Mode (indicated by # at the prompt) and then enter Global Configuration Mode (indicated by (config)#).
    This allows us to configure various router settings.
  1. Configuring the Loopback Interface
    The loopback interface is a virtual interface that can only communicate with the device itself (Cisco 1812J).
    We assign it the IP address 192.168.192.168.
  1. Configuring the Interface Connected to the ONU
    We assign the IP address 192.168.1.254 to FastEthernet 0, which is connected to the ONU.
    This interface will be used to send traffic to the ONU and access the internet.
  1. Configuring the Routing Information
    As a test, we will attempt to reach Google DNS (8.8.8.8) via the internet.
    To do this, we configure a route to forward traffic destined for 8.8.8.8 to the ONU (192.168.1.1).
  1. However, the route will not take effect immediately.
  1. We must execute the ip routing command to apply the routing settings.
  1. Testing Network Connectivity
    Use the ping command to check connectivity to 8.8.8.8.
    If we receive !!!!!, it means that five ICMP requests were sent and all five received responses, confirming that the router can reach an internet IP address.

Now, Cisco 1812J can finally access the internet!
Next time, we will connect it to AWS and VPN—finally returning to AWS-related tasks.
I hope this guide will be helpful to others.

Copied title and URL