Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts


Installing Active Directory

Computer Name : Server 1
Static IP : 192.168.40.2
Subnet : 255.255.255.0
Default gateway : leave as blank
Preferred DNS : 192.168.40.2
Alternate DNS server : blank

OS - Windows Server 2003
Services - DNS, Domaini Controller

Computer Name : Client 1
Static IP : 192.168.40.4 
Subnet : 255.255.255.0
Default Gateway  : leave as blank
Preferred DNS : 192.168.40.2
Alternate DNS server : leave as blank

OS - Windows XP

Equipment needed:

2 Computer with NIC (network interface card)
1 Switch
2 Network Cable with rj45


Installing Active Directory to Server 1

1 Go to Server 1 and log on as Administrator. Go to Start-> Run then type in DCPROMO and click OK. Start  Run then type in DCPROMO in the run command and click OK.

2. The Active Directory installation wizard is begin. The first screen appear the Operating System Compatibility - Click on Next to continue.

3. The next screen, click Domain controller for a new domain, click Next.

4. The next screen, click Domain in a new forest, click Next.

5. The next screen, in the Full DNS name for new domain, type ACexample.com as a domain name, click Next.

6. The next screen, NetBios Domain Name, ACexample appeared on Domain NetBIOS name and leave as a default name, click Next

7. The next screen, the Database and Log Folders. You can change it the location of your logs files. The default location is %systemroot%\WINNT\NTDS. Click Next.

8. The next screen, the Shared System Volume. Leave the default location for the System Volume, click Next.

9. The next screen, the DNS Registration Diagnostics. Choose Install and configure the DNS server on this computer, and set this computer to use this DNS server as it preferred DNS server. click Next.

10. The next screen is the Permissions. Leave the default for Windows 2003 (Permissions compatible only with Windows on this domain) and click Next.

11 The next screen is asking for Directory Services Restore Mode Administrator Password. For this example, Add a password, 12344 and it should be different from log on administrator password, click Next.

13. The next screen, showing a summary of all the information you've been entered in settings. click Next to start the Active, Insert CD Windows Server 2003 to install the files that needed. Directory installation.

14. The next screen showing that Completing the Active Directory Installation Wizard is done. click Finish and the next pop-up screen showing to need to restart the computer, click Restart Now to get an affect of settings for the computer Server 1.

Add Client as a member to the Domain to the Server 1

1. Log on as the Administrator on Client 1. Go to Desktop and right click My Computer-> Computer Name tab click on Change button. In the Member of section, select Domain and type ACexample.com as a domain name of the server. Click OK.

2. When User name and Password appear, type the Administrator and password of Server 1. Click Ok, the computer need to restart to take affect of the settings.

3. When the computer start (Client computer), press CTRL-ALT-DELETE to log on. In the Options button. Click the Drop-down box and select ACexample and enter the administrator and password as the username and password and click Ok.

4. Go and Right click My Computer-> Properties -> Computer Name tab. It should now the Client 1 computer is a member of ACexample.com domain. 

5. Now, go to the Server 1. Go to Start-> Administrative Tools -> Active Directory Users and Computers. In the left side, click ACexample.com domain, find Server 1 and click. The Client 1 should be on the list member of Server 1.



Simple Computer Network Connection in a Ubuntu Desktop Linux



This is a simple guide about a computer network connection set-up and configuration using Ubuntu Desktop Linux. 

Here is a guidelines with a name of PC and IP addresses and the equipment needed.

[1]
1 - Switch
3 - Computer Desktop with a NIC (network interface card), fresh installation copy of Ubuntu Desktop
3 - LAN cable with a RJ45

[2]
Here is the label of a Computer.

- For 1st computer -  PC-1
Name: PC-1
IP Address: 192.168.1.2
Subnet mask: 255.255.255.0
Default Gateway: 

For 2nd computer - PC-2
Name: PC-2
IP Address: 192.168.1.3
Subnet mask: 255.255.255.0
Default Gateway:

For 3rd computer -  PC-3
Name: PC-3
IP Address: 192.168.1.4
Subnet mask: 255.255.255.0
Default Gateway:


[3]
Here is the configuration on network system in Ubuntu Desktop. Do this in a every computer.


1. From Desktop, click the icon with label name Dash home, in the search box, Type Network Connection then click the icon Network Connection.
2. Click the Wired tab, then click IPv4 Settings tab.
3. In the Method, select Manual and click Add to input the IP address, Netmask then click Save.
* In Default gateway leave as blank.
* In DNS servers and Search domains, leave as blank.

[4]
For testing, use ping tool whether the connection in every computer PC-1, PC-2, PC-3 is working.

1. In PC-1, go to Desktop and find and click the icon with lable Terminal and type ping 192.168.1.3. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.4.
2. In PC-2, go to Desktop and find and click the icon with lable Terminal and type ping 192.168.1.2. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.4.
3. In PC-3, go to Desktop and find and click the icon with lable Terminal and type ping 192.168.1.3. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.2.








Task Scheduler: Mapping Network Drives

A lot of IT tools that provided from the internet are a key factors to automate a daily task on the running the application about the businesses transactions, windows or linux based application.

Mapping network drive is a system services to access the files from the servers. Mapping network drive has a tools to automatically run the map the network drive when the computer client is start whether log-in is executed or not. But there is a alternative way to map the network drive. Using scheduling tasks of a Windows and a little script code to automate and run the mapping of network drive. Here is the guide on how to do the mapping network drive using Scheduling Tasks and batch file script.


