본문 바로가기
카테고리 없음

SRX(Juniper) 인터페이스 설정

by Cat Tool 2017. 5. 11.
반응형

1. 인터페이스 설정


1)  Static IP 설정

set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24


2) 유동 IP 설정


set interfaces ge-0/0/0 unit 0 family inet dhcp


*상태확인 : show system services dhcp client 



3) PPPoE 설정

 - 모뎀과 같은 고객의 공용 장비를 통해 하나의 이더넷을 이용하는 여러 사용자들을 원격지에 잇는 사이트에 연결하기 위한 규격


set interfaces ge-0/0/0 unit 0 encapsulation ppp-over-ether

set interfaces pp0 unit 0 ppp-options pap access-profile cdsl local-name xxx local-password xxx passive

set interfaces pp0 unit 0 pppoe-options underlying-interface ge-0/0/0.0 auto-reconnect 1 client idle-timeouot 0

set interfaces pp0 unit 0 family inet engotiate-address mtu 1492



2. 라우팅 

1) Static Routing 설정

set routing-options static route 0.0.0.0/0 next-hop 10.10.10.1



3. L2 모드

1) 트래픽 인터페이스 설정

set interfaces ge-0/0/0 unit 0 family bridge interface-mode access vlan-id 10

set interfaces ge-0/0/1 unit 0 family bridge interface-mode access vlan-id 10



4.Vlan 설정

1) vlan 설정

set vlans trust vlan-id 10 : vlan id 설정

set vlans trust l3-interface vlan.0 : vlan 과 L3인터페이스 바인딩

set interfaces vlan unit 0 family inet address 192.168.1.1/24 : L3 인터페이스 IP 설정

set interfaces interfaces-range vlan1-trust member fe-0/0/2...fe-0/0/5

set interfaces interface-range vlan1-trust unit 0 family ethernet-switching vlan members trust

set security zone security-zone trust interfaces vlan.0






반응형