Router - VyOS: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
Added configuration commands for PPPoE |
||
| Line 30: | Line 30: | ||
== Configuring PPPoE == |
== Configuring PPPoE == |
||
This configures PPPoE on the WAN interface (eth1). |
|||
TBC |
|||
* Replace the <code>user-id</code> and <code>password</code> with your AAISP username and password |
|||
* Note that IPv6 has to be explicitly enabled on the PPPoE interface |
|||
* Unlike IPv4, routing for IPv6 isn't enabled automatically when the interface comes up. I had to add a default static route for IPv6. |
|||
<pre> |
|||
set interface ethernet eth1 description "WAN" |
|||
set interface ethernet eth1 pppoe 0 user-id mxxxx@a.1 |
|||
set interface ethernet eth1 pppoe 0 password xxxx |
|||
set interface ethernet eth1 pppoe 0 mtu 1492 |
|||
set interface ethernet eth1 pppoe 0 default-route auto |
|||
set interface ethernet eth1 pppoe 0 name-server auto |
|||
set interface ethernet eth1 pppoe 0 enable-ipv6 |
|||
set interface ethernet eth1 pppoe 0 ipv6 address autoconf |
|||
set protocols static interface-route6 ::/0 next-hop-interface pppoe0 |
|||
</pre> |
|||
== Example Configuration == |
== Example Configuration == |
||