Last active
December 2, 2020 12:41
-
-
Save yui0/a8da4ce8e7eb89cb2e428a917858a3c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IPoE | |
# WAN | |
description lan2 WAN | |
ngn type lan2 ntt | |
ipv6 route default gateway dhcp lan2 | |
#ipv6 prefix 1 ra-prefix@lan2::/64 | |
ipv6 prefix 1 dhcp-prefix@lan2::/64 | |
ipv6 lan2 address dhcp | |
ipv6 lan2 dhcp service client | |
ipv6 lan2 prefix change log on | |
#ipv6 lan2 secure filter in 1010 1011 1012 2000 | |
#ipv6 lan2 secure filter out 3000 dynamic 100 101 102 103 104 105 108 109 | |
ipv6 lan2 mtu 1500 | |
ip lan2 address 192.168.1.1/24 | |
# LAN1 ipv6 | |
description lan1 LAN | |
#ipv6 lan1 address ra-prefix@lan2::1/64 | |
ipv6 lan1 address dhcp-prefix@lan2::1/64 | |
#ipv6 lan1 rtadv send 1 o_flag=on | |
ipv6 lan1 rtadv send 1 | |
ipv6 lan1 dhcp service server | |
ip lan1 address 192.168.0.1/24 | |
#ip lan1 secure filter in 100000 100001 100002 100003 100004 100005 100006 100007 100099 | |
# DNS | |
# Cloudflare DNS | |
#dns server 1.1.1.1 1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001 | |
# Google Public DNS | |
dns server 8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844 | |
dns server dhcp lan2 | |
dns domain . | |
dns service off | |
dns notice order dhcp server | |
# IPv4 | |
dhcp service server | |
dhcp server rfc2131 compliant except remain-silent | |
dhcp scope 1 192.168.0.10-192.168.0.100/24 | |
ip routing process fast | |
ip route default gateway tunnel 1 | |
ip filter source-route on | |
ip filter directed-broadcast on | |
# DS-Lite | |
tunnel select 1 | |
description tunnel DS-Lite | |
tunnel encapsulation ipip | |
# AFTR: gw.transix.jp (2404:8e00::feed:100 / 2404:8e01::feed:100) | |
# AFTR: dgw.xpass.jp (2001:f60:0:200::1:1) | |
tunnel endpoint address 2001:f60:0:200::1:1 | |
ip tunnel mtu 1460 | |
#ip tunnel secure filter in 201000 201001 201002 201003 201020 201021 201022 201023 201024 201025 201030 201032 | |
#ip tunnel secure filter out 201010 201011 201012 201013 201020 201021 201022 201023 201024 201025 201026 201027 201099 dynamic 201080 201081 201082 201083 201084 201085 201098 201099 | |
ip tunnel tcp mss limit auto | |
tunnel enable 1 | |
# etc | |
schedule at 1 */* 06:00 * ntpdate ntp3.jst.mfeed.ad.jp syslog | |
# show | |
#show config | |
show ipv6 address lan2 | |
show ipv6 address | |
show status ipv6 dhcp | |
show status dhcp | |
show status lan1 | |
show status lan2 | |
show log reverse | |
show status tunnel 1 | |
show status ngn | |
# ip addr show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment