! ! Century Systems NXR-G240 Series ver 9.3.4 (build 4/15:56 30 06 2017) ! DIP-SW : 1:off 2:off 3:off 4:off ! hostname NXR_B telnet-server enable http-server enable ! ! system power-management mode balance ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! ! ppp account username test2@example.jp password test2pass ! ! l2tp udp source-port 40001 ! l2tpv3 hostname nxrb l2tpv3 router-id 172.20.20.1 l2tpv3 path-mtu-discovery enable l2tpv3 fast-forwarding enable ! ! ! ! l2tpv3 tunnel 1 description NXR_A tunnel address 10.10.10.1 tunnel hostname nxra tunnel router-id 172.20.10.1 ! l2tpv3 xconnect 1 description NXR_A tunnel 1 xconnect ethernet 0 vid 10 xconnect end-id 1 retry-interval 30 ip tcp adjust-mss auto ! l2tpv3 xconnect 2 description NXR_A tunnel 1 xconnect ethernet 0 vid 20 xconnect end-id 2 retry-interval 30 ip tcp adjust-mss auto ! interface ppp 0 ip address negotiated ip tcp adjust-mss auto ip access-group in ppp0_in ip masquerade ip spi-filter ppp username test2@example.jp ! interface ethernet 0 ip address 192.168.0.254/24 switchport 1 default-vlan-id 10 no switchport 1 vlan 1 switchport 1 vlan 10 untagged switchport 2 default-vlan-id 10 no switchport 2 vlan 1 switchport 2 vlan 10 untagged switchport 3 default-vlan-id 20 no switchport 3 vlan 1 switchport 3 vlan 20 untagged switchport 4 default-vlan-id 20 no switchport 4 vlan 1 switchport 4 vlan 20 untagged switchport router link trunk switchport router vlan 10 tagged switchport router vlan 20 tagged vlan-database vid 1 vlan-database vid 10 vlan-database vid 20 ! interface ethernet 0 vid 10 ip address 192.168.10.2/24 ! interface ethernet 0 vid 20 ip address 192.168.20.2/24 ! interface ethernet 1 no ip address pppoe-client ppp 0 ! interface ethernet 2 no ip address ! dns service enable ! ! syslog local enable exit-syslog ! ! ! ! ! ! ! ! ! ! ip route 0.0.0.0/0 ppp 0 ! ! ! ip access-list ppp0_in permit 10.10.10.1 any 115 ! ! ! end