Ciscoルーター経由でブラウザからヤフーサイトを見たい
CiscoルーターからヤフーにPingは行くのですが、CiscoルーターとPCをLANケーブルで接続した際、PCからはインターネット接続なしと出てPingはおろか、外部のネットワークに行けない 自分の設定し忘れなどがあると思うので sh run と トポロジを置いておきます。
ご教授お願いします。
要らない設定など、この設定がないなど教えて下さい、おねがいします。
よろしくおねがいします。
トポロジ
モデム ーーー 無線LANルーター ーーー Ciscoルーター ーーー PC の構成です アドレッシングテーブル 無線LANルーター = 192.168.0.1 Ciscoルーター G0/4 = 192.168.0.15 PC = G0/0 = 192.168.0.25
Ciscoルーターの設定です
R1#sh run Building configuration... Current configuration : 1523 bytes ! version 15.5 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! enable secret 5 ******************* ! no aaa new-model ethernet lmi ce ! ! ! ! ! ! ! ! ip domain name *****.com ip host ******** 192.168.0.15 ip name-server 192.168.0.1 ip cef no ipv6 cef ! ! license udi pid C841M-4X-JSEC/K9 sn FGL205124AG ! ! username ********** password 7 ******************** redundancy ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface GigabitEthernet0/0 no ip address ! interface GigabitEthernet0/1 no ip address ! interface GigabitEthernet0/2 no ip address ! interface GigabitEthernet0/3 no ip address ! interface GigabitEthernet0/4 ip address 192.168.0.15 255.255.255.0 ip nat outside ip virtual-reassembly in duplex auto speed 10 ! interface GigabitEthernet0/5 no ip address shutdown duplex auto speed 10 ! interface Vlan1 ip address 192.168.1.1 255.255.255.0 ip nat inside ip virtual-reassembly in ! ip default-gateway 192.168.0.1 ip forward-protocol nd no ip http server no ip http secure-server ! ! ip dns server ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/4 ip route 0.0.0.0 0.0.0.0 192.168.0.1 ip ssh version 2 ! ! ! ! banner motd ^C Welcome to the network world^C ! line con 0 password ********* logging synchronous login no modem enable line vty 0 4 logging synchronous login local transport input ssh ! scheduler allocate 20000 1000 ! end R1#
試したこと
DNS関連が関係してると思い、ip name-server 192.168.0.1 と設定しました。
補足情報(FW/ツールのバージョンなど)
C841M-4X-JSEC/K9

回答2件
あなたの回答
tips
プレビュー