Router - VyOS: Difference between revisions
Appearance
Content deleted Content added
Added LAN configuration commands and NAT |
m Grammer fixes |
||
| Line 1: | Line 1: | ||
[https://www.vyos.net/ VyOS] is an Open Source router operating system built on top of Debian Linux. |
[https://www.vyos.net/ VyOS] is an Open Source router operating system built on top of Debian Linux. |
||
Rather than having to configure lots of different software packages, everything is |
Rather than having to configure lots of different software packages, everything is controlled through a single configuration file and it uses a command-line based configuration interface, similar to Juniper's Junos OS. It is based on Vyatta (as is Ubiquiti's EdgeOS). |
||
Documentation for VyOS is available here: https://vyos.readthedocs.io/en/latest/ |
Documentation for VyOS is available here: https://vyos.readthedocs.io/en/latest/ |
||
| Line 28: | Line 28: | ||
This section describes how to configure the LAN interface (eth0) with an IP address and advertise addresses using SLAAC and DHCP. |
This section describes how to configure the LAN interface (eth0) with an IP address and advertise addresses using SLAAC and DHCP. |
||
First configure addresses on the interface. |
First, configure addresses on the interface. |
||
We are going to use the first /64 subnet of your IPv6 allocation for the LAN subnet. |
We are going to use the first /64 subnet of your IPv6 allocation for the LAN subnet. |
||
<code>xxxx</code> needs to be replaced with your AAISP IPv6 allocation. |
<code>xxxx</code> needs to be replaced with your AAISP IPv6 allocation. |
||
| Line 82: | Line 82: | ||
Finally |
Finally, set up NAT, so that the private IPv4 addresses on the LAN interface can access the internet: |
||
<pre> |
<pre> |
||
| Line 97: | Line 97: | ||
* The second network interface (eth1) is connected to a VDSL modem for PPPoE |
* The second network interface (eth1) is connected to a VDSL modem for PPPoE |
||
* IPv4 NAT is configured for LAN devices to access the Internet |
* IPv4 NAT is configured for LAN devices to access the Internet |
||
* Passwords (***) and placeholders (xxxx) need to be replaced with your |
* Passwords (***) and placeholders (xxxx) need to be replaced with your details |
||
* No firewall is configured in this example |
* No firewall is configured in this example |
||