Announcement

Collapse
No announcement yet.

สอบถามเรื่อง ethernet0 ของ cisco 887va ครับ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • สอบถามเรื่อง ethernet0 ของ cisco 887va ครับ

    คือตัว router ที่ผมดูไม่มี port ethernet0 เลยครับ แต่ใน CLI มีให้เซ็ต e0 พอเซ็ตแล้วก็ไม่รู้จะเสียบช่องไหนเพราะมีแต่ fa0 - 3
    คือปัญหาผมจะเซ็ต ip ให้ตัว router ให้เห็น ip
    ผมเอา router ต่อพ่วง switch ครับเลยไม่รู้จะต้องเซ็ตวิธีไหนจึงจะสามารถ ping ได้
    ขอบคุณมาก ๆ เลยครับ ^__^

  • #2
    รบกวน show run กับ show version ให้ผมดูหน่อยครับ

    Comment


    • #3
      นี่ครับ run และ config ผมแนบเป็น txt ครับ ปัญหาคือผมติดที่พอเอามาต่อพ่วง switch แล้วปิง IP ไม่เจอใน putty ก็ขึ้นว่า

      *Dec 24 0728.527: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0 VLAN1.
      *Dec 24 0728.527: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0 on VLAN1. Inconsistent port type.PVST+: restarted the forward delay timer for FastEthernet0

      ครับคือที่ผมเข้าใจว่าถ้าจะเช็ต ip ให้เซ็ตที่ vlan ใช่เปล่าครับแล้วเสียบแลนที่ช่องใดช่องหนึ่งของ interface fa หรือเปล่าครับหรือว่าต้องเซ็ตอะไรเพิ่มอีกเปล่าเพราะว่าถ้าผมเซ็ต ip ที่ interface fa แล้วมันขึนว่า
      IP address may not be configured on L2 links.
      Attached Files

      Comment


      • #4
        Originally posted by dylan2499 View Post
        นี่ครับ run และ config ผมแนบเป็น txt ครับ ปัญหาคือผมติดที่พอเอามาต่อพ่วง switch แล้วปิง IP ไม่เจอใน putty ก็ขึ้นว่า

        *Dec 24 0728.527: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0 VLAN1.
        *Dec 24 0728.527: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0 on VLAN1. Inconsistent port type.PVST+: restarted the forward delay timer for FastEthernet0

        ครับคือที่ผมเข้าใจว่าถ้าจะเช็ต ip ให้เซ็ตที่ vlan ใช่เปล่าครับแล้วเสียบแลนที่ช่องใดช่องหนึ่งของ interface fa หรือเปล่าครับหรือว่าต้องเซ็ตอะไรเพิ่มอีกเปล่าเพราะว่าถ้าผมเซ็ต ip ที่ interface fa แล้วมันขึนว่า
        IP address may not be configured on L2 links.
        ไฟล์ที่แนบมาผมเป็นมาแล้วเป็น NULL หมดเลยอะครับ ลอง Copy แล้วแปะไว้ในนี้ก็ได้ครับ

        Comment


        • #5
          cmc1#sh running-config
          Building configuration...

          Current configuration : 2710 bytes
          !
          ! Last configuration change at 0619 UTC Tue Dec 24 2013
          version 15.2
          no service pad
          service timestamps debug datetime msec
          service timestamps log datetime msec
          no service password-encryption
          !
          hostname cmc1
          !
          boot-start-marker
          boot-end-marker
          !
          !
          !
          no aaa new-model
          memory-size iomem 10
          !
          crypto pki trustpoint TP-self-signed-272180361
          enrollment selfsigned
          subject-name cn=IOS-Self-Signed-Certificate-272180361
          revocation-check none
          rsakeypair TP-self-signed-272180361
          !
          !
          crypto pki certificate chain TP-self-signed-272180361
          certificate self-signed 01
          30820229 30820192 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
          30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
          69666963 6174652D 32373231 38303336 31301E17 0D313331 32323430 35323131
          345A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
          532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3237 32313830
          33363130 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
          D49AE862 7A2B052B E07DDB2F 61EFEB71 11998D87 4BAF0400 7814B180 90922B6B
          6741ECC9 28993F93 CC091FEB 834EBD3B 510BFC50 E8E7FEC4 AAD7AAE7 1B5DAF4C
          F8C3FF09 8FFB7C9E 6BA71668 5758D164 F1DA65AE 32B21003 5472D0B1 CA99FF8F
          2EE4E6CC 92D75FFF 1CD46DEB CD1C4029 A8C5F020 8C7237A5 2AC175C7 63FC8711
          02030100 01A35330 51300F06 03551D13 0101FF04 05300301 01FF301F 0603551D
          23041830 168014F1 8D018E65 5E7B5D55 2364C1BA F66FE3D8 59EFF430 1D060355
          1D0E0416 0414F18D 018E655E 7B5D5523 64C1BAF6 6FE3D859 EFF4300D 06092A86
          4886F70D 01010505 00038181 007628F9 8A7B7655 0DDFFD59 50502E04 173FD490
          1988B319 80CE6FA3 E45957B1 0DFB41E4 E4FE68FB C806A9CC 1C4E5A82 BBC30E7E
          34D26AA9 C411B0C7 3F0837E9 AFFBF58B 0A4354E0 96DECEE3 F8F79815 86D31DFB
          0D111112 0A51923D 1E5B6FFC 3B12F830 65104853 5C7E6E05 01C63444 55EB9EBF
          2651B22B B8DB20C9 E2B670FD 99
          quit
          !
          !
          !
          !
          !
          !
          ip cef
          no ipv6 cef
          !
          !
          license udi pid CISCO887VA-K9 sn FGL174124EG
          !
          !
          username cmchome privilege 15 password 0 cctm44123
          !
          !
          !
          !
          !
          controller VDSL 0
          !
          !
          !
          !
          !
          !
          !
          !
          !
          !
          interface Ethernet0
          ip address 192.168.0.23 255.255.255.0
          !
          interface ATM0
          no ip address
          shutdown
          no atm ilmi-keepalive
          !
          interface FastEthernet0
          no ip address
          !
          interface FastEthernet1
          no ip address
          !
          interface FastEthernet2
          no ip address
          !
          interface FastEthernet3
          no ip address
          !
          interface Vlan1
          ip address 192.168.10.1 255.255.255.0
          !
          ip forward-protocol nd
          ip http server
          ip http authentication local
          ip http secure-server
          ip http timeout-policy idle 600 life 86400 requests 10000
          !
          !
          !
          !
          !
          line con 0
          no modem enable
          line aux 0
          line vty 0 4
          exec-timeout 40 0
          privilege level 15
          login local
          transport input telnet ssh
          !
          !
          end

          Comment


          • #6
            cmc1>sh version
            Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.2(4)M4, RELEASE SOFTWARE (fc2)
            Technical Support: http://www.cisco.com/techsupport
            Copyright (c) 1986-2013 by Cisco Systems, Inc.
            Compiled Thu 20-Jun-13 16:47 by prod_rel_team

            ROM: System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)

            cmc1 uptime is 1 hour, 5 minutes
            System returned to ROM by reload at 0656 UTC Tue Dec 24 2013
            System image file is "flash:c880data-universalk9-mz.152-4.M4.bin"
            Last reload type: Normal Reload
            Last reload reason: Reload Command



            This product contains cryptographic features and is subject to United
            States and local country laws governing import, export, transfer and
            use. Delivery of Cisco cryptographic products does not imply
            third-party authority to import, export, distribute or use encryption.
            Importers, exporters, distributors and users are responsible for
            compliance with U.S. and local country laws. By using this product you
            agree to comply with applicable laws and regulations. If you are unable
            to comply with U.S. and local laws, return this product immediately.

            A summary of U.S. laws governing Cisco cryptographic products may be found at:
            http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

            If you require further assistance please contact us by sending email to
            export@cisco.com.

            Cisco 887VA (MPC8300) processor (revision 1.0) with 236544K/25600K bytes of memory.
            Processor board ID FGL174124EG

            1 DSL controller
            1 Ethernet interface
            4 FastEthernet interfaces
            1 ATM interface
            1 Virtual Private Network (VPN) Module
            256K bytes of non-volatile configuration memory.
            125440K bytes of ATA CompactFlash (Read/Write)


            License Info:

            License UDI:

            -------------------------------------------------
            Device# PID SN
            -------------------------------------------------
            *0 CISCO887VA-K9 FGL174124EG



            License Information for 'c880-data'
            License Level: advsecurity Type: Permanent
            Next reboot license Level: advsecurity


            Configuration register is 0x2102

            Comment


            • #7
              อีกอย่างครับ router cisco 887VA สามารถใช้ IOS 877 ได้ด้วยเปล่าครับ
              ที่ผมอยากรู้เพราะว่าผมจะใช้โปรแกรม SDM แต่พอเข้าไปหน้า config แล้วมีหน้าจอบอกว่าโปรแกรม SDM ไม่สนับสนุน router รุ่นนี้ พอผมไปดู router ที่สนับสนุนโปรแกรม SDM มีรุ่น 877 ด้วย
              ขอบคุณมากเลยครับ ^_^

              Comment


              • #8
                ไม่ Config ที่ interface FastEthernet0 ล่ะครับ

                Comment


                • #9
                  Originally posted by darkkiller View Post
                  ไม่ Config ที่ interface FastEthernet0 ล่ะครับ
                  อย่างที่บอกครับเซ็ตแล้วมันขึ้นว่า IP address may not be configured on L2 links.

                  Comment


                  • #10
                    Router ตัวนี้ Port ไหนที่จะใช้เป็น Port WAN กับ LAN ครับ จะได้บอก Config ทีเดียวเลยแล้ว Internet ที่ใช้งานนั้นเป็นแบบไหน เชื่อมต่ออย่างไร

                    Comment


                    • #11
                      Originally posted by Westmere View Post
                      Router ตัวนี้ Port ไหนที่จะใช้เป็น Port WAN กับ LAN ครับ จะได้บอก Config ทีเดียวเลยแล้ว Internet ที่ใช้งานนั้นเป็นแบบไหน เชื่อมต่ออย่างไร
                      - fa0 เป็น WAN และ fa1 LAN ครับ (ผมกำหนดถูกเปล่าครับ)
                      - router ตัวนี้ผมจะใช้เป็น router VPN สำหรับ site งานต่าง ๆ
                      - internet เป็น truefixip ครับ จะต่อ router ผ่าน switch cisco 24 port ซึ่งตัว switch cisco นี้เอาไว้ต่อแลนอย่างเดียว ไม่ได้มีตั้งค่าอะไรเลยครับคือแค่ต่อ router นี้เข้าวงแลนเฉย ๆ

                      ขอบคุณมากเลยครับ

                      แล้วโปรแกรม SDM นี่ดีเปล่าครับพอดีจะใช้ตั้งค่าต่าง ๆ อีกด้วยเลยอยากจะเปิด GUI เลย

                      Comment


                      • #12
                        ถ้าเป็น ADSL Fix IP

                        #ip name-server 203.144.207.29 (ตั้งค่า DNS Server)
                        #ip name-server 203.144.207.49

                        #vpdn enable

                        #vpdn-group PPPoE
                        request-dialin
                        protocol pppoe
                        exit

                        #dialer-list 1 protocol ip permit

                        #interface Dialer1
                        description ADSL Fix IP
                        ip mtu 1492
                        encapsulation ppp
                        dialer pool 1
                        dialer-group 1
                        ppp pap sent-username <Username> password 7 <Password> (ถ้าไม่ต้องการเข้ารหัส Password ก็ password <password>)
                        ip nat outside
                        exit

                        #interface f0
                        description Connect to True Internet Fix IP
                        no ip address
                        duplex auto
                        speed auto
                        pppoe enable group global
                        pppoe-client dial-pool-number 1
                        exit

                        #interface f1
                        description Internal Network
                        ip address 192.168.0.0 255.255.255.0 (IP/Subnet นี้ขึ้นอยู่จะเลือกใช้ Network ไหน)
                        ip nat inside
                        exit

                        #no interface vlan 1

                        #ip route 0.0.0.0 0.0.0.0 x.x.x.x.x name Default_Route (ตรง x.x.x.x ใส่ IP ของ ISP Router (Next hop) ของ IP ที่ได้รับมา เช่น 110.0.0.0/30 Router ISP 110.0.0.1 Router คุณ 110.0.0.2 เป็นต้น)

                        #ip access-list extended Clients
                        permit ip x.x.x.x x.x.x.x any (Subnet จะต้องใส่เป็น Wildcard นะ)

                        #ip nat inside source list Clients interface Dialer1 overload
                        Last edited by Westmere; 25 Dec 2013, 15:31:18.

                        Comment


                        • #13
                          ใช้งานได้ไม่ได้รบกวนตอบด้วยนะครับ เพื่อเป็นการทวนความเข้าใจของผมอีกทีนึง

                          Comment


                          • #14
                            ตกลงทำได้ยังครับ

                            Comment

                            Working...
                            X