Skip to content

Commit

Permalink
Merge pull request #791 from elulcao/elulcao/add-nokia-g240wb-router-…
Browse files Browse the repository at this point in the history
…guide

Add router nokia-g240wb
  • Loading branch information
yubiuser authored Jul 2, 2023
2 parents d40d38c + 1cda001 commit fcf54e0
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 0 deletions.
Binary file added docs/images/routers/nokia-g240wb-lan-ipv4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routers/nokia-g240wb-lan-ipv6-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routers/nokia-g240wb-lan-ipv6-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/routers/nokia-g240wb-prefix-ipv6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions docs/routers/nokia-G240WB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
This guide was developed using a `Nokia G-240W-B` router (software version 3FE47969AGCA21). It should work for other models in the `G` series.

!!! note
There is no single way to do it right. Choose the one best suited for you.
This guide is `IPv4` and `IPv6` compatible, but it is not mandatory to use `IPv6`.

### Prerequisites

- The `Raspberry Pi` is using static IP address, `IPv4` and `IPv6` as well. This can be a fixed DHCP assignment or configured statically on the Pi itself.
- The `ISP` provides `IPv6` address, prefix and gateway to the router.

### Grab your IPv4 and IPv6 address from your Raspberry Pi

SSH into your `Raspberry Pi`. A quick `ifconfig eth0` (substituting `eth0` for the applicable network interface) will get you the address information:

```bash
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2806:103e:1f:2ace:22a1:de1d:e1bf:30dc prefixlen 64 scopeid0x0<global>
inet6 2806:103e:1f:2ace:7d21:7337:7817:2fb2 prefixlen 128 scopeid0x0<global>
inet6 fe80::e6f3:5490:577e:4fed prefixlen 64 scopeid 0x20<link>
inet6 fe80::192:168:1:10 prefixlen 64 scopeid 0x20<link>
ether e4:5f:01:cd:8e:e1 txqueuelen 1000 (Ethernet)
RX packets 4342 bytes 704995 (688.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3376 bytes 661707 (646.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
```

The relevant lines here are `inet 192.168.1.10 netmask 255.255.255.0` and `inet6 fe80::192:168:1:10 prefixlen 64`

Worth to mention that the `IPv6` address that starts with `fe80` is the `link-local` address and it is used in this guide, the other addresses that start with `2806` are the global addresses and they are assigned by the router.

### IPv4 configuration

Go to **Network** --> **LAN**

1. Set `IPv4 address` to the default gateway address, `192.168.1.1` or `192.168.1.254` depending on your specific router configuration.
2. Set `Subnet mask` to `255.255.255.0`
3. Set `Primary DNS` to `192.168.1.10` (the `IPv4 eth0` address)
4. Set `DHCP Enabled` (update IP address range if needed)
5. Click `Save`

All client devices connected to the network should now automatically be configured with a single `192.168.1.x` address for the `DNS` resolution.

![Screenshot of LAN IPV4](../images/routers/nokia-g240wb-lan-ipv4.png)

### IPv6 configuration

Go to **Status** --> **WAN Status IPv6**

Take note of the following `Link Local IPv6 address` (e.g. `fe80::1`)
In this case the prefix is used to create the static addresses for the `eth0` interface. Other dispositives will use the same prefix to create their addresses automatically.

![Screenshot of LAN IPV6](../images/routers/nokia-g240wb-prefix-ipv6.png)

Go to **Network** --> **LAN_IPv6**

**IPv6 LAN Host Configuration**

1. Set `DNS Server` to `static`
2. Set `Preferred DNS` to `fe80::192:168:1:10` (the `IPv6 eth0` address)
3. Set `LAN Prefix` to `1_LAN_Prefix` (the `ISP` provided prefix)
4. Set `Enable` checkbox
5. Click `Save/Apply`

![Screenshot of LAN IPV6 1](../images/routers/nokia-g240wb-lan-ipv6-1.png)

**DHCPv6 Server**

1. Set `Enable` checkbox (this means using ULA addresses)
2. Click `Save/Apply`

**DHCPv6 Server Pool**

1. Set `LAN Prefix` to `1_LAN_Prefix`
2. Click `Save/Apply`

![Screenshot of LAN IPV6 1](../images/routers/nokia-g240wb-lan-ipv6-2.png)

**RouterAdvertisement**

1. Set `Enable` checkbox
2. Set `LAN Prefix` to `1_LAN_Prefix` (the `ISP` provided prefix)
3. Set `Whether the address info through DHCP` checkbox
4. Set `Whether other info obtained through DHCP` checkbox
5. Click `Save/Apply`

All client devices connected to the network should now automatically be configured with `fe80::xxxx:xxxx:xxxx:xxxx` router address.

![Screenshot of LAN IPV6 1](../images/routers/nokia-g240wb-lan-ipv6-3.png)
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ nav:
- 'ASUS router': routers/asus.md
- 'Fritz!Box (EN)': routers/fritzbox.md
- 'Fritz!Box (DE)': routers/fritzbox-de.md
- 'Nokia G-240W-B': routers/nokia-G240WB.md
- 'TP-Link': routers/tp-link.md
- 'Ubiquiti USG': routers/ubiquiti-usg.md
- 'FAQ': main/faq.md
Expand Down

0 comments on commit fcf54e0

Please sign in to comment.