Konfiguracja DHCP: Konfiguracja routera krok po kroku(na hoście PC0 ustawiamy DHCP): Router>enable Router#conf terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#interface fastEthernet 0/0 R1(config-if)#ip address 192.168.10.1 255.255.255.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)#exit R1(config)#ip dhcp pool IPSTARKO R1(dhcp-config)#network 192.168.10.0 255.255.255.0 R1(dhcp-config)#default-router 192.168.10.1 R1(dhcp-config)#exit R1(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.10 R1(config)#exit R1# %SYS-5-CONFIG_I: Configured from console by console R1#write Building configuration... [OK] R1#show running-config Building configuration... Current configuration : 556 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname R1 ! ! ip dhcp excluded-address 192.168.10.1 192.168.10.10 ! ip dhcp pool IPSTARKO network 192.168.10.0 255.255.255.0 default-router 192.168.10.1 ! ! interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! ip classless ! ! line con 0 line vty 0 4 login ! ! end R1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] R1# R1#reload