3. TCP/IP Configuration
For OUM SERVER and Home network, we manually assign all the IPv4 addresses for each devices. To show how it can be done, there are two methods that can be use. Let's configure the TCP/IP for one of the Home network hosts:
1st Method (GUI):
Assume the host is using Windows operating system...
First, search for Control Panel and open it.
Next, click on Network and Internet section. After that, click on Network and Sharing Center. Here is how it looks like
At the left side, click Change adapter settings. All network adapters for the host will be listed out here.
Figure 3: Control Panel > Network and Internet > Network Connections
In this case, this host's currently active network adapter is Wi-Fi 2 . Double click on the network adapter. The network adapter status will be popped out. You can see the IPv4 and IPv6 connectivity and also the speed. Click Properties to begin assign the static IP address for this host.
(Note that the adapter name is not always "Wi-Fi 2". Please refer to your connected network adapter name)
Figure 4: The properties of the network adapter
Next, double click on Internet Protocol Version 4 (TCP/IPv4) since we are going to configure the IPv4 address of the host.
Most of the devices TCP/IP configuration are already configured automatically by DHCP server nowadays. To set our own configuration, choose Use the following IP address and we can start configure it manually.
The host address range for Home network is from 192.168.0.1 until 192.168.0.254. For this purpose, we will choose IP address 192.168.0.5 for this specific host/device. We will also configure the Subnet mask, default gateway and DNS server based on what we have calculated from the Subnetting Calculation post.
Figure 6a: The IPv4 properties configured manually
We also can do these steps for OUM Server. This is how it can be configured
Once the configuration is done, click OK to apply the changed IPv4 configuration. To verify the configuration we have made, open Command Prompt and enter command ipconfig /all.
As you can see the IPv4 address, subnet mask and default gateway have changed.
2nd Method: Using command prompt/cmd
Command prompt is the input field in a text-based user interface screen for an operating system or program.
To configure the TCP/IP, we will be using tools called netsh.exe. With netsh.exe you can easily view your TCP/IP settings.
First, search command prompt and open it as administrator
Then, type in command netsh to enter the netsh.exe environment.
Now, to check the current IPv4 configuration, enter command interface ipv4 show config. This command behaves the same as ipconfig /all however it can be used in netsh.exe environment.
This is the auto configuration from DHCP server. As you can see, the DHCP enabled is set to Yes. Now we need to make our own configuration.
To change the IPv4 address, the syntax of the command is
interface ip set address name=[the adapter's name] static [IPv4 address] [subnet mask] [default gateway]
Hence, since we are going to configure one of the Home network hosts, the command we should enter is
interface ip set address name="Wi-Fi 2" static 192.168.0.5 255.255.255.0 192.168.0.1
(Note that the adapter name is not always "Wi-Fi 2". Please refer to your connected network adapter name)
Now to verify our configuration, type back in the command interface ip show config to see the new configuration
The IPv4 address, subnet mask and default gateway server has changed accordingly. Also, notice that the DHCP enabled is set to No. This indicates that the configuration is not set automatically by the DHCP itself.
We can also do these steps to configure the OUM Server TCP/IP by using IPv4 address 10.0.0.4, subnet mask 255.192.0.0, default gateway 10.0.0.1 and dns server 10.0.0.4 which is the OUM server.
Comments
Post a Comment