Home Environment Configuration - Henryisgreat/SYS-265-TechJournal GitHub Wiki

FW01 Firstly, assign the ip addresses em0/em1 as wan/lan respectively. Once that is finished, the IP addresses can be assigned.

`Assign

wan --> 10.0.17.17/24 LAN --> 10.0.5.2/24 Upstream gateway --> 10.0.17.2 DNS --> 8.8.8.8`

WKS01 static ip config IP: 10.0.5.100 Subnet: 255.255.255.0 Default Gateway: 10.0.5.2 Dns: 10.0.5.2

navigate to https//10.0.5.2 to configure the rest of fw01 hostname: fw01-henry domain: henry.local dns: 8.8.8.8 uncheck block rfc1918

rename WKS01 to wks01-henry

AD01 sconfig

set IP: 10.0.5.5 Netmask: 255.255.255.0 Gateway: 10.0.5.2 Preferred DNS: 10.0.5.2 computer name: ad01-henry

After reboot, run the following commands

Install-windowsfeature ad-domain-services -includemanagementtools

install-addsforest -domainname henry.local

Join wks01 to domain: henry.local

MGMT01 In powershell, configure the network using sconfig

configure IP:10.0.5.10 gateway: 10.0.5.2 dns: 10.0.5.5 hostname: mgmt01-henry Domain: henry.local

Once finished, install "Remote Server Administration Tools" in Server Manager

run $Userfirst = Read-Host "User first name: " $Usersec = Read-Host "user second name: " $userlogon = Read-Host "user log-in name"

New-ADUser henryadmin-GivenName "henry" -Surname "howell" -SamAccountName "henry.howell-adm" -UserPrincipalName "henry.howell-adm" -AccountPassword(Read-Host -AsSecureString "enter password" ) -Enabled $true echo "useradmin made" Add-ADGroupMember -Identity "Domain Admins" -Members henry.howell-adm echo "added to admin group"

Add-DnsServerResourceRecordA -Name "fw01-henry" -CreatePtr -ZoneName "henry.local" -AllowUpdateAny -IPv4Address "10.0.5.2" echo "Record A made" Add-DnsServerResourceRecordPtr -Name 'fw01-Henry' -ZoneName "10.0.5.in-addr.arpa" -PtrDomainName "fw01-henry.henry.local" -ComputerName "fw01-henry.henry.local"-AllowUpdateAny echo "ptr for record a made" ping fw01-henry.henry.local