Use router to do DHCP server

Source: Internet
Author: User
Tags interface domain
Server!

Hostname Router

!

!

IP Subnet-zero

IP dhcp excluded-address 172.16.240.1 172.16.240.10

IP dhcp excluded-address 172.16.240.201 172.16.240.254

!

IP DHCP Pool flink

Network 172.16.240.0 255.255.255.0

Default-router 172.16.240.254

Domain-name ns3.bta.net.cn

Dns-server 202.106.196.115 202.106.0.20

!

No IP domain-lookup

!

!

Process-max-time 200

!

Interface Ethernet0

IP address 172.16.241.254 255.255.255.0 secondary

IP address 172.16.242.254 255.255.255.0 secondary

IP address 172.16.243.254 255.255.255.0 secondary

IP address 172.16.244.254 255.255.255.0 secondary

IP address 172.16.240.254 255.255.255.0

No IP directed-broadcast

IP nat Inside

!

Interface Serial0

IP address 192.168.108.22 255.255.255.252

No IP directed-broadcast

IP Nat Outside

!

IP nat Pool 210.72.225.88 210.72.225.95 netmask 255.255.255.248

IP nat inside source list 1 pool overload

IP nat inside source static n

No IP HTTP Server

IP Route 0.0.0.0 0.0.0.0 192.168.108.21

!

Access-list 1 Permit 172.16.240.0 0.0.0.255

!

Line con 0

Transport input None

StopBits 1

Line vty 0 4

Login

Of course, with W2K Server can also do DHCP, she so that clients do not have to manually configure IP, this IP can be dynamically generated!





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.