Q&A
Cisco841を使って、ルータの勉強をしている者です。
10.145.70.0/24
10.145.80.0/24
上記のネットワークがあり、それぞれVLAN70 VLAN80として切っています。
インターネットには「GigabitEthernet0/5」をONUに直結してDS-lite(Tunnel0)とPPPOE(Dialer1)を設定しています。
行いたいことは
10.145.70.0/24からはTunnel0を10.145.80.0/24からはDialer1を使ってインターネットに出たいのです。
どのような設定を行えばよろしいのでしょうか。
! ! Last configuration change at 11:42:48 JST Sat May 6 2017 ! NVRAM config last updated at 11:47:18 JST Sat May 6 2017 ! version 15.5 service timestamps debug datetime msec service timestamps log datetime msec localtime show-timezone year no service password-encryption ! hostname ch-cis01 ! boot-start-marker boot-end-marker ! ! logging buffered 4096 enable secret 5 $***** enable password j***** ! no aaa new-model ethernet lmi ce clock timezone JST 9 0 ! ! ! ! ! ip dhcp excluded-address 10.145.70.1 10.145.70.59 ip dhcp excluded-address 10.145.80.1 10.145.80.9 ! ip dhcp pool In-DHCP network 10.145.70.0 255.255.255.0 default-router 10.145.70.1 dns-server 208.67.222.222 208.67.220.220 ! ip dhcp pool srv-DHCP network 10.145.80.0 255.255.255.0 default-router 10.145.80.1 dns-server 208.67.222.222 208.67.220.220 ! ! ! no ip domain lookup ip domain name ***local ip name-server 8.8.8.8 ip inspect name CBAC tcp ip inspect name CBAC udp ip inspect name CBAC ftp ip cef ipv6 unicast-routing ipv6 cef ! parameter-map type inspect global log dropped-packets enable max-incomplete low 18000 max-incomplete high 20000 ! license udi pid C841M-4X-JSEC/K9 sn **** ! ! ! redundancy ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Tunnel0 description DS-Lite Tunnel ip address 192.0.0.2 255.255.255.252 ip flow ingress ip flow egress ip nat outside ip virtual-reassembly in load-interval 30 tunnel source GigabitEthernet0/5 tunnel mode ipv6 tunnel destination 2404:8E01::FEED:100 ! interface GigabitEthernet0/0 switchport access vlan 70 no ip address ! interface GigabitEthernet0/1 switchport access vlan 80 no ip address ! interface GigabitEthernet0/2 switchport access vlan 80 no ip address ! interface GigabitEthernet0/3 no ip address shutdown ! interface GigabitEthernet0/4 no ip address shutdown duplex auto speed auto ! interface GigabitEthernet0/5 no ip address ip nat outside ip virtual-reassembly in duplex auto speed auto ipv6 address autoconfig default ipv6 enable ipv6 dhcp client pd PREFIX pppoe enable group global pppoe-client dial-pool-number 1 ! interface Vlan1 no ip address shutdown ! interface Vlan70 ip address 10.145.70.1 255.255.255.0 ip flow ingress ip flow egress ip nat inside ip virtual-reassembly in ip tcp adjust-mss 1412 load-interval 30 ! interface Vlan80 ip address 10.145.80.1 255.255.255.0 ip nat inside ip virtual-reassembly in ! interface Dialer1 description INTERLINK GIP ***** ip address negotiated ip mtu 1454 ip nat outside ip virtual-reassembly in encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname ****@rb.il24.net ppp chap password 0 **** ! ip forward-protocol nd no ip http server no ip http secure-server ! ! ip nat inside source list 1 interface Tunnel0 overload ip nat inside source list 2 interface Dialer1 overload ip route 0.0.0.0 0.0.0.0 Tunnel0 ip route 0.0.0.0 0.0.0.0 Dialer1 ! logging trap debugging logging origin-id string ch-cis01 logging facility local5 logging host ****41.136 dialer-list 1 protocol ip permit ! ! access-list 1 permit 10.145.70.0 0.0.0.255 access-list 2 permit 10.145.80.0 0.0.0.255 ! ! line con 0 logging synchronous no modem enable line vty 0 4 password **** login transport input none ! scheduler allocate 20000 1000 ntp server ntp.nict.jp ! end
回答1件
あなたの回答
tips
プレビュー
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。