Fujitsu Si-R ルータを使って IPv4 & IPv6で通信する設定（ひかり電話あり）

# Si-R G110B Config

あとで整理します。

IPv4 ; PPPoE & 固定IPアドレス割当
IPv6 ; ひかり電話あり DHCPv6-PD

192.168.0.0/24 ; 家庭内ネットワーク
10.0.0.0/24 ; 来客ゲスト用Wi-Fi開放ネットワーク（家庭内ネットワークには入れたくない）

```Si-R G110B(config)
password admin set *** encrypted
ether 1 1 vlan untag 1
ether 2 1 vlan tag 10,1000
ether 2 2 vlan tag 10,1000
ether 2 3 vlan tag 10,1000
ether 2 4 vlan untag 10
lan 0 ipv6 use on
lan 0 ipv6 address 0 auto
lan 0 ipv6 ra mode recv
lan 0 ipv6 filter 0 pass acl 1 any
lan 0 ipv6 filter 1 pass acl 2 any
lan 0 ipv6 filter 2 pass acl 3 any
lan 0 ipv6 filter default spi 5m
lan 0 ipv6 dhcp service client
lan 0 ipv6 dhcp client option na off
lan 0 ipv6 dhcp client option pd on
lan 0 vlan 1
lan 1 ip address 192.168.0.254/24 3
lan 1 ip dhcp service server
lan 1 ip dhcp info dns 192.168.0.254
lan 1 ip dhcp info address 192.168.0.101/24 63
lan 1 ip dhcp info time 1d
lan 1 ip dhcp info gateway 192.168.0.254
lan 1 ip dhcp info domain office.example
lan 1 ip rip use v1 v1 0 off
lan 1 ipv6 use on
lan 1 ipv6 address 0 dhcp@lan0::/64
lan 1 ipv6 ra mode send
lan 1 ipv6 ra flags 40
lan 1 ipv6 ra prefix 0 dhcp@lan0::/64 infinity 3d c0
lan 1 ipv6 filter 0 pass acl 2 any
lan 1 ipv6 dhcp service server
lan 1 ipv6 dhcp server info dns dhcp@lan0
lan 1 vlan 10
lan 2 ip address 10.0.0.254/24 3
lan 2 ip dhcp service server
lan 2 ip dhcp info dns 10.0.0.254
lan 2 ip dhcp info address 10.0.0.11/24 30
lan 2 ip dhcp info time 1d
lan 2 ip dhcp info gateway 10.0.0.254
lan 2 ip filter 0 pass 10.0.0.0/24 any 192.168.0.0/24 any 6 no any any any any
lan 2 ip filter 1 pass 192.168.0.0/24 any 10.0.0.0/24 any 1 yes any any any any
lan 2 ip filter 2 pass 10.0.0.0/24 any 192.168.0.0/24 any 1 yes any any 0 any
lan 2 ip filter 3 reject 10.0.0.0/24 any 192.168.0.0/24 any 1 yes any any any any
lan 2 ip filter 4 pass 192.168.0.0/24 any 10.0.0.0/24 any 6 yes any any any any
lan 2 ip filter 5 reject 10.0.0.0/24 any 192.168.0.0/24 any 6 yes any any any any
lan 2 ipv6 use on
lan 2 ipv6 address 0 dhcp@lan0:3::/64
lan 2 ipv6 ra mode send
lan 2 ipv6 ra flags 40
lan 2 ipv6 ra prefix 0 dhcp@lan0:3::/64 infinity 3d c0
lan 2 ipv6 dhcp server info dns dhcp@lan0
lan 2 vlan 1000
remote 0 name PPPOE
remote 0 mtu 1454
remote 0 ap 0 name PPPOE
remote 0 ap 0 datalink bind vlan 1
remote 0 ap 0 ppp auth send ACCOUNT@example.net *** encrypted
remote 0 ap 0 keep connect
remote 0 ppp ipcp vjcomp disable
remote 0 ip address local 192.0.2.1
remote 0 ip route 0 default 1 1
remote 0 ip nat mode multi any 1 5m
remote 0 ip nat static 0 192.0.2.1 any 192.0.2.1 any 1
remote 0 ip nat static 3 192.0.2.1 23 192.0.2.1 23 6
remote 0 ip nat static 4 192.168.0.12 3389 192.0.2.1 13389 6
remote 0 ip msschange 1414
upnp use on
acl 0 ip 198.51.100.0/29 any any any
acl 0 ipv6 any any 6 any
acl 1 ipv6 any any 17 any
acl 1 udp any 67
acl 2 ipv6 any any 58 any
acl 2 icmp any any
acl 3 ipv6 any any 17 any
acl 3 udp any 546
acl 10 ip 192.168.0.0/24 any any any
acl 99 ip any any any any
syslog facility 23
proxydns domain 0 any * any to 0
proxydns address 0 any to 0
host 0 name desktop
host 0 ip address 192.168.0.12
host 0 mac 00:00:5e:00:53:e8
resource system vlan 4089-4094
consoleinfo autologout 8h
telnetinfo autologout 5m
serverinfo telnet ipv6 off
serverinfo telnet filter 0 accept acl 0
serverinfo telnet filter 1 accept acl 10
serverinfo telnet filter 2 reject acl 99
serverinfo http ip off
serverinfo http ipv6 off
terminal pager enable
terminal charset SJIS
alias history "show logging command brief"
```