Announcement

Collapse
No announcement yet.

pingไม่ได้ packet tracer ข้องใจผมพลาดตรงใหน

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

  • pingไม่ได้ packet tracer ข้องใจผมพลาดตรงใหน

    โจทย์๋
    Vlan 100 มี 2 เครื่อง A B

    Vlan 200 มี 3 เครื่อง C D E

    vlan 300 มี 1 เครื่อง F

    ก็ ว่าง ของ ตาม แบบ แผ่น มี roundter กับ swith และ PC

    โดยกำหนด เครื่อง port ไว้ A f0/1 ตามลำดับ ถึง F f0/6
    และ round เป็น f0/12


    *rount
    #en
    #conf t
    #e 1/0
    #no sh
    #ex


    *switch
    #en
    #vlan database
    #vlan 100 name Group-A_B
    #vlan 200 name Group-C_D_E
    #vlan 300 name Group-F
    #ex
    #
    #
    #conf t
    #int f0/1
    #switchport mode access
    #switchport access vlan 100
    #ex
    #int f0/2
    #switchport mode access
    #switchport access vlan 100
    #ex
    #int f0/3
    #switchport mode access
    #switchport access vlan 200
    #ex
    #int f0/4
    #switchport mode access
    #switchport access vlan 200
    #ex
    #int f0/5
    #switchport mode access
    #switchport access vlan 200
    #ex
    #int f0/6
    #switchport mode access
    #switchport access vlan 300
    #ex
    #
    #
    #conf t
    #int vlan 1
    #ip add 192.168.0.1 255.255.255.0
    #no sh
    #ip default-gateway 192.168.0.1
    #ex
    #
    #
    #conf t
    #int f0/12
    #switchport mode trunk
    #switchport trunk allowde vlan 100-300
    #ex
    #
    #




    *Rount
    #en
    #conf t
    #int e1/0
    #int e1/0.100
    #encapsulation dot1q 100
    #ip add 192.168.100.1 255.255.255.0
    #no sh
    #ex
    #
    #int e1/0
    #int e1/0.200
    #encapsulation dot1q 200
    #ip add 192.168.200.1 255.255.255.0
    #no sh
    #ex
    #
    #int e1/0
    #int e1/0.300
    #encapsulation dot1q 300
    #ip add 192.168.300.1 255.255.255.0
    #no sh
    #ex
    #

    และก็ ใช่ ip ให้แค่ละ เครื่อง
    vlan 100
    A 192.168.100.2/24
    B 192.168.100.3/24

    vlan 200
    C 192.168.200.2/24
    D 192.168.200.3/24
    E 192.168.200.4/24

    vlan 300
    F 192.168.300.2/24

  • #2
    แบบ ว่า ping ข้าม Vlan ไม่ได้

    Comment


    • #3
      VLAN เยอะแยะเอาไปใช้งานอะไรครับเนี่ย

      Comment


      • #4
        Originally posted by Livingrooms View Post
        VLAN เยอะแยะเอาไปใช้งานอะไรครับเนี่ย
        เป็น วิ ชา lap ครับ

        Comment


        • #5
          เงียบ เหงา

          Comment


          • #6
            เคยเรียนเมื่อ 4 ปีที่แล้ว 55555555555 ตอนนี้ลืมไปหมดแล้ว



            ปล. ไม่ได้ช่วยอะไรเจ้าของกระทู้เลย กรรม- -a


            แต่ถ้าผมจำไม่ผิด มันต้อง ping ข้าม vlan ไม่ได้อยู่แล้วไม่ใช่หรอครับ
            เพราะยังไม่ได้routeเลย
            Last edited by wabmes; 19 Aug 2010, 20:54:49.

            Comment


            • #7

              Comment


              • #8
                มันping ข้าม vlan ไม่ได้นิครับ ตั้งค่าเอาไว้ก็เหมื่อนกับแยกวงกันไปแล้วน่ะครับ

                Comment


                • #9
                  Add Route ของแต่ละ Vlan ให้ route หากันได้สิครับ
                  Switch เซ็ต VLAN อย่างเดียวมันวิ่งหากันไม่ได้อยู่แล้วครับ ต้องหาตัว route ระหว่าง VLAN ด้วยครับ

                  Comment


                  • #10
                    ผมใช้โหมด trunk แล้วอะครับ มันก็น่าจะ ช้าม Vlan ได้ไม่ใช่หรอ

                    Comment


                    • #11
                      ต้องใช้ vlan1 กับ gateway คนละตัว ดิ เช่น คุณใช้ gateway 192.168.0.1
                      vlan 1 ต้อง 192.168.0.10
                      *rount
                      #en
                      #conf t
                      #int e 1/0
                      #no sh
                      #ex
                      Last edited by kaesoda; 20 Aug 2010, 09:51:29.

                      Comment


                      • #12
                        Originally posted by Professer View Post
                        โจทย์๋
                        Vlan 100 มี 2 เครื่อง A B

                        Vlan 200 มี 3 เครื่อง C D E

                        vlan 300 มี 1 เครื่อง F

                        ก็ ว่าง ของ ตาม แบบ แผ่น มี roundter กับ swith และ PC

                        โดยกำหนด เครื่อง port ไว้ A f0/1 ตามลำดับ ถึง F f0/6
                        และ round เป็น f0/12


                        *rount
                        #en
                        #conf t
                        #int e 1/0
                        #no sh
                        #ex


                        *switch
                        #en
                        #vlan database
                        #vlan 100 name Group-A_B
                        #vlan 200 name Group-C_D_E
                        #vlan 300 name Group-F
                        #ex
                        #
                        #
                        #conf t
                        #int f0/1
                        #switchport mode access
                        #switchport access vlan 100
                        #ex
                        #int f0/2
                        #switchport mode access
                        #switchport access vlan 100
                        #ex
                        #int f0/3
                        #switchport mode access
                        #switchport access vlan 200
                        #ex
                        #int f0/4
                        #switchport mode access
                        #switchport access vlan 200
                        #ex
                        #int f0/5
                        #switchport mode access
                        #switchport access vlan 200
                        #ex
                        #int f0/6
                        #switchport mode access
                        #switchport access vlan 300
                        #ex
                        #
                        #
                        #conf t
                        #int vlan 1
                        #ip add 192.168.0.10 255.255.255.0
                        #no sh
                        ex
                        #ip default-gateway 192.168.0.1
                        #ex
                        #
                        #
                        #conf t
                        #int f0/12
                        #switchport mode trunk
                        #switchport trunk allowde vlan 100-300
                        #ex
                        #
                        #




                        *Rount
                        #en
                        #conf t
                        #int e1/0
                        #int e1/0.1
                        #encapsulation dot1q 1
                        #ip add 192.168.0.10 255.255.255.0
                        #no sh
                        #ex
                        #
                        #int e1/0
                        #int e1/0.2
                        #encapsulation dot1q 100
                        #ip add 192.168.20.1 255.255.255.0
                        #no sh
                        #ex
                        #
                        #int e1/0
                        #int e1/0.3
                        #encapsulation dot1q 200
                        #ip add 192.168.30.1 255.255.255.0
                        #no sh
                        #ex
                        #
                        #int e1/0
                        #int e1/0.4
                        #encapsulation dot1q 300
                        #ip add 192.168.40.1 255.255.255.0
                        #no sh
                        #ex
                        Last edited by kaesoda; 20 Aug 2010, 10:03:17.

                        Comment


                        • #13
                          Originally posted by Professer View Post
                          ผมใช้โหมด trunk แล้วอะครับ มันก็น่าจะ ช้าม Vlan ได้ไม่ใช่หรอ
                          Trunk เป็นการเซ็ตให้ frame ของ VLAN วิ่งผ่าน Trunk Port ได้ครับ การเซ็ต Trunk ไม่ได้ทำให้ frame ของคนละ VLAN วิ่งหากันได้

                          ถ้าจะให้งวิ่งหากันได้ท่านต้องเซ็ตพวก SVI (ทำที่Switch) หรือ Sub Interface(ทำที่Router) แบบตัวอย่างที่ท่านข้างบนแก้ให้ดูครับ

                          แล้วปกติ VLAN1 ใน Switch เค้าไม่ค่อยใช้งานทั่วไปกันะครับ เพราะ default แล้วมันเป็น Management VLAN ใช้สำหรับติดต่อเข้ามาจัดการ Switch

                          Comment


                          • #14

                            ลองดูแถว Link Agregation และ Trunk port และมาดูส่วนของเกทเวย์อีกทีอย่างละเอียดเลย
                            Last edited by Livingrooms; 20 Aug 2010, 10:40:09.

                            Comment


                            • #15
                              เดียวผมจะลองดูครับ ขอบคุณทุกท่านมาก

                              เดียวมาแจ้งผลครับ

                              Comment

                              Working...
                              X