• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Định tuyến trên switch layer 3

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

  • Định tuyến trên switch layer 3

    Chào các bạn,
    Mình đã cấu hình vlan cho switch layre 3 và thực hiện lệnh ip routing nhưng ko thể ping đc giữa các vlan với nhau, các bạn giúp mình xem mình đã cấu hình đúng chưa nhé. cám ơn

    Code:
    mediafire.com/?h4hauihs94ld54b
    Code:
    version 12.2
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname Switch
    !
    !
    !
    !
    !
    ip routing
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    spanning-tree mode pvst
    !
    !
    !
    !
    interface FastEthernet0/1
    !
    interface FastEthernet0/2
    !
    interface FastEthernet0/3
    !
    interface FastEthernet0/4
    !
    interface FastEthernet0/5
     switchport access vlan 2
     switchport mode access
    !
    interface FastEthernet0/6
     switchport access vlan 2
     switchport mode access
    !
    interface FastEthernet0/7
     switchport access vlan 2
     switchport mode access
    !
    interface FastEthernet0/8
     switchport access vlan 2
     switchport mode access
    !
    interface FastEthernet0/9
     switchport access vlan 2
     switchport mode access
    !
    interface FastEthernet0/10
     switchport access vlan 3
     switchport mode access
    !
    interface FastEthernet0/11
     switchport access vlan 3
     switchport mode access
    !
    interface FastEthernet0/12
     switchport access vlan 3
     switchport mode access
    !
    interface FastEthernet0/13
     switchport access vlan 3
     switchport mode access
    !
    interface FastEthernet0/14
     switchport access vlan 3
     switchport mode access
    !
    interface FastEthernet0/15
     switchport access vlan 4
     switchport mode access
    !
    interface FastEthernet0/16
     switchport access vlan 4
     switchport mode access
    !
    interface FastEthernet0/17
     switchport access vlan 4
     switchport mode access
    !
    interface FastEthernet0/18
     switchport access vlan 4
     switchport mode access
    !
    interface FastEthernet0/19
     switchport access vlan 4
     switchport mode access
    !
    interface FastEthernet0/20
     switchport access vlan 5
     switchport mode access
    !
    interface FastEthernet0/21
     switchport access vlan 5
     switchport mode access
    !
    interface FastEthernet0/22
     switchport access vlan 5
     switchport mode access
    !
    interface FastEthernet0/23
     switchport access vlan 5
     switchport mode access
    !
    interface FastEthernet0/24
    !
    interface GigabitEthernet0/1
    !
    interface GigabitEthernet0/2
    !
    interface Vlan1
     no ip address
     shutdown
    !
    interface Vlan2
     ip address 192.168.2.1 255.255.255.0
    !
    interface Vlan3
     ip address 192.168.3.1 255.255.255.0
    !
    interface Vlan4
     ip address 192.168.4.1 255.255.255.0
    !
    interface Vlan5
     ip address 192.168.5.1 255.255.255.0
    !
    router rip
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    !
    line aux 0
    !
    line vty 0 4
     login
    !
    !
    !
    end
    Click image for larger version

Name:	lap.jpg
Views:	1
Size:	48.0 KB
ID:	209077
    Attached Files

  • #2
    có ai giúp mình với :(

    Comment


    • #3
      mình nghĩ cấu hình đúng mà, trên PC bạn trỏ gateway về IP của Interface Vlan tương ứng rồi thử ping Gateway, Ping IP của các Interface Vlan khác xem tới ko, rồi sau đó Ping Pc nằm trong Vlan khác.
      Theo lối dẫn-Ngẫng nhìn thầy-Đi theo thầy-Nhìn thấu thầy-và Trở thành thầy.

      Comment


      • #4
        Originally posted by hunterlove_113 View Post
        mình nghĩ cấu hình đúng mà, trên PC bạn trỏ gateway về IP của Interface Vlan tương ứng rồi thử ping Gateway, Ping IP của các Interface Vlan khác xem tới ko, rồi sau đó Ping Pc nằm trong Vlan khác.
        Oke, cám ơn bạn. Mình làm đc rồi

        Comment


        • #5
          Do chưa cấu hình Gateway cho các PC à bạn?

          Comment


          • #6
            Originally posted by dongxuanhuy View Post
            Do chưa cấu hình Gateway cho các PC à bạn?
            Cám ơn các bạn, mình làm đc rồi. Nếu bây giờ mình thêm 1 con server để cấp phát IP thì cấu hình ntn. Mong các bạn giúp đỡ

            Comment

            Working...
            X