konfiguracja DHCP na routerze
Router>enable
Router#conf t
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)#default-router 192.168.10.1
Router(dhcp-config)#option 150 ip 192.168.10.1 == mowi gdzie znajduje sie serwer tftp z telefonia
Router#
Router#conf t
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)#default-router 192.168.20.1
Router(dhcp-config)#end
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