Get new post automatically.

Enter your email address:


Router DHCP IP to PC


 

Router Configuration Script:

hostname Router
!
!
ip dhcp excluded-address 172.25.21.254
!
ip dhcp pool LAN_172
 network 172.25.21.0 255.255.255.0
 default-router 172.25.21.1
 dns-server 172.25.20.2
!
!
spanning-tree mode pvst
!
!

interface FastEthernet0/0
 ip address 172.25.21.1 255.255.255.0
 no shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.25.20.1 255.255.255.0
 no shutdown
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
!

line con 0
line vty 0 4
 login
!

end