PPPoE 동적 프로파일 구성하기
동적 PPPoE 논리적 가입자 인터페이스(pp0)의 속성을 정의하는 PPPoE 가입자를 위한 기본 동적 프로필을 구성할 수 있습니다.
기본 PPPoE 동적 프로필을 구성하려면 다음을 수행합니다.
- 동적 프로파일의 이름을 지정합니다.
[edit] user@host# edit dynamic-profiles basic-pppoe-profile
- 동적 프로파일에서 논리적 인터페이스를 구성할
pp0것임을 지정합니다.[edit dynamic-profiles basic-pppoe-profile] user@host# edit interfaces pp0
- 인터페이스의 논리적 단위 번호를
pp0나타내기 위해 사전 정의된 변수로 을(를) 지정합니다$junos-interface-unit.$junos-interface-unit변수는 가입자가 로그인할 때 네트워크에서 제공하는 실제 장치 번호로 대체됩니다.[edit dynamic-profiles basic-pppoe-profile interfaces pp0] user@host# edit unit $junos-interface-unit
- 인터페이스에
pp0대한 PPPoE 특정 옵션을 구성합니다.- 라우터가
$junos-underlying-interface동적 PPPoE 논리적 인터페이스를 생성하는 기본 이더넷 인터페이스의 이름을 나타내는 사전 정의된 변수를 지정합니다.$junos-underlying-interface변수는 가입자가 로그인할 때 네트워크에서 제공하는 기본 인터페이스의 실제 이름으로 대체됩니다.[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options underlying-interface $junos-underlying-interface
- 라우터를 PPPoE 서버(원격 액세스 집선 장치라고도 함)로 구성합니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options server
- 라우터가
- 인터페이스를 위한
pp0PPP 인증 프로토콜을 구성합니다.동적 인터페이스의 경우 라우터는 단방향 인증만 지원합니다. 즉, 라우터가 항상 인증자 역할을 합니다. 동적 프로파일에서 PPP 인증을 구성할 때, 및 pap 명령문은 chap 추가 구성 옵션을 지원하지 않습니다.
CHAP 인증 구성 방법:
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options chap
PAP 인증 구성:
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options pap
- keepalive 간격을 수정하거나 라우터를 구성하여 keepalive 메시지 전송을 비활성화합니다.
Keepalive 간격을 수정하려면 다음을 수행합니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set keepalives interval 15
keepalive 메시지 전송을 비활성화하는 방법:
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set no-keepalives
- 인터페이스의 프로토콜 체계를
pp0구성합니다.- (IPv4) 또는
inet6(IPv6) 프로토콜 체계를inet구성할 것인지 지정합니다.[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# edit family inet
- 동적 PPPoE 논리적 인터페이스의 IPv4 또는 IPv6 주소를 지정합니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set address 6.6.6.7/32
- 프로토콜 체계에 대해 번호가 지정되지 않은 주소를 구성합니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set unnumbered-address lo0.0
- 동적 PPPoE 논리적 인터페이스에 적용할 입력 및 출력 서비스 세트를 지정합니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set service input service-set inputService_100 user@host# set service input post-service-filter postService_20 user@host# set service output service-set outputService_200
- 동적 PPPoE 논리적 인터페이스에 적용할 입력 및 출력 필터를 지정합니다.
필터가 처리되는 순서를 제어하기 위해 입력 필터, 출력 필터 또는 둘 다에 대한 우선 순위 값을 선택적으로 지정할 수 있습니다.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set filter input pppoe-input-filter user@host# set filter output pppoe-output-filter precedence 50
- (IPv4) 또는