PPPでIPアドレスはどのように設定するのでしょうか?

このQ&Aのポイント
  • PPP設定手順とIPアドレスの設定方法についてまとめます
  • シスコのルータでのPPP設定手順を紹介し、IPアドレスの設定方法について解説します
  • CCNAのテキストにはPPPの設定でIPアドレスを設定する方法が記述されていませんが、ここでは手順を説明します
回答を見る
  • ベストアンサー

PPPでIPアドレスはどのように設定するのでしょうか?

シスコのルータでシリアル回線にPPPの設定をする手順はどのように なるでしょうか? 以下のような感じで、CCNAのテキストを見てもPPPの設定でIPアドレスを設定している記述が見当たらないのですが。 Router(config)#hostname Center Center(config)#username Remote password cisco Center(config)#interface Serial 0/0 Center(config-if)#shutdown Center(config-if)#encapsulation ppp Center(config-if)#ppp authentication chap Center(config-if)#no shutdown Center(config-if)#end

質問者が選んだベストアンサー

  • ベストアンサー
  • koonell
  • ベストアンサー率63% (53/83)
回答No.1

こんにちは。 Router(config)#hostname Center Center(config)#username Remote password cisco Center(config)#interface Serial 0/0 Center(config-if)#encapsulation ppp Center(config-if)#ppp authentication chap Center(config-if)#ip address 192.168.1.1 255.255.255.0 Center(config-if)#no shutdown Center(config-if)#end でいいと思います。 以下のURLを参考にしてみてください。 http://atnetwork.info/ccna2/ppp4.html

milkldap
質問者

お礼

ありがとうございます。^^ 普通に設定するものなんですね。

