Configuring the Router Hostname
- Router> enable
- Router # configure terminal
- Router (config) # hostname R0
Configuring the IP Address
- R0 (config) # interface FastEthernet 0/0
- R0 (config-if) # ip address 192.168.1.250 255.255.255.0
- R0 (config-if) # no shutdown
- R0 (config-if) # exit
Configuring the DHCP Server
- R0 (config) # ip dhcp pool DHCP_LAN1
- R0 (dhcp-config) # network 192.168.1.0 255.255.255.0
- R0 (dhcp-config) # default-route 192.168.1.250
- R0 (dhcp-config) # dns-server 192.168.1.250R0
- R0 (dhcp-config) # exit
- R0 (config) # ip dhcp excluded-address 192.168.1.10 192.168.1.100
0 komentar:
Posting Komentar