mam zadanie do wykonania w programie packet tracert muszę połączyć 5 komputerów(ustawionych dhcp) z switchem 2960, zaadresować przełącznik (vlan1) 192.168.0.1/24 skonfigurować dhcp na przełaczniku z pulą 10 adresów 192.168.0.2-10/24 oraz dla 1 komputera zarezerwować adres 192.168.0.100
zaadresowałem vlan1 podanym adresem nastepnie próbuje wpisąć komende ip dhcp pula wyskakuje za kązdym razem % Invalid input detected at '^' marker.
czy dobrze kombinuje vlan1 to bedzie sieć tych 5 komputerów o adresie 192.168.0.1?
Kod: Zaznacz cały
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan1
^
% Invalid input detected at '^' marker.
Switch(config)#int vlan1
Switch(config-if)#ip address 192.168.0.1 255.255.255.0
Switch(config-if)#no shutdown
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#do show run
Building configuration...
Current configuration : 1022 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
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 GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
ip address 192.168.0.1 255.255.255.0
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
Switch(config-if)#exit
Switch(config)#ip dhcp pool vlan1
^
% Invalid input detected at '^' marker.
Switch(config)#dhcp config
^
% Invalid input detected at '^' marker.
Switch(config)#int vlan1
Switch(config-if)#ip dhcp pool vlan1
^
% Invalid input detected at '^' marker.