{"id":73,"date":"2022-12-01T08:51:19","date_gmt":"2022-12-01T05:51:19","guid":{"rendered":"https:\/\/www.kmlsmv1.com\/?p=73"},"modified":"2023-03-05T22:13:58","modified_gmt":"2023-03-05T19:13:58","slug":"ipoe-dhcp","status":"publish","type":"post","link":"https:\/\/www.kmlsmv1.com\/?p=73","title":{"rendered":"ASR9K IPoE BNG and DHCP configuration."},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Here is the complete configuration guide for ASR9K IPOE BNG, including support for PPPoE.<\/p>\n\n\n\n<p><strong>dhcp ipv4<\/strong><br>profile ipoe proxy<br>allow-move<br>helper-address vrf LANDING 172.16.254.2 giaddr 0.0.0.0<br>broadcast-flag policy unicast-always<br>relay information option<br>relay information policy keep<br>relay information option allow-untrusted<br>relay information option remote-id enable<br>relay information option circuit-id enable<br>!<br>interface TenGigE0\/2\/0\/23 proxy profile ipoe<br>interface TenGigE0\/2\/0\/23.100 proxy profile ipoe<br>!<\/p>\n\n\n\n<p><strong>interface TenGigE0\/2\/0\/23.100<\/strong><br>vrf LANDING<br>ipv4 point-to-point<br>ipv4 unnumbered Loopback1111<br>arp learning disable<br>service-policy type control subscriber PPP-IPOE<br>pppoe enable bba-group PPPOE<br>ipsubscriber ipv4 l2-connected<br>initiator dhcp<br>!<br>encapsulation ambiguous dot1q 100 second-dot1q any<br>!<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-layout-1 wp-block-group-is-layout-flex\">\n<pre class=\"wp-block-preformatted\"><strong>policy-map type control subscriber PPP-IPOE<\/strong>\n event session-activate match-first\n  class type control subscriber PPP do-until-failure\n   10 authenticate aaa list PPPOE\n  ! \n ! \n event session-start match-first\n  class type control subscriber PPP do-all\n   10 activate dynamic-template PPP_TPL\n  ! \n  class type control subscriber IPOE do-until-failure\n   10 activate dynamic-template ipoe-profile\n  ! \n ! \n end-policy-map\n\n<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"> <strong>dynamic-template<\/strong>\n type ipsubscriber ipoe-profile\n  vrf LANDING\n  ipv4 unnumbered Loopback1111\n !\n\n<strong>class-map type control subscriber match-any IPOE<\/strong>\n match protocol dhcpv4 \n end-class-map<\/pre>\n\n\n\n<p><\/p>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>interface Loopback1111<\/strong><br>vrf LANDING<br>ipv4 address 10.155.63.254 255.255.192.0<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is the complete configuration guide for ASR9K IPOE BNG, including support for PPPoE. dhcp ipv4profile ipoe proxyallow-movehelper-address vrf LANDING 172.16.254.2 giaddr 0.0.0.0broadcast-flag policy unicast-alwaysrelay information optionrelay information policy keeprelay information option allow-untrustedrelay information option remote-id enablerelay information option circuit-id enable!interface TenGigE0\/2\/0\/23 proxy profile ipoeinterface TenGigE0\/2\/0\/23.100 proxy profile ipoe! interface TenGigE0\/2\/0\/23.100vrf LANDINGipv4 point-to-pointipv4 unnumbered Loopback1111arp &hellip; <a href=\"https:\/\/www.kmlsmv1.com\/?p=73\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ASR9K IPoE BNG and DHCP configuration.<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/73"}],"collection":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":4,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kmlsmv1.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}