ip route 0.0.0.0 0.0.0.0 pppoe 1 proxydns mode v4 interface lan 1 ip address 192.0.2.1 255.255.255.248 exit interface pppoe 1 ip address 192.0.2.1 pppoe server internet pppoe account ********@***.***.ne.jp ****** pppoe type lan exit end
設定内容 | 画面表示例 |
---|---|
特権ユーザモードへの移行 パスワードの入力 設定情報の初期化 設定モードの変更 設定入力 設定保存 装置再起動 |
Router>enable Enter password: Router# Router#clear working.cfg Router# Router#configure terminal Router(config)#ip route 0.0.0.0 0.0.0.0 pppoe 1 Router(config)#proxydns mode v4 Router(config)#interface lan 1 Router(config-if lan 1)# ip address 192.0.2.1 255.255.255.248 Router(config-if lan 1)#exit Router(config)#interface pppoe 1 Router(config-if pppoe 1)# ip address 192.0.2.1 Router(config-if pppoe 1)# pppoe server internet Router(config-if pppoe 1)# pppoe account ********@***.***.ne.jp ****** Router(config-if pppoe 1)# pppoe type lan Router(config-if pppoe 1)#exit Router(config)# Router(config)#end Router# Router#save SIDE-A % saving working-config % finished saving Router#reset Going to reset with SIDE-A.frm and SIDE-A Boot-back not scheduled for next boot. Next rebooting firmware SIDE-A.frm is fine. Are you OK to cold start?(y/n)y |
簡易DNS機能によるリクエストのキャッシュ内容の確認をします。
確認内容 | 画面表示例 |
---|---|
リクエストのキャッシュ情報を表示する ホスト名を確認 IPv4 アドレスを確認 |
Router#show proxydns-cache <proxydns cache table> proxydns v4 on dns server: PPPoE1: 198.51.100.1 :: :: :: :: :: proxy : 0.0.0.0,0.0.0.0 :: :: dns cache time: 86400sec dns cache data: (1) hosts time: 0sec Question: 1 host1.example.com A,AAAA IN Answer: 1 host1.example.com A,AAAA IN 60 IPv4 Address: 203.0.113.1 |