Home > other >  Cloud network based
Cloud network based

Time:10-11

NSD ADMIN DAY01

Case 1: TCP/IP address configuration
Case 2: network connectivity test
Case 1: TCP/IP address configuration
1.1 problems
For the host configuration the following network parameters:
1) IP address 192.168.1.10
2) subnet mask 255.255.255.0
3) the gateway 192.168.1.254
4) DNS 202.106.0.20
5) check the configuration parameter
1.2 plan
Use 1 Windows 2008 virtual machine, its configuration IP address to make sure that it can normal communication,
Step 1.3
This case shall be carried out according to the following steps,
Step one: for Windows 2008 server configuration IP address, through the control panel to set the IP address of the nic,
1) through the "start" - & gt;" The control panel "-- & gt;" Network and Internet "-- & gt;" Network and sharing center "-- & gt;" Change adapter Settings "to view the network connection list, double-click the" local connection "- & gt;" Attribute "-- & gt;" Internet protocol version 4 (TCP/IPv4) ", can be set up open the properties window, set the IP address to 192.168.1.10, subnet mask 255.255.255.0, set for 192.168.1.254 gateway, DNS Settings for 202.106.0.20, as shown in figure 8, click "sure" save, as shown in figure 1

Figure 1
2) through the "details" of the local connection attributes can be set up to confirm the results, as shown in figure 2
3) from the command line view the IP address of the nic
Click "start" - & gt;" Run "and type" CMD "and determine, as shown in figure 3
Will open the CMD command console window, as shown in figure 4

Figure 4
Execute the command "ipconfig/all" to view the current IP address of the detailed configuration:
C:\Users\Administrator> Ipconfig/all
Windows IP configuration host name.............. : WIN - BHVD7FRDKUU master DNS suffix........... : node type............ : mixed IP routing is enabled.......... : no WINS agent enabled.......... : no
以太网适配器 本地连接: 连接特定的 DNS 后缀 . . . . . . . : 描述. . . . . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection 物理地址. . . . . . . . . . . . . : 00-0C-29-68-96-8E DHCP 已启用 . . . . . . . . . . . : 否 自动配置已启用. . . . . . . . . . : 是 本地链接 IPv6 地址. . . . . . . . : fe80::6996:7ae3:7c3b:4841%11(首选) IPv4 地址 . . . . . . . . . . . . : 192.168.1.10(首选) 子网掩码 . . . . . . . . . . . . : 255.255.255.0 默认网关. . . . . . . . . . . . . : 192.168.1.254 DHCPv6 IAID . . . . . . . . . . . : 234884137 DHCPv6 客户端 DUID . . . . . . . : 00-01-00-01-1A-0B-72-75-00-0C-29-68-96-8E DNS 服务器 . . . . . . . . . . . : 202.106.0.20 TCPIP 上的 NetBIOS . . . . . . . : 已启用
. .
C:\Users\Administrator>
Case 2: network connectivity test
2.1 problems
For the host to set the following network parameters and test connectivity:
1) host 1 192.168.1.10 configure IP address, subnet mask 255.255.255.0
2) host 2 192.168.1.20 configure IP address, subnet mask 255.255.255.0
3) the two hosts connected to the same network
4) use the ping command to test network connectivity
2.2 plan
Use 2 Windows 2008 virtual machine, through: "virtual network" private1 is linked together, as shown in figure 5, the IP address of the card will be two 2008 virtual machine set to the same network segment, can communicate with each other

Figure 5
This case shall be carried out according to the following steps,
Step 2.3
Step 1: modify the two Windows 2008 virtual machine network and IP address
1) in KVM window, adjust the Windows 2008 virtual machine hardware Settings, in the shutdown of the state sets the network connection to "virtual network" private1: independent network, Intranet, and can only use the host routing ", as shown in figure 6, click "apply" to save Settings

Figure 6
2) for Windows 2008 (server1) configuration IP address, through the control panel to set the IP address of the nic
Through the "start" -- & gt;" The control panel "-- & gt;" Network and Internet "-- & gt;" Network and sharing center "-- & gt;" Change adapter Settings "to view the network connection list, double-click the" local connection "- & gt;" Attribute "-- & gt;" Internet protocol version 4 (TCP/IPv4) ", can be set up open the properties window, set the IP address to 192.168.1.10, subnet mask 255.255.255.0, set for 192.168.1.254 gateway, DNS Settings for 202.106.0.20, as shown in figure 7, click "sure" save,

Figure 7
3) for Windows 2008 (server2) configuration IP address, through the control panel to set the IP address of the nic,
Through the "start" -- & gt;" The control panel "-- & gt;" Network and Internet "-- & gt;" Network and sharing center "-- & gt;" Change adapter Settings "to view the network connection list, double-click the" local connection "- & gt;" Attribute "-- & gt;" Internet protocol version 4 (TCP/IPv4) ", can be set up open the properties window, set the IP address to 192.168.1.20, subnet mask 255.255.255.0, set for 192.168.1.254 gateway, DNS Settings for 202.106.0.20, as shown in figure 8, click "sure" save,

Figure 8
Step 2: close the two Windows 2008 system firewall
3) through the "control panel" - & gt;" State inspection firewall ", can view the firewall services running state (the default for the green logo, logo is enabled), as shown in figure 9

Figure 9
4) click on the left side of the "open or close the Windows firewall", customizable whether to enable a firewall, for ordinary Intranet server suggested a firewall can be closed, as shown in figure 10, click ok,

Figure 10
5) check the firewall status again, found that has become eye-catching red, said the Windows firewall has stopped, as shown in figure 11,

Figure 11
Step 3: use the ping command to test network connectivity
1) using the command line to check whether can communicate between the two devices
In Windows 2008 (server1) click "start" - & gt;" Run "and type" CMD "and determine, as shown in figure 12 -

Figure - 12
Will open the CMD command console window, as shown in figure 13

Figure 13
Confirm can ping this net segment of other host IP address (192.168.1.20)
If the reply from 192.168.1.20 "success", shows that this machine can be accessed within this period of other host:
C:\Users\Administrator> Ping 192.168.1.20
Is Ping 192.168.1.20 with 32 bytes of data:
A reply from 192.168.1.20: bytes=32 time & lt; 1 ms TTL=128
A reply from 192.168.1.20: bytes=32 time & lt; 1 ms TTL=128
A reply from 192.168.1.20: bytes=32 time & lt; 1 ms TTL=128
A reply from 192.168.1.20: bytes=32 time & lt; 1 ms TTL=128
192.168.1.20 Ping statistics: packets: sent=4, has been receiving=4, lost=0 loss (0%),
Estimates of round trip time (in milliseconds) : the shortest=0 ms, longest=0, ms average=0, ms
  • Related