CLI - Network

.::[GNS3]::.
conf t
host DHCPServer

int f 0/0
ip add 192.168.1.1 255.255.255.0
no shutdown
exit

ip dhcp pool POOL1
network 192.168.1.0 /24
default-router 192.168.1.1
dns-server 172.16.1.254
lease 2
domain-name test.com
end

show ip interface brief
show ip dhcp binding
_____________
config terminal
interface f0/0
ip address 172.16.1.1 255.255.0.0
no shutdown
interface s0/0
ip address 192.168.12.1 255.255.255.0
no shutdown

router ospf 1
network 172.16.1.0 0.0.255.255 area 0
network 192.168.12.0 0.0.0.255 area 0

show ip route