1.]  Here is a sample network drives that need to remap.

192.168.1.2/File-a  - for drive a
192.168.1.3/File-b  - for drive b
192.168.1.4/File-c  - for drive c


2.] Here is the script that will be run on a Windows platform.

a. Open a Notepad, type a script command below and save as task.bat and stored it in Desktop.

net use /delete a:
net use /delete b:
net use /delete c:

net use a: \\192.168.1.2\File-a /user:"" ""
net use b: \\192.168.1.3\File-b /user:"" ""
net use c: \\192.168.1.4\File-c /user:"" ""

exit

b. Meaning of command script.

* Net use /delete, means every time the computer is logoff, restart or shutdown and then open it again, the existing network map drive will be deleted and create another net map drive or re-mounted again.
* Net use - means they connects a computer to a shared resource or disconnects a computer from a shared resource.
* drive a, b, c are the drive that mounted settings from the server.
* The IP address are the server address shared folder.
* File-a, File-b, File-c are name of the shared folder.
* user: " " " ", means no username and password in the shared folder in the server.
* exit, means exit the window.

For more info, go to command and type net help use.

3.] Here is the settings of a Task scheduler and the implementing of script of a mapping drive with a filename task.bat

1. Go to Start menu and type Task Scheduler then click Task Scheduler.
2. Click the Create a Basic Tasks
3. Name a task whatever you want. But in this example, I will name it Netmaptask then click Next
4. In Trigger, click When I Log on, (so everytime the PC client is start on the log-in user, the script will run simultaneously.
5 In Action, click start a Program.
a. In Program/script, type cmd.exe
b. In Add arguments input box, copy this,  /c start /min "" "C:\Desktop\task.bat"
where start the command that the window are minimize during running the scripts.
c. Then Save, then Finish.
6. Restart the computer to test if the settings in Task Scheduler of network map drive is working. The output will create a map network drives.






Simple Computer Network Connection in a Windows



This is a simple guide about a computer network connection with set-up and configuration using Windows 7. The setup and configuration is also work in the previous version of Windows (XP, etc.).

Here is a guidelines with a name of PC and IP addresses and the equipment needed.

[1]
1 - Switch
3 - Computer Desktop with a NIC (network interface card), fresh installation copy of Windows 7
3 - LAN cable with a RJ45

[2]
Here is the label of a Computer.

- For 1st computer -  PC-1
Name: PC-1
IP Address: 192.168.1.2
Subnet mask: 255.255.255.0
Default Gateway:

For 2nd computer - PC-2
Name: PC-2
IP Address: 192.168.1.3
Subnet mask: 255.255.255.0
Default Gateway:

For 3rd computer -  PC-3
Name: PC-3
IP Address: 192.168.1.4
Subnet mask: 255.255.255.0
Default Gateway:


[3]
Here is the configuration on network system in Windows 7. Do this in a every computer.


1. Go to Start and type network. Click Network and Sharing Center.
2. On the side, click Change Adapter settings.
3. Right click on Local Area Connection and click Properties.
4. Select a properties of Internet Protocol Version 4
5. click a Use the following IP address and type the IP address, subnet mask, and leave default gateway as blank.
6. For Preferred Domain Name Server, leave as blank.

[4]
For testing, use ping tool whether the connection in every computer PC-1, PC-2, PC-3 is working.

1. In PC-1, go to Command and type ping 192.168.1.3. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.4.
2. In PC-2, go to Command and type ping 192.168.1.2. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.4.
3. In PC-3, go to Command and type ping 192.168.1.3. And if they show the reply message, the connection is working. Repeat ping to 192.168.1.2.








Unknown Traffic in the Network



There was a time that the network, internet connection is stable at all. But it doesn't means that all PC that was connected in the network is in a good hands. In the workstation that connected to the Internet Gateway server, you can check it in the snorts alerts (always have this function in every Internet gateway software) that all PC task is known by the server. You can find it in the internet gateway server like a function of a snort alerts. A lot of internet gateway software are used in many IT personnel like a pfsense from linux. Unknown traffic of the PC to the server had some bits of causes like a virus, malware, scripted software like a cron job that can affected to the whole system of a PC. The solution for that is try to do a PC maintenance before doing a reformat. Scanning using a trojan remover tools, antivirus tools, malware or sometimes, the application that was installed in your PC is already infected by the virus and PC cleaning tools. It is possible to find the infected programs and you can remove or uninstall it. After doing PC maintenance, try to check and test if the unknown traffic is fixed.


Low speed problem on a Website

Some scenario on the problem of a live website mostly when they are used in operation of the company is having a bad speed or low speed of connection when saving the data into the database. There are many reason on this problem and we talk about the status of the network. Example of
this is the 80 network. We think that there a lot of things happen of the processing that joining or connecting into the 80 network. If the server system is connected on the 192.168.80.1 network and
others processing having a heavy load process (example, 192.168.80.1) and the netwrok traffic capturing the higher percent of a bandwitdh (ex. backup data, replacing all data into another server) and the network traffic is not running properly. You can setup the backup data in the time that when the system is not available in the operation (maintenance day) or you can execute the backup the data in a little bit of copying the data.