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

hướng dẫn sử dụng ip helper-address, DHCP để cấp địa chỉ cho mạng Vlan

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

  • hướng dẫn sử dụng ip helper-address, DHCP để cấp địa chỉ cho mạng Vlan

    chào các anh chị trên diễn đàn Vnpro!
    nhờ các anh chị giúp em cấu hình DHCP cho con server trong mô hình sau sao cho nó cấp phát địa chỉ ip động cho 3 Vlan
    em làm hoài mà ko được, mong các anh chị giúp đỡ
    trân trọng cảm ơn!
    Click image for larger version

Name:	Untitled.jpg
Views:	1
Size:	21.2 KB
ID:	208961
    link file đính kèm (
    https://drive.google.com/file/d/0B3RZa2waLgHIMEJoX20xUWE4d243N281SEZBbVFEODVwdUNj/edit?usp=sharing

    router config:
    r1>enablePassword: telnet
    Building configuration...
    Current configuration : 956 bytes
    !
    version 12.4
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    service password-encryption
    hostname r1
    enable password 7 08354942071C11
    spanning-tree mode pvst
    interface FastEthernet0/0
    no ip address
    duplex auto
    speed auto
    !
    interface FastEthernet0/0.10
    encapsulation dot1Q 10
    ip address 172.16.10.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    interface FastEthernet0/0.20
    encapsulation dot1Q 20
    ip address 172.16.20.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    interface FastEthernet0/0.30
    encapsulation dot1Q 30
    ip address 172.16.30.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    interface FastEthernet0/1
    no ip address
    duplex auto
    speed auto
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.254.254
    banner motd ^CLab vlan^C
    line con 0
    !
    line aux 0
    !
    line vty 0 4
    login
    end
    SWITCH CONFIG:
    r1>enable
    Password: TELNET
    Building configuration...
    Current configuration : 956 bytes
    Switch>enable
    Switch#show run
    Building configuration...


    Current configuration : 1849 bytes
    !
    version 12.2
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname Switch
    !
    !
    !
    !
    spanning-tree mode pvst
    !
    interface FastEthernet0/1
    switchport access vlan 10
    !
    interface FastEthernet0/2
    switchport access vlan 10
    !
    interface FastEthernet0/3
    switchport access vlan 10
    !
    interface FastEthernet0/4
    switchport access vlan 10
    !
    interface FastEthernet0/5
    switchport access vlan 10
    !
    interface FastEthernet0/6
    switchport access vlan 20
    !
    interface FastEthernet0/7
    switchport access vlan 20
    !
    interface FastEthernet0/8
    switchport access vlan 20
    !
    interface FastEthernet0/9
    switchport access vlan 20
    !
    interface FastEthernet0/10
    switchport access vlan 20
    !
    interface FastEthernet0/11
    switchport access vlan 30
    !
    interface FastEthernet0/12
    switchport access vlan 30
    !
    interface FastEthernet0/13
    switchport access vlan 30
    !
    interface FastEthernet0/14
    switchport access vlan 30
    !
    interface FastEthernet0/15
    switchport access vlan 30
    !
    interface FastEthernet0/16
    !
    interface FastEthernet0/17
    !
    interface FastEthernet0/18
    !
    interface FastEthernet0/19
    !
    interface FastEthernet0/20
    !
    interface FastEthernet0/21
    !
    interface FastEthernet0/22
    !
    interface FastEthernet0/23
    switchport mode trunk
    !
    interface FastEthernet0/24
    switchport mode access
    !
    interface GigabitEthernet1/1
    !
    interface GigabitEthernet1/2
    !
    interface Vlan1
    no ip address
    shutdown
    !
    interface Vlan10
    mac-address 0000.0ccd.c989
    ip address 172.16.10.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    interface Vlan20
    mac-address 000a.f35d.ec2c
    ip address 172.16.20.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    interface Vlan30
    mac-address 0090.21a7.058d
    ip address 172.16.30.1 255.255.255.0
    ip helper-address 192.168.254.254
    !
    !
    line con 0
    !
    line vty 0 4
    login
    line vty 5 15
    login
    !
    !
    end

    Last edited by thaivanky; 23-06-2014, 11:10 AM.

  • #2
    có anh chị nào biết giúp em với!
    thanks

    Comment


    • #3
      Bạn xem qua bài này :) Chúc bạn thành công
      Dành cho các thảo luận lab scenario trong tập sách CCNA LabPro do Nhà Xuất Bản Trẻ phát hành

      Comment

      Working...
      X