設定例 [Juniper]

デュアルスタック接続 (fe-0/0/3)
#現在使える環境に無いので、コンフィグ設定の感覚的なものだけ
#JUNOSもちょっと古いかも
version 5.6R1.3; system { host-name Juniper; time-zone Asia/Tokyo; root-authentication { encrypted-password "xxxxxxxxxxxxxxxxxxxxxx"; # SECRET-DATA } name-server { 192.168.1.1; } login { user test { uid 2000; class superuser; authentication { encrypted-password "xxxxxxxxxxxxxxxxxxxxxx"; # SECRET-DATA } } } services { telnet; } syslog { user * { any emergency; } file messages { any notice; authorization info; } console { any any; } } ntp { server 192.168.1.1; } } interfaces { fe-0/0/1 { speed 10m; link-mode half-duplex; unit 0 { family inet { address 192.168.134.1/30; } } } fe-0/0/3 { speed 10m; link-mode half-duplex; unit 0 { family inet { address 192.168.1.5/29; } family inet6 { address 2001:2a8:1:1::/64 { eui-64; } } } } fxp0 { unit 0 { family inet { address 192.168.9.143/24; } } } lo0 { unit 0 { family inet { address 10.100.100.1/32; } } } } routing-options { rib inet6.0 { static { route ::/0 { next-hop 2001:2a8:1:1:230:80ff:fe63:fdc0; retain; } } } static { route 0.0.0.0/0 next-hop 192.168.1.1; } }

もどる