mirror of
				https://github.com/vyos/vyos-documentation.git
				synced 2025-10-26 08:41:46 +01:00 
			
		
		
		
	ipv6: improve PPPoE and RA examples
(cherry picked from commit 62b36a812a922ad6fc17f636bba029e463f35d49)
This commit is contained in:
		
							parent
							
								
									762dba6581
								
							
						
					
					
						commit
						4263ff840a
					
				| @ -380,9 +380,13 @@ IPv6 DHCPv6-PD Example | |||||||
| 
 | 
 | ||||||
| .. stop_vyoslinter | .. stop_vyoslinter | ||||||
| 
 | 
 | ||||||
| The following configuration will assign a /64 prefix out of a /56 delegation | The following configuration will setup a PPPoE session source from eth1 and | ||||||
| to eth0. The IPv6 address assigned to eth0 will be <prefix>::ffff/64. | assign a /64 prefix out of a /56 delegation (requested from the ISP) to eth0. | ||||||
| If you do not know the prefix size delegated to you, start with sla-len 0. | The IPv6 address assigned to eth0 will be <prefix>::1/64. If you do not know | ||||||
|  | the prefix size delegated to you, start with sla-len 0. | ||||||
|  | 
 | ||||||
|  | In addition we setup IPv6 :abbr:`RA (Router Advertisements)` to make the | ||||||
|  | prefix known on the eth0 link. | ||||||
| 
 | 
 | ||||||
| .. start_vyoslinter | .. start_vyoslinter | ||||||
| 
 | 
 | ||||||
| @ -395,3 +399,5 @@ If you do not know the prefix size delegated to you, start with sla-len 0. | |||||||
|   set interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56' |   set interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56' | ||||||
|   set interfaces pppoe pppoe0 ipv6 address autoconf |   set interfaces pppoe pppoe0 ipv6 address autoconf | ||||||
|   set interfaces pppoe pppoe0 source-interface eth1 |   set interfaces pppoe pppoe0 source-interface eth1 | ||||||
|  | 
 | ||||||
|  |   set service router-advert interface eth0 prefix ::/64 | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ Supported interface types: | |||||||
| Enabling Advertisments | Enabling Advertisments | ||||||
| ~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
| 
 | 
 | ||||||
| .. cfgcmd:: set service router-advert interface <interface> .... | .. cfgcmd:: set service router-advert interface <interface> ... | ||||||
| 
 | 
 | ||||||
| .. stop_vyoslinter | .. stop_vyoslinter | ||||||
| 
 | 
 | ||||||
| @ -52,7 +52,11 @@ Enabling Advertisments | |||||||
| Advertising a Prefix | Advertising a Prefix | ||||||
| '''''''''''''''''''' | '''''''''''''''''''' | ||||||
| 
 | 
 | ||||||
| .. cfgcmd:: set service router-advert interface <interface> prefix 2001:DB8::/32 | .. cfgcmd:: set service router-advert interface <interface> prefix <prefix/mask> | ||||||
|  | 
 | ||||||
|  |    .. note:: You can also opt for using `::/64` as prefix for your :abbr:`RAs (Router | ||||||
|  |     Advertisements)`. This will take the IPv6 GUA prefix assigned to the interface, | ||||||
|  |     which comes in handy when using DHCPv6-PD. | ||||||
| 
 | 
 | ||||||
| .. stop_vyoslinter | .. stop_vyoslinter | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user