Router DHCP
- connect devices
- set the router setting
- en switch to enable mode
- R1#conf t terminal configuration
- R1#(config)host R1 set the name
- R1#(config)int fa0/0 choose an interface
- R1#(config-if)ip add 192.168.10.1 255.255.255.0 set an interface IP address
- R1#(config-if)no shut
- R1#(config-if)exit leave a configuration of interface
- R1#(config)ip dhcp pool IP10 switch to a dhcp configuration
- R1#(dhcp-config)net 192.168.10.0 255.255.255.0
- R1#(dhcp-config)default 192.168.10.1
- R1#(dhcp-config)exit leave a dhcp configuration
- R1#(config)ip dhcp exc 192.168.10.1 192.168.10.10
- R1#(config)exit
- R1#copy run start
- sh run just to show a setting
Source: http://www.youtube.com/watch?v=P_H9BLP-MRw
© 2010 Marmil (Martin Milička)