Network Configuration instance-DNS service, DHCP service, switch management VLAN configuration, Static Routing

Source: Internet
Author: User

Here, I will share with you a small configuration instance. This is a configuration example that I want to understand for a long time. It's a long time for me to study independently. I hope the audience can understand this! Topology: 650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/16125S5V-0.jpg "title =" , "alt =" 000503946.jpg"/>

The R0 configuration is as follows:

R0 # conf ter

R0 (config) # int f0/0

R0 (config-if) # ip add 10.10.10.1 255.255.255.0

R0 (config-if) # no shut

R0 (config-if) # int s0/0 // you can directly switch from one port to another.

R0 (config-if) # ip add 1.1.1.1 255.255.255.0

R0 (config-if) # no shut

R0 (config-if) # clock rate 64000 // configure the serial clock frequency

R0 (config-if) # exit

R0 (config) # ip rout 11.11.11.0 255.255.255.0 1.1.1.2


The R1 configuration is as follows:

R0 # conf ter

R0 (config) # ip domain-name adam.com // configure the domain name to prepare for the subsequent DNS

R0 (config) # int f0/0

R0 (config-if) # ip add 11.11.11.1 255.255.255.0

R0 (config-if) # no shut

R0 (config-if) # int s0/0 // you can directly switch from one port to another.

R0 (config-if) # ip add 1.1.1.1 255.255.255.0

R0 (config-if) # no shut // you do not need to configure the frequency here. One CIDR block is enough.

R0 (config-if) # exit

R0 (config) # ip rout 10.10.10.0 255.255.255.0 1.1.1.1


The configuration of S2 is as follows:

S2 # conf ter

S2 (config) # int vlan 1

S2 (config-if) # ip add 10.10.10.100 255.255.255.0

S2 (config-if) # no shut

S2 (config-if) # exit

S2 (config) # ip default-gateway 10.10.10.1 // if the default gateway is not configured here, the remote end cannot access the management VLAN

S2 (config) # enab password adam

S2 (config) # line vty 0 15

S2 (config-line) # password adam

S2 (config-line) # login // for security reasons, it is best to configure login


Server-PT Server Configuration:

Server ip: 11.11.11.10 subnet mask: 255.255.255.0 Gateway: 11.11.11.1
Configure DNS:

Select DNS Service

Bytes

Enable

Bytes

Input name: adam.com

Bytes

Select a type by default)

Bytes

Input address: 11.11.11.1 or 1.1.1.2

Bytes

Click Add

Bytes

OK

Configure DHCP:

Select DNS Service

Bytes

Enable

Bytes

Enter the pool name: 11 CIDR block,

Bytes

Enter the Default Gateway: 11.11.11.1 f0/0 ip address of the vro ),

Bytes

Enter the DNS server: 11.11.11.10,

Bytes

Enter the start IP Address: 11.11.11.2,

Bytes

Input subnet mask: 255.255.255.0

Bytes

Click Add

Bytes

OK

Manually configure the IP address of the PC Under S2: 10.10.10.10

Select the PC Under S1 to automatically obtain the IP address. The results are 11.11.11.2 and 11.11.11.3, respectively.


Summary:

1. vswitch S2 Remote Management VLAN configuration, if you do not use the ip default-gateway command, only machines in this segment can log on to the vswitch. Remote, such as 11.11.11.2 and 11.11.11.3, cannot log on to vswitch R2!

2. to test whether the DNS domain name service is available, ping adam.com in the Command window using a PC.

3. By default, the DHCP server is only responsible for IP Address Allocation,

4. Static Routing is the most stable and simple routing protocol, but it is only applicable to small networks!

The above is the configuration according to my personal "base". If there is any error, please submit it to the audience. Thank you!

This article is from the "network" blog, please be sure to keep this source http://adamcat.blog.51cto.com/6217526/1314171

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.