
======================
R1#show ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
192.168.1.10 0001.C706.A76A -- Automatic
192.168.2.10 0001.4348.BE92 -- Automatic
R1#
======================
R1#sh run
!
hostname R1
!
ip dhcp excluded-address 192.168.1.1 192.168.1.9
ip dhcp excluded-address 192.168.2.1 192.168.2.9
!
ip dhcp pool mydhcp
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
dns-server 8.8.8.8
ip dhcp pool mydhcp2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.254
dns-server 8.8.8.8
!
!
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.254 255.255.255.0
duplex auto
speed auto
!
end
R1#
======================
PC1 : IP Info

======================
PC0 : IP Info

======================
沒有留言:
張貼留言