Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Router - VyOS: Difference between revisions

Content deleted Content added
Nhumfrey (talk | contribs)
Added LAN configuration commands and NAT
Nhumfrey (talk | contribs)
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 control 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).
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 setup NAT, so that the private IPv4 addresses on the LAN interface can access the internet:
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 own details
* 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