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!
link file đính kèm (
https://drive.google.com/file/d/0B3RZa2waLgHIMEJoX20xUWE4d243N281SEZBbVFEODVwdUNj/edit?usp=sharing
router config:
SWITCH CONFIG:
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!
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
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
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
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
Comment