<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Tech Jobs Academy - Medium]]></title>
        <description><![CDATA[An intensive, 16-week technical training program preparing talented New Yorkers for in-demand tech jobs in cloud and server administration. - Medium]]></description>
        <link>https://medium.com/tech-jobs-academy?source=rss----4df4052f771b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Tech Jobs Academy - Medium</title>
            <link>https://medium.com/tech-jobs-academy?source=rss----4df4052f771b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 00:30:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tech-jobs-academy" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Trust Relationships within Active Directory Directory Services]]></title>
            <link>https://medium.com/tech-jobs-academy/trust-relationships-within-active-directory-directory-services-9f18b3a9e7da?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/9f18b3a9e7da</guid>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Marie Parker]]></dc:creator>
            <pubDate>Fri, 09 Sep 2016 19:17:07 GMT</pubDate>
            <atom:updated>2016-09-09T19:17:06.927Z</atom:updated>
            <content:encoded><![CDATA[<p>During the first days of computer use in offices, multiple users accessed the same computer using their own user accounts. This changed with the invention of the personal computer. Only one person was expected to use each computer, eliminating the need for user accounts.</p><p>Once it became more common to connect multiple computers in an office to a network, it became necessary to create user accounts, to administer file, print, email, and other services using servers, and to regulate access to shared resources.</p><h4>What is Active Directory?</h4><p>In any business or educational setting, computers connect to a network and access shared file, print, and other services with their own user accounts. The users’ individual permissions levels depend on their roles within the company. For example, a university student would not have the same ability to access, delete, edit, or even see certain files over which the school’s systems administrator would have full control. To create and maintain authentication policies, a systems administrator uses Active Directory.</p><h4><strong>Basic Active Directory Structure</strong></h4><p>The smallest unit in the AD system is called an<em> organizational unit</em>. OUs are containers for users, groups, and computers, and they exist within a <em>domain</em>. A domain is a logical group of computers within a boundary, which have the same set of rules for access and administration. Domains are located within <em>trees</em>. A tree is a collection of domains arranged hierarchically within the same <a href="http://techterms.com/definition/namespace">namespace</a>. The <em>root domain</em> is exactly what it sounds like: the root of the tree.</p><p>Directly underneath the root, there can be a <em>child domain </em>(or<em> subdomain</em>). Child domains can also have child domains of their own.<br>Conceptual diagrams of forest structure within Active Directory depict an upside-down tree, in which the root is placed at the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*JKYbsB2LXexj_0tXvEotFQ.gif" /><figcaption><a href="https://www.microsoft.com/mspress/books/sampchap/3173.aspx">https://www.microsoft.com/mspress/books/sampchap/3173.aspx</a></figcaption></figure><p>By default, child objects inherit the permissions of their parent objects (though the sysadmin can change that). Parent and child objects share common<em> trusts</em>, which Microsoft Technet defines as “authentication pipelines that must be present in order for users in one domain to access resources in another domain.”</p><p>In some cases, more than one namespace is administered by the same person or people. This happens most often after a business merger. If it is advantageous to the organization, the namespaces can be connected by a <em>forest root</em> domain, and the namespaces are then referred to as <em>forests</em>.</p><h4>What are the different kinds of trusts?</h4><p><strong>Transitivity and Direction</strong></p><p>All trusts are either one-way or two-way, and either transitive or non-transitive.</p><p>In a two-way trust, permissions extend mutually from both objects. One-way trusts are only given from one domain to another.</p><p>A transitive trust is a trust that is extended not only to a child object, but also to each object that the child trusts. (In contrast, a non-transitive trust extends only to one object.)</p><p><strong>Default Trusts</strong></p><p>Active Directory automatically creates two types of two-way, transitive trusts when new objects are joined to a domain. When a new child domain is created, AD applies a parent-child trust. When a new tree is added to a domain, AD applies a tree-root trust.</p><p><strong>Other Trusts</strong></p><p>Sometimes it is necessary to manually set up additional trust relationships. For instance, to access an object within one forest from another object in a different forest, by default, it is usually necessary to get permissions from the parent object first, accessing permissions up to the forest root, through the forest trust, and down the tree to the destination object. This process can take too long at times. In this case, it would be helpful to create a <em>shortcut trust</em>, to circumvent the forest-domain hierarchy and give one object direct access to an object in a different tree. <br> <br><em>External trusts</em> are non-transitive trusts between two domains in different forests.</p><p><em>Forest trusts</em> are manually-created transitive trusts between one entire forest and another.</p><p>Another trust that can be set up manually is a <em>realm trust</em>. This is useful for communication between Microsoft-based networks and non-Microsoft networks. For instance, in the event that one company annexes another company with a different OS setup, a realm trust can be created at the root level to enable access between the two sites.</p><p><strong>Conclusion</strong></p><p>This essay has outlined Active Directory’s basic structure and defined different trust relationships. There is a more thorough video explanation of trust relationships at <a href="https://www.youtube.com/watch?v=4M9W33QkCMQ">https://www.youtube.com/watch?v=4M9W33QkCMQ</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f18b3a9e7da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/trust-relationships-within-active-directory-directory-services-9f18b3a9e7da">Trust Relationships within Active Directory Directory Services</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure Advanced DHCP Features]]></title>
            <link>https://medium.com/tech-jobs-academy/configure-advanced-dhcp-features-eb7da8aef3c0?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/eb7da8aef3c0</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[dns]]></category>
            <dc:creator><![CDATA[Leo Cardona]]></dc:creator>
            <pubDate>Fri, 09 Sep 2016 15:07:49 GMT</pubDate>
            <atom:updated>2016-09-09T15:07:49.524Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a lot of server roles that you can install in Windows 2012 Server and one of them is DHCP (Dynamic Host Configuration Protocol). DHCP server role ensure you that clients have applicable IP Address and the correct network configuration information that can get rid of human error during configuration. It is one of the most important role in the Windows Server 2012 R2 because it is primary distributor of the network configuration to network clients. Additionally, it allocates configuration of information to other network-enabled services such as WDS (Windows Deployment Services) and NAP (Network Access Protection).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*0ZtqBiAY54If9q7cgT30og.png" /></figure><p>DHCP components are very valuable in configuring features such as <strong>DHCP Server Service</strong>. This service can allocate IP Addresses and network configuration to the clients. DHCP Scopes administers the range of the IP Addresses and related information that is allocated to the server. The scope of each range can be associated with a single IP subnet and consists of:</p><ul><li>Name and description</li><li>Range of addresses that can be distributed</li><li>subnet mask</li></ul><p>The scope can also define:</p><ul><li>IP Addresses that should be excluded from distribution</li><li>The duration of the IP address lease</li><li>DHCP options</li></ul><p><strong>DHCP options </strong>purpose assigning IP Address to the client that can simultaneously assign many other network configuration parameters. Common DHCP options includes Default Gateway IP Address, DNS server IP address, DNS domain suffix, and Windows Internet Name Server <strong>(WINS) </strong>server IP Address. <strong>DHCP Database </strong>contains configuration data about the DHCP server, and stores information about the IP Addresses that have been distributed. The DHCP database is a Microsoft JET database and files are stored by default in the %systemroot%\System32\Dhcp folder. <strong>DHCP Console</strong> is the main administrative tool for managing all aspects of DHCP Server. It is automatically installed on any server that has the DHCP role.</p><p>The Clients acquire IP Addresses through DHCP Service, upon startup the clients will use an <strong>Address Resulotion Protocol (ARP) Broadcast </strong>in its subnet to request IP configuration from any DCHP server that receive the request. DHCP distribute IP Address on a dynamic basis and it is called <strong>lease. </strong>You can configure the duration of the lease and the default lease time would be eight days. However, on mobile or handheld devices like tablets and smartphones has shorter lease duration. You must be an Enterprise Administrator to authorize the DHCP Server but if the server is a domain member, you need to Authorize the Windows Server 2012 DHCP role in the <strong>Active Directory Domain Services (AD DS).</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb7da8aef3c0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/configure-advanced-dhcp-features-eb7da8aef3c0">Configure Advanced DHCP Features</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stumped on Configuring the DHCP Relay Agent — Check Out These Tips!]]></title>
            <link>https://medium.com/tech-jobs-academy/stumped-on-configuring-the-dhcp-relay-agent-check-out-these-tips-f96f1a20a7f1?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/f96f1a20a7f1</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Ada See]]></dc:creator>
            <pubDate>Fri, 09 Sep 2016 15:05:06 GMT</pubDate>
            <atom:updated>2016-09-09T15:05:05.699Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Author’s Note: For this blog, the DHCP Relay Agent is configured on a virtual machine, running Windows Server 2012 R2, where Routing and Remote Access Service (RRAS) is installed through Server Manager. This virtual machine acts as the router that connects multiple networks.</em></p><p>A DHCP Relay Agent transmits messages between clients and DHCP servers in different networks. This eliminates having to install and configure a DHCP server in every network, saving time and resources.</p><p>For the second project in Tech Jobs Academy, one of the objectives was to “configure the DHCP Relay Agent on the VLAN without the DHCP server.” Sounds simple and straightforward enough. Well, not quite. I ran into a few kinks while following setup guides that I found online. However, I figured out a few components that should be checked out to ensure that the DHCP Relay Agent runs smoothly in a network infrastructure.</p><h4>The Ping Test</h4><p>Never underestimate the power of <em>ping</em>; it is a very basic, but useful command in Command Prompt that tests whether the source computer can communicate with a specific computer. Upon setting up all my virtual machines, I had to first confirm that my DHCP server actually worked in distributing IPv4 addresses. That way, when I <em>ping </em>my DHCP server from a computer in another network and this computer is unable to receive an IPv4 address, I would know that the problem is most likely in the DHCP Relay Agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*r8y7MUCbz5Gopk302QQmrQ.png" /></figure><p>In the image above, the first <em>ping</em> to a computer in the local network yielded a reply. Don’t let that fool you though! You’ll notice that the reply contains IPv6 addresses, which raises a red flag since my network environment is designed to resolve IPv4 addresses. The main item to examine is the Network Connections — verify that the source computer is joined to the domain and that all the domain controllers and servers have the appropriate subnet mask, default gateway and DNS server address.</p><p>If that does not solve the problem, check the host records to determine if there are any conflicting information that might hinder communications between computers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*30FUA_yHLkQ9zgAxQnkINg.png" /><figcaption>All clear and ready to go! (No clashing name and IP address resolutions.)</figcaption></figure><h4>Check Your DHCP Relay Agent Properties</h4><p>Did you input the DHCP server address in DHCP Relay Agent Properties box? In my case, this crucial information somehow got deleted during unknown background computer activities. I racked my brains thinking that there was a deeper reason as to why my virtual machines could not communicate across networks, but I guess not. After I entered the DHCP server address, my client machine in the second network was finally able to pick up an IPv4 address from the DHCP server in the first network.</p><p>…And this is how I successfully configured the DHCP Relay Agent!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96f1a20a7f1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/stumped-on-configuring-the-dhcp-relay-agent-check-out-these-tips-f96f1a20a7f1">Stumped on Configuring the DHCP Relay Agent — Check Out These Tips!</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Implement Network Load Balancing in Unicast mode]]></title>
            <link>https://medium.com/tech-jobs-academy/how-to-implement-network-load-balancing-in-unicast-mode-2de140a10dac?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/2de140a10dac</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Ezra Undag]]></dc:creator>
            <pubDate>Fri, 09 Sep 2016 15:04:21 GMT</pubDate>
            <atom:updated>2016-09-09T15:04:20.738Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Windows Network Load Balancing (NLB) is a feature that distributes network traffic among multiple servers or virtual machines within a cluster to avoid overloading any one host and improve performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*n7mmLF3XTD7d6slSvCX7WQ.jpeg" /><figcaption>Figure 1. Basic NLB Cluster (From <a href="https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1006580">VMWare Knowledge Base)</a></figcaption></figure><p>Network Load Balancing distributes IP traffic to multiple copies (or <em>instances</em>) of a TCP/IP service, such as a Web server, each running on a host within the cluster. Network Load Balancing transparently partitions the client requests among the hosts and lets the clients access the cluster using one or more “virtual” IP addresses. From the client’s point of view, the cluster appears to be a single server that answers these client requests. As enterprise traffic increases, network administrators can simply plug another server into the cluster. Similarly, if traffic decreases, servers can be taken offline and the feature will balance traffic among the remaining hosts.</p><h4>Scenario</h4><p>We configure nodes installed with two network interface cards operating in unicast mode in order to separate handling of traffic as indicated below:</p><ol><li>Network Interface Card 1 (Subnet 192.168.0.x)<br>- Bound to network load balancing<br>- Handles incoming client requests, heartbeat messages and remote control traffic<br>-Mapped to the virtual IP address (Microsoft refers to this as the Cluster IP, and real IP address (Microsoft refers to this as the Dedicated IP)</li><li>Network Interface Card 2(Subnet 172.16.0.x)<br>- Handles communication between cluster hosts <br>- Handles individual node traffic caused by management tasks such as using Remote Powershell to remove roles and features<br>- Can be used to access backend-file and database servers</li></ol><h4>Prerequisites</h4><ul><li>Hyper-V</li><li>4 virtual machines running Windows Server 2012 R2<br>Consist of: 1 Root Domain Controller and 3 member servers running as Cluster Nodes</li><li>1 virtual machine running Windows 8.1</li><li>AD Domain: Contoso</li><li>2 Virtual Networks to allow two separate subnets as each server has two network interface cards</li></ul><h4>Components</h4><p>1. Cluster Nodes : NYC-SRV1, NYC-SRV2, NYC-SRV3<br>2. Domain Controller — NYC-ROOTDC (important roles: DNS and NAT)<br>3. Virtual Networks: CContoso, ClusterSubnet<br>4. Sample website: support.contoso.com<br>5. Windows 8.1 Client</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*lWx9ZdI0cpp4Ucz6DGOiug.png" /><figcaption>Figure 2. Demonstration Setup</figcaption></figure><h4>Steps to setup a Network Load Balancing cluster</h4><ol><li>Review if each cluster node has two network adapters. One adapter connected to local private subnet and the other one connected to cluster subnet (MAC Address spoofing should be enabled for this one for Unicast mode to work)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*Hi4pxGKiPUPfhWnUxe4lwQ.png" /><figcaption>Figure 3. Virtual Machine Setting for NYC-SRV1 on Hyper-V</figcaption></figure><p>2. Login to NYC-ROOTDC, NYC-SRV1, NYC-SRV2, NYC-SRV3</p><p>3. On NYC-SRV1, open Windows PowerShell and run the following command. This installs the Network Load Balancing feature on NYC-SRV1, NYC-SRV2 and NYC-SRV3.</p><pre>Invoke-Command -Computername NYC-SVR1,NYC-SVR2,NYC-SRV3 -command {Install-WindowsFeature NLB,RSAT-NLB}</pre><p>4. On NYC-SRV1, create an NLB cluster running on Unicast mode by executing the following command.</p><pre>New-NlbCluster -InterfaceName &quot;Ethernet 3&quot; -OperationMode Unicast-ClusterPrimaryIP 192.168.0.101 -ClusterName NYC-NLB</pre><p>This command binds network load balancing to network adapter “Ethernet 3”. Please modify according to the assigned Ethernet Adapter name.</p><p>192.168.0.101 — is the Cluster IP or the virtual IP Address. It is the IP address that is shared among the hosts of a Network Load Balancing cluster and used by clients to address the cluster as a whole.</p><p>192.168.0.11- is the host’s Dedicated IP. It is the cluster host’s unique IP address used for network traffic not associated with the cluster (for example, Telnet access to a specific host within the cluster).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*deY1Bhxl_GXq8Ia5tXFcKA.png" /><figcaption>Figure 4. ipconfig /all results on NYC-SRV1</figcaption></figure><p>5. On NYC-SRV1, add NYC-SRV2 and NYC-SRV3 to cluster by running the following commands:</p><pre>Add-NlbClusterNode -InterfaceName &quot;Ethernet 3&quot; -NewNodeName &quot;NYC-SVR2&quot; -NewNodeInterface &quot;Ethernet 5&quot;</pre><p>Ethernet 5 — is the network adapter name on NYC-SRV2 bound to the cluster</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*ZCgFfrmDj8hh63NBQQxTiA.png" /><figcaption>Figure 5. ipconfig on NYC-SRV2 after adding to the cluster</figcaption></figure><pre>Add-NlbClusterNode -InterfaceName &quot;Ethernet 3&quot; -NewNodeName &quot;NYC-SVR3&quot; -NewNodeInterface &quot;Ethernet 6&quot;</pre><p>Ethernet 6 — is the network adapter name on NYC-SRV3 bound to the cluster</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*H3b_lVNK7wiOGB1ewmS04Q.png" /><figcaption>Figure 6. ipconfig on NYC-SRV3 after adding to the cluster</figcaption></figure><p>6. On NYC-SRV1, validate the NLB Cluster in Network Load Balancing Manager console. Nodes NYC-SRV1, NYC-SRV2, and NYC-SRV3 should display with the status of <strong>“Converged”</strong>.</p><p>When a host is added to the cluster, it invokes a process called “convergence”. <strong>Convergence </strong>is a process in which the hosts exchange heartbeat messages to determine a new, consistent state of the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*15O_kSkQlvVfCDMVIYHNjg.png" /><figcaption>Figure 7. Network Load Balancing Manager console</figcaption></figure><p><strong>Test the Network Load Balancing Cluster</strong></p><ol><li>Install Web Server on the cluster hosts by running the command below on each host.</li></ol><pre>Import-Module ServerManager<br>Add-WindowsFeature Web-Server -IncludeAllSubfeature</pre><p>2. Create a static basic website on each cluster host that is accessible at <a href="http://support.contoso.com./">http://support.contoso.com.</a> Detailed steps on how to set up a website on IIS is accessible at <a href="https://www.atlantic.net/community/howto/build-static-website-on-iis/">atlantic.net</a> community site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*o4xdNYLethaDf9Dy5xUoWg.png" /><figcaption>Figure 8. Internet Information Services (IIS) Manager</figcaption></figure><p>Index page on this website contains the following basic html.</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;title&gt;Contoso Support&lt;/title&gt;<br>&lt;body&gt;<br>&lt;h1&gt;Welcome to Contoso Support&lt;/h1&gt;<br>&lt;p&gt;Hello world!&lt;/p&gt;<br>&lt;em&gt;This page is generated from NYC-SRV1 node.&lt;/em&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>The text inside the &lt;em&gt; block is added to determine which node the web page will be fetched from. Modify the text inside the &lt;em&gt; block according to the cluster host name.</p><p>3. On NYC-SRV1, add a type A resource record to the DNS zone “contoso” in order to resolve support.contoso.com lookups.</p><pre>Invoke-Command -Computername NYC-ROOTDC -command {Add-DNSServerResourceRecordA –zonename contoso.com –name support –Ipv4Address 192.168.0.101}</pre><p>4. Install NAT on NYC-ROOTDC to allow routing of http requests to the NLB cluster. A detailed instruction on how to install NAT is available at <a href="http://www.dell.com/support/article/us/en/19/HOW10169/EN">Dell’s Knowledge Base site</a>.</p><p>NAT or Network Address Translation allows a single device, such as a router, to act as an agent between the Internet (or public network) and a local network (or private network), which means that only a single unique IP address is required to represent an entire group of computers to anything outside their network.</p><p>This step is specific only to this demonstration. We use NYC-ROOTDC as our Domain Controller, DNS server and Router server. NYC-ROOTDC has two network adapters. One adapter connected to the 192.168.0.x subnet and the other connected to the 172.16.0.x subnet.</p><p>5. Turn on and login to Windows 8.1 client computer (connected to the 172.16.0.x subnet). Open Internet Explorer and load <a href="http://support.contoso.com./">http://support.contoso.com.</a> Web page is fetched from the NYC-SRV3 node as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*0lsh4zLWPVoxZsUciNqLIw.png" /><figcaption>Figure 9. Web page is fetched from the NYC-SRV3 node.</figcaption></figure><p>6. On NYC-SRV1, stop NYC-SRV3 node in the Network Load Balancing console as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*Zk_YWfUmBBcpnrK_e9y3ag.png" /><figcaption>Figure 10. Stopping NYC-SRV3 on Network Load Balancing Manager Console</figcaption></figure><p>7. On Windows 8.1 client computer, reload <a href="http://support.contoso.com./">http://support.contoso.com.</a> Web page is fetched from NYC-SRV2 node as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8cpXf3xBhTI0YWq1OaJfWw.png" /><figcaption>Figure 11. Web page is fetched from the NYC-SRV2 node.</figcaption></figure><p>Network Load Balancing cluster servers emit a <em>heartbeat message</em> to other hosts in the cluster, and listen for the heartbeat of other hosts. If a server in a cluster fails, the remaining hosts adjust and redistribute the workload while maintaining continuous service to their clients.</p><h4>Conclusion</h4><p>In this demonstration, we show that Network Load Balancing provides the following benefits:</p><ul><li>Distributes client requests or network load efficiently across multiple servers</li><li>Ensures high availability and reliability by sending requests only to servers that are online</li><li>Provides the flexibility to add or subtract servers as demand dictates</li></ul><p>On each cluster host, we installed two NICs operating on Unicast mode. This configuration not only allows cluster nodes to communicate with each other, it increases performance by diverting all cluster-related communications to a dedicated NIC. In addition, this configuration operates in unicast mode, so there are no router compatibility problems.</p><h4>References</h4><p>1. “Network Load Balancing”, TechTarget, <a href="http://searchservervirtualization.techtarget.com/definition/Network-Load-Balancing-NLB">http://searchservervirtualization.techtarget.com/definition/Network-Load-Balancing-NLB</a></p><p>2. “Network Load Balancing Technical Review”, Microsoft Developer Network, <a href="https://msdn.microsoft.com/en-us/library/bb742455.aspx">https://msdn.microsoft.com/en-us/library/bb742455.aspx</a></p><p>3. “Sample Configuration — Network Load Balancing (NLB) Configuration”, VMWare Knowledge Base, <a href="https://kb.vmware.com/selfservice/search.do?cmd=displayKC&amp;docType=kc&amp;docTypeID=DT_KB_1_1&amp;externalId=1006778">https://kb.vmware.com/selfservice/search.do?cmd=displayKC&amp;docType=kc&amp;docTypeID=DT_KB_1_1&amp;externalId=1006778</a></p><p>4. “Build A Static Website On IIS Using Windows Server 2012”, Atlantic.net Community, <a href="https://www.atlantic.net/community/howto/build-static-website-on-iis/">https://www.atlantic.net/community/howto/build-static-website-on-iis/</a></p><p>5. “Network Address Translation FAQ”, Cisco. <a href="http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/26704-nat-faq-00.html">http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/26704-nat-faq-00.html</a></p><p>6. “Configuring Windows Server 2012 R2 as a Router”, Dell Knowledge, <a href="http://www.dell.com/support/article/us/en/19/HOW10169/EN">http://www.dell.com/support/article/us/en/19/HOW10169/EN</a></p><p>7. “What is Load Balancing?”, Nginx, <a href="https://www.nginx.com/resources/glossary/load-balancing/">https://www.nginx.com/resources/glossary/load-balancing/</a></p><p>8. “Network Load Balancing cluster modes: advantages and disadvantages”, Search Windows Server TechTarget, <a href="http://searchwindowsserver.techtarget.com/tip/Network-Load-Balancing-cluster-modes-advantages-and-disadvantages">http://searchwindowsserver.techtarget.com/tip/Network-Load-Balancing-cluster-modes-advantages-and-disadvantages</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2de140a10dac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/how-to-implement-network-load-balancing-in-unicast-mode-2de140a10dac">How to Implement Network Load Balancing in Unicast mode</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recreating a real world scenario….virtually (Part Two)]]></title>
            <link>https://medium.com/tech-jobs-academy/recreating-a-real-world-scenario-virtually-part-two-5ffa1a4a1ab8?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ffa1a4a1ab8</guid>
            <category><![CDATA[windows-server]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[hyper-v]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Alejandro Reyes]]></dc:creator>
            <pubDate>Fri, 09 Sep 2016 15:03:06 GMT</pubDate>
            <atom:updated>2016-09-09T15:03:06.110Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Author’s Note: This post will be part two of a series in which I will be creating an infrastructure for a company called Contoso. It will consist of four virtual machines connected to an isolated network. We will have Active Directory and Federation Services along with a Windows 8.1 as a client on our virtual infrastructure. Some background in Hyper-V and servers will be useful to fully understand. Some prior knowledge in PowerShell will come in handy for parts one and two since all the setup will be done through it.</em></p><h4><strong>Part One: Setting up our environments.</strong></h4><h4>We will first install Windows Server 2012 R2 and Windows 8.1 on our machines.</h4><p>The first steps will consist of installing our operating systems to our virtual machines. In this environment we will use Windows Server 2012 R2 for both ContosoAD2 and ContosoFS2. Lastly we will use Windows 8.1 for our client machine. The screenshot below will be the same for both of our Server 2012 installations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8jYed3NO7NB0l7pvnQAhLA.png" /><figcaption>Here we just selected our desired language and keyboard input method</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztnzz4hdPGbkBeYKSsdWNw.png" /><figcaption>Next we just clicked INSTALL NOW.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vyI3XggYzsqajUZoI7RClQ.png" /><figcaption>Select Windows Server 2012 R2 Standard Evaluation Server with GUI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5t9J_bWKMDAoMWMffVWdg.png" /><figcaption>Accept the LICENSE TERMS and click NEXT</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q7VYQpz8EdXExNzd_KU_LA.png" /><figcaption>Select CUSTOM to make sure you select the correct partition. (or you can go ahead and select Upgrade).</figcaption></figure><p>On the following steps you will input your password for the ADMINISTRATOR account and click continue. Once this is done and you log in, you will now have Windows Server 2012 R2 up and running on your two virtual machines.</p><p>These steps will be very similar to installing Windows 8.1, with the exception to the screenshots below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wow3tH77q12M33mF0WAbAA.png" /><figcaption>Input your desired PC Name</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfinKqX0GgCJiLw6gEz_7w.png" /><figcaption>Select a Username and Password; click finish and you will be done.</figcaption></figure><h4>Once our operating systems are all setup, the next step is to install Active Directory on ContosoAD2 Server.</h4><p>The next step was change the name of our server and setup anything other information under <em>Local Server. </em>Afterwards we will install active directory onto ContosoAD2, with the domain of Contoso.com. Once this is done we proceeded to installing DNS.</p><p>Open <em>Server Manager → </em>select <em>Local Server</em> on the left hand side → click on the server name. This name was generated automatically and tends to be hard to distinguish/remember, so the first step is to rename our server to something distinguishable (ContosoAD2). Once you input the new server name you will need to restart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*VZQrTyyhwEt1JER2tefc3Q.png" /></figure><p>Once it reboots you need to open <em>Server Manager → </em>click on <em>Add roles and features</em>. This will prompt the <em>Add roles and Features Wizard. </em>For <em>Installation type</em> select <em>Role-based or feature-based installation </em>and then click next. On server selection make sure to select the correct server from the server pool. Under <em>Server Roles</em> select <em>Active Directory Domain Services.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*YX1BBVhfpJcU1jECmxElBA.png" /><figcaption>Install ADDS and click Next.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*hbUV56RxlO1exOxodUO31g.png" /><figcaption>On this pop-up make sure to select ADD FEATURES</figcaption></figure><p>On the <em>Confirmation</em> prompt select <em>Restart the destination server automatically if required</em> and click <em>Install</em>. Now all you need to do is wait a few minutes while the new role is installed on ContosoAD2 server.</p><p>The next step will consist of configuring a forest in our active directory, as soon as you open <em>Server Manager</em> you will notice a yellow notification next to a flag on the top right corner. Click on it and select promote to <em>Domain Controller. </em>Since we are creating a new forest, we will need to select <em>Add A New Forest</em> and insert out desired <em>Root Domain Name. </em>On <em>Domain Controller Options</em> have <em>Windows Server 2012 R2</em> as both your forest functional level and your domain functional level. Also verify that both <em>DNS Server &amp; Global Catalog</em> check boxes are selected. For <em>Password</em> you can enter your desired password and click <em>Next</em> five times until you are able to select <em>Install</em>. Once the installation completes and your VM restarts you will have completed setting up your forest for Contoso.com.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*9UIDZ4EoXTAzp3Mb8yf0mA.png" /><figcaption>Adding a new forest</figcaption></figure><h4>Connecting ContosoFS2 to our Contoso Domain and installing DHCP (Dynamic Host Configuration Protocol.)</h4><p>Turn on ContosoFS2 and open <em>Server Manager, </em>on the right hand side select <em>Local Server. </em>The first thing to change is the name of the server to ContosoFS2 and this is done by selecting the blue hyper-link next to <em>Computer Name. </em>On the <em>Computer Name/Domain changes</em> window you will change the name of computer. Under <em>Member of:</em> select domain and type Contoso.com. After you click <em>OK</em>, you will need to restart the VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*1PYZPPzvrkXkLty2tLirng.png" /><figcaption>Setting up the computer name and Domain</figcaption></figure><p>Next step consisted of installing the <em>DHCP</em> role on ContosoFS2. This was done by opening <em>Server Manager</em> and doing <em>Dashboard → Add Roles and Features. </em>On the <em>Add roles and features wizard</em> click next on both <em>Before you begin, Installation Type </em>and <em>Server Selection.</em> For <em>Server Roles</em> select <em>DHCP Server,</em> on the pop-up select <em>Add Features</em>. Afterwards click <em>Next</em> two times followed by <em>installing.</em> After it completes installing you will need to click on the yellow notification to commit the DHCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*xD-b4y-i3iFo0ZppkevHuA.png" /><figcaption>installing DHCP</figcaption></figure><h4>Configuring so that our Windows8_1Client2 can obtain an IP Address through our DHCP server.</h4><p>This step is very simple, since all the computers are connected to the same network all you need to do is open a command prompt on our windows client machine. Once this was done all that is needed was to type <em>IPconfig /release </em>followed by a <em>Ipconfig /renew.</em></p><h4>The last step in part two of the series will consist of installing <a href="https://technet.microsoft.com/en-us/library/cc731209(v=ws.11).aspx">RSAT </a>(Remote Server Administration Tool) onto our windows client.</h4><p>First you will need to download RSAT from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=39296">here</a>. It is crucial to verify that you are downloading the correct version for the client VM. Once the download is complete you will need to need to move this .MSU file to our Scripts2 VHD that was created in <a href="https://medium.com/tech-jobs-academy/recreating-a-real-world-scenario-virtually-part-one-5d237e39b3e#.uk1v0o8mr">part one of the series</a>. This is simply done by mounting our Scripts2 VHD and moving our RSAT download to it, just make sure to eject the drive once you are done.</p><p>The next step is to attach the Scripts2 VHD to our Windows Client, but first you need to make sure that the client VM is turned off before proceeding. In order to attach the VHD to our client you need to open <em>Server Manager → Right click the Windows 8.1 Client →Settings.</em> On the setting window select <em>IDE Controller 1</em> and select<em> Hard Drive </em>followed by clicking add.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*A-AeQ3wooAyLRt5RjVjrKw.png" /><figcaption>Add a hard drive</figcaption></figure><p>On the following screen under <em>Media</em> select <em>Virtual Hard Disk</em> and click <em>Browse. </em>Here you need to point to the location of the <em>Scripts2</em> VHD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*4-RrRDSENnxwbieZql2Z3Q.png" /><figcaption>Once your VHD is attacked you can press OK to continue.</figcaption></figure><p>Turn on your virtual machine and go to<em> File Explorer. </em>Afterwards click on the hard drive (Scripts2) in order to have access to the RSAT download. Double click the .MSU file to begin the installation. If you get a security warning select <em>Open</em>. Afterwards select the license terms. The installation should not take very long, once it is complete you will have finished the setup portion.</p><h4>Conclusion of Part Two</h4><p>Part two of the series covered the final touches of setting up our environment. We did the operating system installation on all of our virtual machines and began creating our infrastructure. On ContosoAD2 we installed our Active Directory Domain Services and setup our domain controller. ContosoFS2 held our DHCP server and finally Remote Server Administration Tool was installed on our client machine. In Part Three we will begin to implement real world scenarios in which we will use our Contoso setup.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ffa1a4a1ab8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/recreating-a-real-world-scenario-virtually-part-two-5ffa1a4a1ab8">Recreating a real world scenario….virtually (Part Two)</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recreating a real world scenario….virtually (Part One)]]></title>
            <link>https://medium.com/tech-jobs-academy/recreating-a-real-world-scenario-virtually-part-one-5d237e39b3e?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/5d237e39b3e</guid>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[hyper-v]]></category>
            <dc:creator><![CDATA[Alejandro Reyes]]></dc:creator>
            <pubDate>Wed, 03 Aug 2016 17:03:27 GMT</pubDate>
            <atom:updated>2016-08-31T02:27:47.348Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Author’s Note: This post will be the initiation of a series in which I will be creating an infrastructure for a company called Contoso. It will consist of four virtual machines connected to an isolated network. We will have Active Directory and Federation Services along with a Windows 8.1 as a client on our virtual infrastructure. Some background in Hyper-V and servers will be useful to fully understand. Some prior knowledge in PowerShell will come in handy for parts one and two since all the setup will be done through it.</em></p><h4>PART ONE: SETUP OF VIRTUAL MACHINES</h4><h4><strong>Creating four VHD’s (Virtual Hard Disks) &amp; connecting them to their respective VM (Virtual machine).</strong></h4><p>In order to begin we will be creating four VHD’s we will first create a folder in which all the VHD’s will be stored. In this case they will be stored on our internal hard drive inside a folder named <em>Contoso_Lab2. </em>The following command is done on PowerShell in order to create the folder inside our <em>E</em> drive.</p><pre><em>New-Item -ItemType Directory -Path &lt;Desired Path&gt;</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*4tDzFHAuH-Qc3C6LoF8j9Q.png" /><figcaption>This screenshot demonstrates how we created our folder</figcaption></figure><p>This command below creates virtual hard disks and this was done for the following:</p><ul><li><em>ContosoAD2</em> 120GB (Will contain Active Directory)</li><li><em>ContosoFS2</em> 120GB (Will contain Federation Services)</li><li><em>Windows8_1Client2</em> 120GB (Will contain our Windows 8.1 Client)</li><li><em>Scripts2</em> 10GB (Will be a VHD in which we will place all of our scripts inside)</li></ul><pre><em>New-VHD -Path E:\Contoso_Lab2\&lt;Desired Name of VHD&gt;.vhd -SizeBytes &lt;</em>desired space&gt;<em>GB</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*cK0hGH8XkT6uUcIhypjd9w.png" /><figcaption>This procedure was done for each VHD.</figcaption></figure><p>Next we need to create our virtual machines for each VHD. PowerShell was also used in this case, since it was much more faster then using the GUI (Graphic User Interface).</p><pre><em>New-VM -Name&lt;</em>insert VMname here&gt;<em> -MemorystartupBytes &lt;</em>desired RAM&gt;<em> GB -VHDPath E:\Contoso_Lab2\&lt;Name of VHD&gt;</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*KEVXo5NkD8M999k4VDBaVA.png" /><figcaption>Only the creation of virtual machines for ContosoAD and ContosoFS is needed.</figcaption></figure><h4><strong>This portion consists of creating a <em>private network</em> switch named <em>ContosoPrivate2</em> and connect your VMs.</strong></h4><p>First we need to create our virtual switch. In this case it will be private since we want our computers to isolated for now.</p><pre>New-VMSwitch -Name &lt;Insert Name of the switch&gt; -SwitchType &lt;Desired switch type&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*WMq634g28K-SuB9s-J1gOQ.png" /></figure><p>The next step is to connect each VM to the newly created virtual switch. This will allow them to communicate with each other.</p><pre>Connect-VmNetworkAdapter -VMName &lt;name of VM&gt; -SwitchName &lt;Name of the switch&gt; </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*LIKCzNI12snSAKCsiT06uA.png" /><figcaption>This step is done for each respective VM.</figcaption></figure><h4><strong>Mounting ISO</strong></h4><p>The final step for this first part of the series will be installing the VM’s. All the configurations and modifications can be done through there Hyper-V Manager GUI, but we will continue to use PowerShell since it can be quicker to make the changes. Before starting up the machines and installing, we need to mount the ISO file to each machine. In my case I already had the ISO files containing the evaluation versions for Windows Microsoft Server 2012 and Windows 8.1. <em>ContosoAD</em> and <em>ContosoFS</em> will both run Windows Server 2012R2 meanwhile Windows 8.1 will be on <em>Windows8_1Client2</em>.</p><pre>Set-VMDvdDrive -VmName &lt;Name of VM&gt; -Path &lt;Path to the ISO&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*Wzgf4jR_-z9PNjpwTtVrEA.png" /><figcaption>This is done for each VM</figcaption></figure><p>I personally like to verify that all the installation configuration was done correctly before launching and starting the virtual machines. For this I use the GUI in Hyper-V Manager. In order to view this you need to open <strong>Hyper-V Manager</strong> then you right-click the desired VM and select <strong>Settings.</strong> Below is a screenshot of my configured settings for ContosoAD2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*2tnTq4dLBtbMGBkXERMXLQ.png" /><figcaption>Screenshot of VM settings</figcaption></figure><h4>Conclusion…for now</h4><p>This concludes the end of part one for this mini-series. By now you have two virtual machines named <em>ContosoAD2, ContosoFS2 </em>and <em>Windows8_1Client2</em>. with their respective VHDs and an extra VHD for Scripts any PowerShell scripts. Part two will be covering the installation of Windows Server and Windows 8.1.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d237e39b3e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/recreating-a-real-world-scenario-virtually-part-one-5d237e39b3e">Recreating a real world scenario….virtually (Part One)</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Network Infrastructure for Tailspin Toys]]></title>
            <link>https://medium.com/tech-jobs-academy/network-infrastructure-for-tailspin-toys-7eadd5a0675?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/7eadd5a0675</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Pupel Barua]]></dc:creator>
            <pubDate>Fri, 22 Jul 2016 21:12:42 GMT</pubDate>
            <atom:updated>2016-07-22T21:12:42.095Z</atom:updated>
            <content:encoded><![CDATA[<p>The purpose of this project was to create a <a href="https://www.techopedia.com/definition/16955/network-infrastructure">network infrastructure</a> for Tailspin Toys which is a large manufacturer and importer of toys, educational products and sports equipment. This <a href="https://www.techopedia.com/definition/16955/network-infrastructure">network infrastructure</a> will be designed to meet the needs of a new business venture with Fabrikam Corporation, who will work on a new line of sports uniforms and be sold by Tailspin Toys. My team and I created a work plan with specific milestones to be completed in a reasonable time frame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZnhTJOvifDmWUieIX_4AA.png" /></figure><p>Our goals:</p><ol><li>Configure a network of 5 servers isolated from all other servers in our environment.</li><li>Servers must have 2012R2 Core installed via Bootable USB<strong> </strong>drives.</li><li>A PowerShell script<strong> </strong>must be developed to configure the network settings on the servers.</li><li>Install a Forest Root Domain called <em>Tailspintoys.com</em> on one of the servers with DNS.</li><li>Install 2 Domain Controllers with DNS in a child domain called <em>corp.tailspintoys.com</em>.</li><li>A CSV file of users will need to be added to AD using a script.</li></ol><p>My favorite part about this project was working with my team and identifying skill sets. Everyone is not an expert so it was a great experience to learn from one another and understanding each other’s strengths. Looking back, I wish I had more time to work on this project. We had to complete this project within a week so the project was split up and my focus was to create a PowerShell script to import a <a href="https://en.wikipedia.org/wiki/Comma-separated_values">CSV </a>file with a list of users and to sort them into groups within <a href="https://msdn.microsoft.com/en-us/library/bb742424.aspx">Active Directory</a>. With more time I would challenge myself to complete the project on my own. The most difficult part about this project was to make decisions which required a group vote. Most of the time, each person wanted to try a different method, or take a different route to solve the problem. While it is a good way to discover multiple ways to do the same thing, a lot of time was lost in decision making.</p><p>Working on this project has helped develop my problem solving skills. I had to learn how to create a script of <a href="https://en.wikipedia.org/wiki/Windows_PowerShell">PowerShell</a> commands. It seemed simple at first because of the amount of resources online. The hard part was to conceptually understand different lines of code and the result of specific code. Variables are often used in PowerShell to minimize the amount of typing, which are then used logically to create more advanced functions. After looking at many examples, I was able to recreate my own version of importing a CSV file and extracting the information I wanted to create groups in Active Directory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7eadd5a0675" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/network-infrastructure-for-tailspin-toys-7eadd5a0675">Network Infrastructure for Tailspin Toys</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Attack a network by using a rogue DHCP server]]></title>
            <link>https://medium.com/tech-jobs-academy/attack-a-network-by-using-a-rogue-dhcp-server-8c8acea315ab?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/8c8acea315ab</guid>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Ezra Undag]]></dc:creator>
            <pubDate>Fri, 22 Jul 2016 21:11:35 GMT</pubDate>
            <atom:updated>2016-08-16T23:54:31.367Z</atom:updated>
            <content:encoded><![CDATA[<p>This article was created after I left a rogue DHCP server running and connected to the laboratory’s private network. As a result, other computers in the lab were getting non-routable IP addresses thus preventing them from connecting to the internet.</p><h4>What is DHCP?</h4><p>Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network.</p><h4>What is a rogue DHCP server?</h4><p>A rogue DHCP server is a DHCP server set up on a network by an attacker, or by an unaware user, and is not under the control of network administrators. An accidental rogue device is commonly a modem with DHCP capabilities which a user has attached to the network unaware of the consequences of doing so. Rogue DHCP servers are also commonly used by attackers for the purpose of network attacks such as <a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack">Man in the Middle</a>, <a href="http://www.valencynetworks.com/articles/cyber-security-attacks-network-sniffing.html">Sniffing</a>, and <a href="http://whatis.techtarget.com/definition/active-reconnaissance">Reconnaissance </a>attacks.</p><h4>Private Network Demonstration</h4><p>To further study the problem, I replicated the network disruption by connecting a rogue DHCP server in a private environment using Hyper-V. This demonstration makes use of the elements below.</p><ul><li><strong>Hyper-V</strong> — used to simulate a private network environment</li><li><strong>ContosoPrivate </strong>— assigned name of virtual switch</li><li><strong>LON-SVR4</strong> server<strong> </strong>—designated DHCP Server in <em>ContosoPrivate</em> network</li><li><strong>Win-CL </strong>— DHCP enabled client connected to <em>ContosoPrivate</em><strong> </strong>network</li><li><strong>LON-CL2 </strong>— unaware<strong> </strong>DHCP enabled client connected to <em>ContosoPrivate</em><strong> </strong>network</li><li><strong>RogueSRV </strong>— our rogue DHCP server</li><li><strong>Windows Server 2012 R2 </strong>— operating system installed on <em>LON-SVR4</em> and <em>ContosoFS</em></li><li><strong>Windows 8.1</strong><em> </em>— operating system installed on <em>Win-CL</em></li></ul><p>Note: The machines in this demonstration do not belong to any domain but to a WORKGROUP.</p><p>The diagram below shows a simple setup for <em>ContosoPrivate</em> network:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TaWlbR7wqpf45H5xm8fNg.png" /></figure><h4>Scenario before the attack</h4><p>Before we disrupt the network, let us review the current setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*Bbw537xbX-4K8t64JX_-qQ.png" /></figure><p>The image above shows IPV4 scope on <strong>LON-SVR4</strong> DHCP Server[172.16.0.151–172.16.0.153]. <br>A <strong>scope</strong> is a range of IP addresses assigned to computers requesting a dynamic IP address. This is a screenshot taken from <strong>LON-SVR4</strong>&#39;s DHCP Manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*qSh58jAxF1Pkhz62BCSbMw.png" /></figure><p>The image above shows the IP Address assigned by <strong>LON-SVR4</strong> to <strong>Win-CL</strong>.</p><p>To double check, we execute ipconfig command in <strong>Win-CL</strong>. Notice that the DHCP Server is pointing to <strong>172.16.0.26 LON-SVR4&#39;s</strong> IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*G6dRNWX_O1ouOXDRSKqP9Q.png" /></figure><h4>Steps to launch the attack</h4><ol><li>Install DHCP Server role on <strong>RogueSRV</strong>. <br>Note: Before installing DHCP, make sure to set a static IP address which belongs to the same subnet (e.g. 255.255.0.0). For this demonstration, we set the IP address of <strong>RogueSRV</strong> to 172.16.0.30.</li><li>Open DHCP Manager and add a new scope to IPv4. <br>We set it to a small range [172.16.0.151–172.16.0.153]. In this example, we keep the rest of the settings default after the IP range configuration. Activate the scope.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*MRQFXYx84b8U01rmfhgTiw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*QDYDMlNe6unQCCHQO9RcXg.png" /></figure><p>The image above shows IPV4 scope for our rogue dhcp server [172.16.0.155–172.16.0.157].</p><p>3. Connect <strong>RogueSRV</strong> server to network <em>ContosoPrivate</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*VJkEpG8x_5dPMCotiGOSdg.png" /></figure><p>4. Launch a new client computer <strong>LON-CL2 </strong>connected to network <em>ContosoPrivate. </em>It is purposely set to DHCP mode to retrieve dynamic IP address from <strong>LON-SVR4</strong>, our designated DHCP server. However, it retrieved dynamic IP from the rogue dhcp server as shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*qKM8ulRaBIBxN5Hq0-vNVQ.png" /></figure><p>Notice that DHCP Server is pointing to <strong>RogueSRV</strong>’s IP address 172.16.0.30. In other cases, a rogue DHCP server is introduced to a network after all dynamic IPs are exhausted. This is another form of attack called DHCP Starvation.</p><h4>Conclusion</h4><p>This is a basic demonstration of how to attack a network using a rogue DHCP server. The attacks of a rogue DHCP server to the clients can range from a simple denial of service (issuing non-routable ip addresses or wrong DNS information) to the very subtle issuing of rogue DNS server. With this second attack the attacker will set-up the clients to use his DNS server instead of the standard corporate one. His rogue DNS server can be then configured to direct users to fake copies of some sites, for the purpose of credential collection.</p><h4>References:</h4><ol><li>“What is DHCP?”, <a href="https://kb.iu.edu/d/adov">https://kb.iu.edu/d/adov</a></li><li>“DHCP Security — The most overlooked service on the network”, Information Security Short Takes, <a href="http://www.shortinfosec.net/2008/04/dhcp-security-most-overlooked-service.html">http://www.shortinfosec.net/2008/04/dhcp-security-most-overlooked-service.html</a></li><li>“DHCP Rogue Server”, Hakipedia, <a href="http://hakipedia.com/index.php/DHCP_Rogue_Server">http://hakipedia.com/index.php/DHCP_Rogue_Server</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c8acea315ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/attack-a-network-by-using-a-rogue-dhcp-server-8c8acea315ab">Attack a network by using a rogue DHCP server</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Novice’s Guide to Powershell Pipelines - Pt 1]]></title>
            <link>https://medium.com/tech-jobs-academy/a-novices-guide-to-powershell-pipelines-pt-1-95f5d117bf43?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/95f5d117bf43</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[David G]]></dc:creator>
            <pubDate>Fri, 22 Jul 2016 21:10:55 GMT</pubDate>
            <atom:updated>2016-08-09T17:59:56.493Z</atom:updated>
            <content:encoded><![CDATA[<p>A PowerShell pipeline is a sequence in which a command’s output is passed to another command. This sequence can be comprised of two or more segments (pipes). Each segment is comprised of one command (or more specifically a P<a href="https://msdn.microsoft.com/en-us/library/ms714395(v=vs.85).aspx">owerShell cmdlet</a>) with parameters and variables associated with that command. Each segment is delineated by the<strong> |</strong> character.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*sT-j4O4GxVg73uw0zOst-w.jpeg" /><figcaption>Powershell output is passed from left to right.</figcaption></figure><p>The first thing to keep in mind when looking at pipelines in PowerShell is that the output and input that is being passed between commands (cmdlets) is an <strong>object</strong>.</p><h4><strong>What is an object?</strong></h4><p>Think of it as a container that holds <em>parameters </em>(characteristics about the object such as name, length, etc.) and <em>methods </em>(functionality that the object performs such as rename, resize, copy, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*tAPXtqxfMxdd1CgIqwljcQ.jpeg" /><figcaption>Parameters are the object characteristics; Methods are the actions the object can perform</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*zUEINvz6SxmSVByUR_Eytw.jpeg" /><figcaption>A very basic representation of a two segment pipeline.</figcaption></figure><h4><strong>The “dot” operator AND variables</strong></h4><p>The <em>parameters </em>and <em>methods </em>in an object are accessed during command execution by a single “dot” following the object instance name. An example of this will follow.</p><p>When an instance of an object is created, it needs to be given a unique name. This name for the object instance is called a <a href="https://launchschool.com/books/ruby/read/variables"><em>variable</em></a><em>.</em> It is designated by a leading <em>$</em> character.</p><p>Consider the following PowerShell example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*50qKXF2i4pfAgMFkWwaDhw.jpeg" /></figure><p>In the above example, the <em>variable </em><strong>$objectinstance </strong>is being declared. It is an empty variable with no datatype until it is assigned a value. The <em>cmdlet </em><a href="https://technet.microsoft.com/en-us/library/hh849832.aspx">Get-Process</a> returns an object as output that represents the “PowerShell” system <a href="https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx">process</a>. That object instance is then connected to the variable <strong>$objectinstance</strong>. That object’s <em>parameters </em>and <em>methods </em>can now be accessed via this variable.</p><p>In the next line of the above example, we see the line <strong>$objectinstance.Name</strong>. This returns a <a href="http://techterms.com/definition/string">string </a>(a sequence of characters) output -&gt; “powershell”. That is the name of this process object instance. The <em>parameter</em> called “Name” is being accessed through the dot operator and being outputted to the command prompt interface when you type <strong>$objectinstance.Name </strong>and hit <em>enter</em>.</p><p>The final line in the above example is the <em>method </em><strong>GetType() </strong>contained within the object instance being accessed by the dot operator. As we said earlier, a method performs an operation on or for the object or its data. In this case, the method returns the type of object that $objectinstance is and some other characteristics about it. You can call the GetType() method for any object in order to find out what base type of object it is and what the type name is.</p><h4>That pesky <em>$_</em> variable</h4><p>Have you ever seen the <strong>$_ </strong>characters<strong> </strong>used in a pipeline and wanted to shutdown your machine and take a nap? Never fear… this is nothing more than a variable name implicitly created by powershell and automatically applied to the current instance of an object that is running through the pipeline at that moment. When an object is being output by a cmdlet, the <strong>$_ </strong>variable name is simply a way for you to reference the object and to access its <em>parameters</em> and <em>methods</em>.</p><h4>Viewing the Object instance’s available Methods and Parameters</h4><p>You can view the object’s <em>methods</em> and <em>parameters(properties)</em> by piping the object instance to the cmdlet <strong>Get-Member</strong>. This is illustrated in the following image where <em>$objectinstance</em> is the same object variable used earlier in this blog post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*wEP1peGqxFkV931AHwy-iw.jpeg" /><figcaption>Piping an object to Get-Member lists the object’s members including the methods and parameters (properties).</figcaption></figure><h4>A pipeline troubleshooting rule of thumb</h4><p>If you are getting errors or unexpected output from a PowerShell pipeline, a common rule of thumb to troubleshoot the issue is to remove the right-most cmdlet/segment and to replace it with Get-Member so as to resolve what type of object is being passed down the pipe at that stage. Make sure it is the type of object you are intending to pass into the cmdlet that was replaced by Get-Member.</p><p><strong><em>In future parts of this blog series</em></strong>, we will look at filtering and acting on objects in loops, cmdlet native filtering, parameter binding and some best practices when using PowerShell pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95f5d117bf43" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/a-novices-guide-to-powershell-pipelines-pt-1-95f5d117bf43">A Novice’s Guide to Powershell Pipelines - Pt 1</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Learned to Stop Clicking and Love the Shell]]></title>
            <link>https://medium.com/tech-jobs-academy/why-i-learned-to-stop-clicking-and-love-the-shell-8980aa10faa9?source=rss----4df4052f771b---4</link>
            <guid isPermaLink="false">https://medium.com/p/8980aa10faa9</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[why-powershell]]></category>
            <category><![CDATA[windows-server]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Mohammed Chowdhury]]></dc:creator>
            <pubDate>Fri, 22 Jul 2016 21:08:17 GMT</pubDate>
            <atom:updated>2016-07-22T21:08:17.021Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bowBFexAaDk0nsArkqFhDQ.gif" /></figure><p><em>PowerShell, </em>that is.</p><p>And alright, admittedly, I didn’t completely abandon the GUI — it has it’s place. That said, learning how to use PowerShell has sped up my work process considerably.</p><p>I could go on forever about why I love PowerShell, but here are a few of the reasons I prefer PowerShell to the GUI:</p><p><strong>I. Once you’re used to it, PowerShell is just faster (for most things).</strong></p><p>I’m impatient. I don’t enjoy waiting around for a wizard to load just so I can make one small adjustment. <br>For example, here’s how you add a DNS forward lookup zone using the interface (taken from <a href="https://technet.microsoft.com/en-us/library/cc771566%28v=ws.11%29.aspx?f=255&amp;MSPPError=-2147217396">this TechNet article</a>):</p><ol><li>Open the DNS Manager.</li><li>In the console tree, right-click a DNS server and then click <strong>New Zone</strong> to open the New Zone</li><li>Follow the instructions in the wizard.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*HTPSCZXwqPSFbqTcI0-Rgw.png" /><figcaption>MFW I’m waiting for a wizard to do it’s thing</figcaption></figure><p>Why in tarnations would I do all that, when I can just do this:</p><pre>Add-DNSServerPrimaryZone -Name &quot;GlobalNames&quot; -ReplicationScope &quot;Forest&quot;</pre><p><em>The above command is how I added a </em><a href="https://technet.microsoft.com/en-us/library/cc731744(v=ws.11).aspx"><em>GlobalNames Zone</em></a><em> to my recent Tech Jobs Academy project.</em></p><p><strong>II. You can automate tedious, repetitive tasks.</strong></p><p>If you have to add 1000 users to Active Directory, you can just use a PowerShell script to go through a list of users to add and add them all automatically instead of having to add them one at a time.</p><p>Even if you only end up having to add one or two users, having a PS script that will just prompt you for a user’s relevant info and add that user to AD will be much faster than going through the GUI.</p><p>There are also plenty of scripts shared online by fellow techies that can make your job easier. You can edit the scripts to your liking (and don’t forget to thank the person who made it).</p><p><strong>III. When I’m learning how to implement a feature with PowerShell, I end up learning more about that feature than if I had just used the GUI.</strong></p><p>This one may vary from person to person. Having to lookup PowerShell cmdlets and what each of their switches does helps me learn more about a concept than if I just mindlessly clicked through a wizard. Of course, you can always read through the wizard and then read extra material, but I find cmdlet documentation is more succinct.</p><p>There are also certain options you can’t access through the GUI, like setting a Hyper-V VM’s network adapter to trunk mode. Hyper-V Manager only offers a way to set a virtual network adapter to access mode, but you can set it to trunk mode through the <em>Set-VMNetworkAdapterVlan</em> cmdlet.</p><p><strong>IV. Learning PowerShell will give you a competitive edge.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*4CFJmEv93p-THIycnknGKQ.png" /><figcaption>General Turgidson can’t contain his excitement about learning PowerShell</figcaption></figure><p>For whatever reason, there are people out there who just don’t want to learn how to use PowerShell. But PowerShell is more efficient, and knowing how to use it effectively will give you an edge on the job hunt. Becoming comfortable with using a command line interface will also make it easier for you to learn System Administration with other OSes like Linux.</p><p>In my next post, I’ll shed some light on some small things I’m constantly doing to become better at PowerShell.</p><p>If you’d like to learn more about PowerShell, I would highly recommend the following book:<br><a href="http://powershell.com/cs/blogs/ebookv2/"><strong><em>Master PowerShell</em> by Dr. Tobias Weltner</strong></a>, a free online book available at PowerShell.com</p><p>Or if you prefer videos, Don Jones has the <a href="https://www.youtube.com/watch?v=6CRTahGYnws&amp;list=PL6D474E721138865A&amp;index=1"><em>Learn Windows PowerShell in a Month of Lunches</em></a> series on YouTube.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8980aa10faa9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-jobs-academy/why-i-learned-to-stop-clicking-and-love-the-shell-8980aa10faa9">Why I Learned to Stop Clicking and Love the Shell</a> was originally published in <a href="https://medium.com/tech-jobs-academy">Tech Jobs Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>