Framed-Route [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:bras_bng:bras_l2_options:framed_route:start [2023/10/13 14:08] – ↷ Links adapted because of a move operation elena.krasnobryzhen:dpi:bras_bng:bras_l2_options:framed_route:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Framed-Route ====== 
-{{indexmenu_n>5}} 
  
-Stingray Service Gateway with L2 BRAS/BNG supports ''Framed-Route'' attribute in ''Access-Accept'' response for small (up to /24) subnets. The attribute format is the string "subnet gateway": 
-<code bash> 
-   # Canonical format according to RFC 2865 p.5.22 - subnet, gateway and other metrics 
-   Framed-Route:="192.168.1.0/24 192.168.1.1 1 2 -1 3 400" 
- 
-   # Only subnet and gateway can be specified 
-   Framed-Route:="192.168.1.0/24 192.168.1.1" 
- 
-   # If the gateway = 0.0.0.0, then Framed-IP-Address is considered a gateway 
-   Framed-Route:="192.168.1.0/24 0.0.0.0" 
-</code> 
-You can set no more than 16 attributes ''Framed-Route'' in ''Access-Accept'' 
- 
-All IP-addresses of the specified subnet will be routed through the specified gateway address. This means that gateway IP-address has to be recognized by Stingray Service Gateway - either by authorization ([[en:dpi:bras_bng:bras_l2_vlan:bras_l2_vlan_dhcp:start|DHCP]], [[en:dpi:bras_bng:bras_l2_vlan:bras_l2_vlan_arp_proxy:bras_l2_vlan_arp_auth|ARP]], [[en:dpi:bras_bng:bras_pppoe:start|PPPoE]]), or by setting L2-properties of gateway [[en:dpi:bras_bng:cli:bras_l2_vlan_ctl:start|manually]]. Also, the gateway IP address must be allocated to the multi-bind subscriber (when authorizing a gateway, the [[en:dpi:bras_bng:radius_integration:radius_auth_server_integration:radius_auth_response:start#vasexperts-multi-ip-user|VasExperts-Multi-IP-User]]=1 attribute must be returned). 
- 
-SSG saves the routes in the UDR. There are CLI-commands [[en:dpi:bras_bng:cli:framed_route|framed route]] for management. 
- 
-===== Framed-IPv6-Route ===== 
-''Framed-IPv6-Route'' attribute, which sets routing of IPv6-subnet through specified gateway, is processed like IPv4 ''Framed-Route''. Only small subnets are supported (up to /56, or it is better to say up to [[en:dpi:dpi_components:platform:dpi_ipv6:start|ipv6_subnetwork]] - 8): 
- 
-<code bash> 
-   # Canonical format according to RFC 3162 p.2.5 - subnet, gateway and other metrics 
-   Framed-IPv6-Route:="2000:0:0:106::/60 2000::107:a00:20ff:fe99:a998 1" 
- 
-   # Only subnet and gateway can be specified 
-   Framed-IPv6-Route:="2000:0:0:106::/56 2000::107:a00:20ff:fe99:a998" 
- 
-   # If the gateway = ::, then Framed-IPv6-Address or Framed-IPv6-Prefix is considered a gateway 
-   Framed-Route:="2000:0:0:106::/56 ::" 
-</code> 
- 
-===== Accounting ===== 
-Counters for a subnet will be transmitted in total in one gateway accounting session for that subnet. For example, for such a task 
-<code bash> 
-   Framed-Route:="192.168.1.0/24 192.168.1.1" 
-</code> 
-total subnet traffic ''192.168.1.0/24'' will be taken into consideration in the accounting-session for the gateway ''192.168.1.1''.