• 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.

Help!!! Cấu hình DHCP Relay Agent trên Switch Lớp 3

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

  • Help!!! Cấu hình DHCP Relay Agent trên Switch Lớp 3

    Chào mọi người! mình có bài Lab sau mong được mọi người giúp đỡ,

    Mình có 1 máy chủ DHCP kết nối vào Switch lớp 3, mình muốn cấu hình sao cho máy chủ DHCP này cung cấp địa chỉ IP động cho các LAN trong mạng. Cụ thể là hình bên dưới đây. Đây là phần cấu hình của mình. Các bạn xem mình cấu hình sai hay thiếu ở đâu thì giúp mình vơi.

    Trân trọng!!
    Click image for larger version

Name:	dh.jpg
Views:	1
Size:	20.3 KB
ID:	208951





    Current configuration : 1701 bytes
    !
    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
    no switchport
    ip address 192.168.4.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface FastEthernet0/2
    switchport access vlan 10
    switchport trunk encapsulation dot1q
    switchport mode trunk
    !
    interface FastEthernet0/3
    switchport access vlan 20
    switchport trunk encapsulation dot1q
    switchport mode trunk
    !
    interface FastEthernet0/4
    switchport access vlan 30
    switchport trunk encapsulation dot1q
    switchport mode trunk
    !
    interface FastEthernet0/5
    !
    interface FastEthernet0/6
    !
    interface FastEthernet0/7
    !
    interface FastEthernet0/8
    !
    interface FastEthernet0/9
    !
    interface FastEthernet0/10
    !
    interface FastEthernet0/11
    !
    interface FastEthernet0/12
    !
    interface FastEthernet0/13
    !
    interface FastEthernet0/14
    !
    interface FastEthernet0/15
    !
    interface FastEthernet0/16
    !
    interface FastEthernet0/17
    !
    interface FastEthernet0/18
    !
    interface FastEthernet0/19
    !
    interface FastEthernet0/20
    !
    interface FastEthernet0/21
    !
    interface FastEthernet0/22
    !
    interface FastEthernet0/23
    !
    interface FastEthernet0/24
    !
    interface GigabitEthernet0/1
    !
    interface GigabitEthernet0/2
    !
    interface Vlan1
    no ip address
    shutdown
    !
    interface Vlan10
    ip address 192.168.1.1 255.255.255.0
    ip helper-address 192.168.4.1
    !
    interface Vlan20
    ip address 192.168.2.1 255.255.255.0
    ip helper-address 192.168.4.1
    !
    interface Vlan30
    ip address 192.168.3.1 255.255.255.0
    ip helper-address 192.168.4.1
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    !
    line aux 0
    !
    line vty 0 4
    login
    !
    !
    !
    end
Working...
X