konfiguracja DHCP na routerze
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#dhcp p
Router(config)#ip dhcp pool VOIP
Router(dhcp-config)#
Router(dhcp-config)#net 192.168.10.0 255.255.255.0
Router(dhcp-config)#de
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#
Router(dhcp-config)#option 150 ip 192.168.10.1 == mowi gdzie znajduje sie serwer tftp z telefonia
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhvp p
Router(config)#ip dhcp p
% Incomplete command.
Router(config)#ip dhcp p
Router(config)#ip dhcp pool DATA
Router(dhcp-config)#net 192.168.20.0 255.255.255.0
Router(dhcp-config)#dw
Router(dhcp-config)#de
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
Router#sh running-config
Building configuration...
Current configuration : 882 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ip dhcp pool VOIP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
option 150 ip 192.168.10.1
ip dhcp pool DATA
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1