関連するQ&A

  • PPPの設定ではインターフェイスにIPアドレスは設定しないのでしょうか?

    CCNAの問題の回答の選択しに以下のようなものがありました。 RouterA(config)#interface serial 0/0 RouterA(config-if)#ip address 192.168.1.1 255.255.255.0 RouterA(config-if)#encapsulation ppp RouterA(config-if)#authentication chap これはどこか文法的に間違っているでしょうか?

  • CiscoルータのIPアドレス設定について

    Ciscoルータのセットアップをしようとしています。(Cisco-1712) 現在、FastEthernet0にIP:192.168.1.10を設定し、FastEthernet1の方に IP:192.168.2.10を設定しようとしています。 以下のようにコマンドを入力すると、 router1(config)#interface FastEthernet 1 router1(config-if)#ip address 192.168.2.10 255.255.255.0 以下のようなメッセージが表示されて、設定が出来ません。 % IP addresses may not be configured on L2 links. 色々と調査しながら、試しているのですが解決できません。 アドバイス頂けないでしょうか。 よろしくお願いします。

  • RIPの設定がわかりません(><)

    下記の問題がわかりません。 「IPアドレスは192.168.1.0/24を、ルーティングプロトコルはRIPを使用するものとする。」とあるのに、 255.255.255.192や255.255.255.252を使用しているのが??です。 すべて答えなのですが、なぜこの答えになるのか教えて頂きたいです。 宜しくお願い致します(><) ---------------------------------------- 2台のルータを使用して図のようなネットワークを構築したい。ルータ2ではインタフェースのアドレス設定とルーティングプロトコルの設定が完了している。次に、ルータ1に設定を行いたいのだが、下記のうちどのコマンドを使用すれば良いか。なお、IPアドレスは192.168.1.0/24を、ルーティングプロトコルはRIPを使用するものとする。(3つ選択) ○Router1(config)#router rip Router1(config-router)#version 2 Router1(config-router)#network 192.168.1.0 ○Router1(config)#interface ethernet 0 Router1(config-if)#ip address 192.168.1.65 255.255.255.192 Router1(config-if)#no shutdown ○Router1(config)#interface serial 0 Router1(config-if)#ip address 192.168.1.6 255.255.255.252 Router1(config-if)#no shutdown Router1(config-if)#clock rate 64000

  • Ciscoルータ(1712)のIPアドレス設定について

    上記ルータのセットアップをしようとしています。 現在の設定状況は以下のとおりです。 FastEthernet1に対してIPアドレスを設定しようとしていますが、 うまく設定できません。設定方法は間違えていないと思いますが・・ いろいろ調べているところですがが、なかなか解決できません。 解決方法を教えてください。 よろしくお願いします。 router1#configure Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. router1(config)#interface FastEthernet 1 router1(config-if)#ip address 192.168.2.1 255.255.255.0 % IP addresses may not be configured on L2 links. router1(config-if)# ---現在のshow conf--- interface BRI0 no ip address no ip route-cache shutdown no cdp enable ! interface FastEthernet0 ip address 192.168.1.1 255.255.255.0 no ip route-cache speed auto half-duplex no cdp enable ! interface FastEthernet1 no cdp enable ! interface FastEthernet2 shutdown no cdp enable ! interface FastEthernet3 shutdown no cdp enable ! interface FastEthernet4 shutdown no cdp enable ! interface Vlan1 description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$ no ip address no ip route-cache ip tcp adjust-mss 1452 shutdown ! ip classless ip http server ip http authentication local ip http secure-server ip http timeout-policy idle 5 life 86400 requests 10000

  • Cisco813の専用線接続について

    こんにちは。Cisco813ルータを専用線で接続して通信をしようと思っています。 構成的には以下のような感じです。 Cisco 813 IOS Version : 12.2 192.168.0.0/24       専用線(64k)       192.168.100.0/24  [サーバ]-------(RT1)―――――――(RT2)-------[ホスト]           .254                .254 現在、以下の構成で設定しようと思っているのですが、ちょっと自信がありません。 よろしければご教授頂ければと思っています。 サーバ側ルータ: hostname RT1 username RT2 password 0 XXXXXX isdn switch-type ntt isdn leased-line BRI0 interface Ethernet0 ip address 192.168.0.254 255.255.255.0 interface BRI0 no ip address interface BRI0:1 encapsulation ppp peer default ip address pool CISCO1 no fair-queue ppp authentication chap interface BRI0:2 no ip address shutdown no fair-queue ip local pool CISCO1 192.168.0.253 ip classless ip route 0.0.0.0 0.0.0.0 BRI0:1 no ip http server ホスト側ルータ: hostname RT2 username RT1 password 0 XXXXXX isdn switch-type ntt isdn leased-line BRI0 interface Ethernet0 ip address 192.168.100.254 255.255.255.0 ip nat inside interface BRI0 no ip address interface BRI0:1 ip unnumbered Ethernet0 ip nat outside encapsulation ppp no fair-queue ppp authentication chap interface BRI0:2 no ip address no fair-queue ip classless ip route 0.0.0.0 0.0.0.0 BRI0:1 no ip http server

  • シスコのルータについて。 CISCO

    シスコのルータについて勉強しています! バーチャルラボとかっていうのを使って、 ホスト1と2600ciscoルータのF0/0につなぎ ホスト2と同じルータのF0/1につなぎました。 これから、en とやって、config terminal とかやってping 試験を実施したいのですが、どうやったらいいか教えてください。 まだコマンドを覚え切れてないので、できればHost1からHost2までPingが通るように設定したいです! どなたか教えてください。 また、IPアドレスとサブネットマスクのアドレスもまだよくわからない初心者ですので、教えてくれるとうれしいです。 自分では、 host1 を192.168.1.1 . subnet 255.255.255.0 <--どうして教科書はsubnetの部分の最後の部分を0にしたのか不明ですが。。 まず、 en にして 次にconfig terminal を入力しました Router(config)#interface fastEthernet 0/0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown Router(config-if)# これでいいのでしょうか?? これは、ルータとPC1の区間の線がファーストイーサネットに認識したといういみでしょうか??>_< もしも仮にそうなら、ホスト1を認識するには、どのように入力していけばよいですか?? あと、なぜ、サブネットの部分の最後は0でいいのですか??これは三つ目までネットワークIDで四つ目のところが 0だと、ホストが0という意味にはなりませんか?? あと、最後のNo shutdownはなぜ必要なのですか?? よろしくおねがいします!!最終的にHost1からルータのF0/0を通って、F0/1のポートから、Host2までPingが届くように完成させたいです。。。

  • cisco1812 PPPoE接続

    cisco1812のインターネット接続設定を行っていますがうまくいきません。 【構成】 [PC]---[cisco1812]---[インターネット] 【切り分け状況】   ・ルータからgoogleのipアドレスまでpingが通るが、PCからは通らない ・PCとルータでpingが通る ・show intでLAN側ポートもWAN側ポートも問題なくUPになっている どうしてつながPCからgoogleのipアドレスまでpingが通らないのでしょうか? 【コンフィグ】 hostname 1812J-A ! ip subnet-zero ! ip cef ! interface FastEthernet0 no ip address duplex auto speed auto pppoe enable pppoe-client dial-pool-number 1 ! interface FastEthernet3 ! interface Vlan1 ip address 192.168.0.254 255.255.255.0 ip nat inside ip virtual-reassembly ip tcp adjust-mss 1414 ! interface Dialer1 ip address negotiated ip mtu 1454 ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname ************* ppp chap password 0 ************* ! ip classless ip route 0.0.0.0 0.0.0.0 Dialer1 ! ip nat inside source list 1 interface Dialer1 overload ! access-list 1 permit 192.168.0.0 0.0.0.255 dialer-list 1 protocol ip permit !

  • windowsでsyslogを受取る

    CiscoルータのsyslogをwindowsのPCで受け取りたいのですが、 Ciscoルータ側、windowsPC側でどういう設定をすればよいでしょうか? 【ルータ側】 Router(config)# logging [IPアドレス] Router(config)# logging source-interface f0/0 Router(config)# logging facility local0 【windowsPC側】 ? ご存知の方がおられましたら、教えてください。

  • IX2015のCATVインターネット接続方法

    このたび、私ネットワークのルーター構築の勉強のため挑戦のために まったくの初心者で中古でIX1015(ver.8)を購入しました。 自宅のネット環境はCATVインターネットのJCOMです 設定手順通りにしたんですがどうも外部に繋がらないです・・。 状況は ・web作動でIX2015にアクセスは可能(http 機能の有効化にさせて確認しました) ・IEで色んなサイトに行こうとすると、Internet Explorer ではこのページは表示できません。と表示されます interface FastEthernet0/0.0は内部です(主にPCなどです) interface FastEthernet0/1.0は外部設定です(WAN側です) アカウントはすべてAdministrator 権限です。 Router# enable-config Router(config)# hostname my-router my-router(config)# proxy-dns ip enable my-router(config)# ip dhcp profile catv my-router(config-dhcp-catv)# dns-server 192.168.1.1 my-router(config-dhcp-catv)# exit my-router(config)# ip dhcp enable my-router(config)# interface FastEthernet0/0.0 my-router(config-FastEthernet0/0.0)# ip address 192.168.1.1/24 my-router(config-FastEthernet0/0.0)# ip dhcp binding catv my-router(config-FastEthernet0/0.0)# no shutdown my-router(config-FastEthernet0/0.0)# interface FastEthernet0/1.0 my-router(config-FastEthernet0/1.0)# ip address dhcp receive-default my-router(config-FastEthernet0/1.0)# ip napt enable my-router(config-FastEthernet0/1.0)# no shutdown まだ、他に設定しなければならないんでしょうか? どうかご教授をお願いいたします。

  • Cisco 861 PPPoE接続設定

    Cisco 861ルータでPPPoE接続設定をしていますが、ISPへ接続自体は可能ですが、通信が出来ません。 ターミナルから設定をして、ISPへ接続して、IPアドレスは取得しますが、Ping自体通りません。ルーティングがおかしいのかと思うのですがマニュアル記載の方法では問題ないとなっています。 以下コンフィグです。どこに問題があるのでしょう? 非常にこまっています。よろしくお願いします Router#show run Building configuration... Current configuration : 3321 bytes ! ! Last configuration change at 10:42:52 PCTime Sun Aug 16 2009 by router ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! logging message-counter syslog enable secret 5 **** enable password ***** ! no aaa new-model clock timezone PCTime 9 ! crypto pki trustpoint TP-self-signed-1602674877 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-1602674877 revocation-check none rsakeypair TP-self-signed-1602674877 ! ! crypto pki certificate chain TP-self-signed-1602674877 certificate self-signed 01 quit ip source-route no ip routing ! no ip cef ip name-server 202.234.232.6 ip name-server 221.113.139.250 ! archive log config hidekeys ! interface FastEthernet0 ! interface FastEthernet1 shutdown ! interface FastEthernet2 shutdown ! interface FastEthernet3 shutdown ! interface FastEthernet4 description $ES_WAN$ no ip address no ip route-cache duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1 ! interface Vlan1 ip address 192.168.2.1 255.255.255.0 no ip route-cache ip tcp adjust-mss 1412 ! interface Dialer0 ip address negotiated ip mtu 1452 ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname ***** ppp chap password 0 ***** ! ip forward-protocol nd ip http server ip http secure-server ! ip nat inside source list 1 interface Dialer0 overload ! access-list 1 permit 0.0.0.0 255.255.255.0 dialer-list 1 protocol ip permit ! control-plane ! ! line con 0 no modem enable line aux 0 line vty 0 4 password **** login ! scheduler max-task-time 5000 end