ITN100 Lab Exercise 5
.docx
keyboard_arrow_up
School
Phoenix College *
*We aren’t endorsed by this school
Course
100
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
7
Uploaded by ChiefHawkMaster1000
ITN100 Lab Exercise 5
Part 1 – Linux network commands. This part of the assignment is
worth 80% of the assignment grade. Please provide a screenshot
where indicated
.
1.
Log into the VA Cyber Range and start the
Ubuntu
machine.
2.
Type
su root
in the terminal
3.
To view the current TCP/IP settings for the network adapter, use this command:
ifconfig eth0
Screenshot
4.
What is the IP address, MTU, network mask, and MAC address for eth0?
10.1.162.220, 9001, 255.255.240.0, and 12:2f:e0:2b:bb:41
5.
Type
ip a
What does the output of this command show that the ifconfig
command did not?
__the ipv6, the default host________________
________________
6.
To go to the /etc directory, use this command:
cd /etc
7.
Linux temporarily stores the IP addresses of name servers in the
/etc/resolv.conf file. Use the following cat command to view the contents of
this file: cat resolv.conf
Screenshot
8.
What is the IP addresses of the current DNS name server(s)?
_169.254.169.253_____________
9.
To go to the /etc/network directory, use this command: cd network
10.
Use the following cat command to view the contents of the /etc/network
: cat interfaces
Screenshot
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Linux Command
Function
ifconfig also: ifcfg, ifup, ifdown, ethtool, nm-tool
/etc/init.d/networking restart ip link set down ip link set up
The ifconfig command is a tool used to display and configure network interfaces. This command will display information about the network card, IP address, broadcast address, and network mask. It also shows how many packets were received and transmitted. There is also information about the loopback device (lo).
ping
The ping command allows the user to test whether or not a network connection is active, the speed of that connection, and how a network behaves given specific data loads.
arpalso: arping
The arp command by itself is used to view the information currently in the ARP table (Address Resolution Protocol). This table maps the IP address of machines on your network segment with their MAC address.
hostnamealso: domainname, dnsdomainname
The hostname command tells you what the hostname of your machine is set to. The…
arrow_forward
Computer Science
You work as the IT security administrator for a small corporate network. You need to configure the network security appliance.
In this lab, your task is to perform the following:
Rename the default user account (cisco) with the following parameters:
Use the user name NSAAdmin.
Use the password KeepOut!@.
Set the idle timeout to 15 minutes.
Configure this user for LAN access only (no WAN access).
Configure the Optional port on the NSA for LAN and configure the LAN ports to act as a DHCP server with the following parameters:
Starting IP Address: 198.28.1.100
Ending IP Address: 198.28.1.250
Primary DNS server address: 163.128.78.93
Secondary DNS server address:163.128.80.93
Set the Default Outbound Policy for IPv4 on the firewall to Allow Always and enable all of the available firewall attack checks.
Enable the IPS on the LAN interface and set the policy to Detect and Prevent for all categories.
arrow_forward
15
Scaling Networks
arrow_forward
Pseudocode Port Scanner
INPUT : IPv4 address with its port range
TASK/function : Try the Internet Protocol address with its a port range
The software will attempt to find open ports on the particular pc within having a connection to every one of them as well as having any successful connection ports, trace a port as open.
OUTPUT : status of port (open/closed)
arrow_forward
Q1) Which task is performed by the dynamic routing protocols? *
a. discover end devices
O b. update routing tables
O c. propagate host gateways
O d. assign automatic IP addressing
Q2) Which of the following is a static routing feature? *
a. Security increases because only the network administrator may change the routing
tables.
O b. Configuration complexity decreases as network size increases.
O c. Routing updates are automatically sent to neighbors.
O d. Routing traffic load is increased when used in stub network links
arrow_forward
please help me
Run the following Data & Network Security commands and display their outputs:a. Command that helps to verify IP-level connectivity.b. Command that displays the kernel’s routing table.
arrow_forward
Shell Script # 5 - NetworkTest.sh
Create a fifth script called (NetworkTest.sh). This script will have one subroutine.
1. The subroutine will check if the system is online (Connected to the internet). If the
system is connected to the internet, then perform the following:
Ping the loopback IP address.
Ping the gateway with 8 packets each packet is 1KB.
Query the Domain Name System to qu.edu.qa.
Save the results in a file called /tmp/PINGRESULTS.TXT.
●
●
Otherwise, perform the following:
• Ping your local machine.
●
Display IP configuration and Routing Table of your Machine.
Store results in a file called /tmp/NETINFO.TXT
Finally reboot the system automatically after 20 seconds.
arrow_forward
Solve all these problems
What is an APIPA?
What is the relationship between DHCP server and APIPA?
What are the DHCP scopes?
What is the DOS command prompt to start the DHCP server?
What is the DOS command prompt to stop the DHCP server?
What is the DOS command prompt to pause the DHCP server?
What is the DOS command to return the mac address of any clients from server?
Is it possible for linux Os computers to take dynamic ip configurations from windows server?
What is 80/20 Rule for Servers and Scopes?
There are two versions of Network Monitor are available, what are there? What the differences between them?
What is the WINs in windows server?
In which partition of file system the DHCP configuration files store?
What is the difference between network and Network-Manager services?
arrow_forward
Summary
This configuration is applicable in most of windows operating system. In this lesson I used windows 10
version build 14393. In configuring static IP address we need to remember some key points such as,
gateway and dns ip address. We could not create different range of IP addresses that contrast to current
network configuration if we are going to connect our computer to an existing WAN. However, we can
skip DNS and default gateway if just wanted to test the connectivity of two or more different nodes in a
standalone LAN connection and without having router, gateway or any ISP modem
arrow_forward
13. Which of the following statement about the STP is false?
OA. The alternate port is the backup port for the RP port.
B. If all switches priority are the same, they will compare the MAC address, and the value is the smaller the better.
OC. In a new STP network, the first step is electing root bridge, all switches will compare the BID.
D. All the port on the root bridge is root port.
arrow_forward
Solve all these problems
What is the DOS command prompt to start the DHCP server?
What is the DOS command prompt to stop the DHCP server?
What is the DOS command prompt to pause the DHCP server?
What is the DOS command to return the mac address of any clients from server?
Is it possible for linux Os computers to take dynamic ip configurations from windows server?
What is 80/20 Rule for Servers and Scopes?
There are two versions of Network Monitor are available, what are there? What the differences between them?
What is the WINs in windows server?
In which partition of file system the DHCP configuration files store?
What is the difference between network and Network-Manager services?
arrow_forward
Identify what each of the commands should be doing. These will require you to do some research on the commands in question.
5. tcpdump ‘src net 10.123.13.0/24 and dst net 131.16.45.64/27 and not icmp and dest port 22’
arrow_forward
Using CISCO's Packet Tracer
arrow_forward
You have just added new DNS servers to the server options on your DHCP server. Generally, what is the quickest way for your clients to receive the new settings? *
Reboot the workstation twice
Wait for the DHCP client to renew its lease
Clear the DNS server cache
Run ipconfig /renew on the client
Run ipconfig /registerDNS on the client
arrow_forward
You have recently installed a new Windows Server 2019 system. Following the installation, your server does not have Internet access. You notice that your network interface has an IPv4 address of 169.254.3.29 and an IPv6 address that starts with FE80. What do these indicate, and what steps should you take to remedy the problem? Within a one-page memo, prepare a sample IT support ticket that includes this information.
arrow_forward
Host Monitoring Script
Write a Bash script that displays ONLY the following information in the terminal console. You will
need to ensure that any information not requested is filtered out of any command output.
1 Machine name and uptime.
2 OS name and version, kernel version number and OS type (i.e. 32/64 bit), shown on one
line using a colon (:) as a delimiter.
3 The IP address, broadcast address and manufacturer of the main network interface (not
loopback).
4 CPU model, number of CPUs and number of cores per CPU.
5 The maximum round trip time (in milliseconds) for 4 ICMP echo/echo reply packets (ping)
sent to/received from www.bbc.co.uk.
6 The command issued and PID of the top 5 RAM-consuming processes.
7 The amount of free memory (in MB) and free swap (in MB).
8 The number of installed HDDs and their capacity (in GB) and the number of partitions on each.
*** please write the answer by the keyboard ***
Please share screenshot of output
arrow_forward
Q4) Which event will take place if
there is a port security violation on
switch S1 interface Fa0/1, as given
below? *
S1# show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count)
(Count)
(Count)
Fa0/1
2
restrict
A. A notification is sent
B. A syslog message will be logged
C. Packets with unknown source
addresses won't be dropped
D. The interface will go into error-
disabled state
arrow_forward
The Linux and Windows netstat programmes both report the active network connections on their respective platforms. Explain how to use this command to determine if a website is terminating connections or, if connection pooling is being used, if it is returning connections to the pool. If a connection is shared by a large number of users, its closure may be delayed.
arrow_forward
You have recently installed a new Windows Server 2019 system. Following the installation, your server does not have Internet access. You notice that your network interface has an IPv4 address of 169.254.3.29 and an IPv6 address that starts with FE80. What do these indicate, and what steps should you take to remedy the problem?
arrow_forward
Assume that the below Port Security Mac
Addresses configuration is a applied on SW.
Specify which port(s) will preform violation? *
Ports
Mac Address
Fa 0/1
Fa 0/2
Fa 0/3
Fa 0/4
Fa 0/5
Fa 0/6
AC
E2
3D
5F
DA
7E
Drop
Send
Turn off
Unknown
Syslog
Port
Frames
Protect
Restrict
Shutdown
arrow_forward
Task no 1.
Explore the syntax “ipconfig” and “winipcfg”. Note down your observations?Ipconfig is a TCP/IP utility that you can use at the command prompt. You can use theipconfig command to get information about the configured TCP/IP parameters on local or remote computers on the network. Winipcfg is a similar utility for Windows 95 and Windows 98 clients.The winipcfg command allows a user to network related information such as theIP address,subnet mask,default gateway,DHCP server,WINS server, etc. The winipcfg program is available in Windows 95, Windows 98, Windows ME, Windows NT.Windows 2000, Windows XP, and later versions of Windows do not use this command. If you are using a later version of Windows use the ipconfig command instead.
TASK NO: State the size of MAC address both in Bytes and Bits-Size of MAC address is 6 in bytes and 48 in bits.Differentiate between IP and MAC address.
arrow_forward
2- Write the command that shows the IP, the MAC addresses, and their assignatior
type.
arrow_forward
NOTE: I need CIM PowerShell command please don't use get-wmiobject command
What class can you use to view the current IP address of a network adapter? Does the class have any methods that you could use to release a DHCP lease? (Hint: network is a good keyword here.)
arrow_forward
Kali Linux SSH.log analysis
Give me the commands to answer these questions in Linux
How many different IP address attempted to break in to the SSH server?
How many different usernames were attempted?
What IP address made the most number of attempts?
What is the country of origin of the above IP address?
What was the 5th most attempted username?
What is the total number of failed attempts (ssh attempt failures)?
arrow_forward
Solve all these problems
What is a DHCP server?
What are the advantages and disadvantages of using DHCP server instead of static ips?
What is the steps need for any client to have configuration form DHCP server?
What is an APIPA?
What is the relationship between DHCP server and APIPA?
What are the DHCP scopes?
What is the DOS command prompt to start the DHCP server?
What is the DOS command prompt to stop the DHCP server?
What is the DOS command prompt to pause the DHCP server?
What is the DOS command to return the mac address of any clients from server?
Is it possible for linux Os computers to take dynamic ip configurations from windows server?
What is 80/20 Rule for Servers and Scopes?
There are two versions of Network Monitor are available, what are there? What the differences between them?
What is the WINs in windows server?
In which partition of file system the DHCP configuration files store?
What is the difference between network and Network-Manager services?
arrow_forward
Case Project 6-3 You must install 125 computers for a new business that wants to run TCP/IP and have access to the Internet. The ISP in town will assign you only four public IP addresses, so you decide to assign the addresses of the computers in the range of 172.16.1.1/16 through 172.16.1.125/16.
Please answer the following questions:
1) What else must you do to allow these computers to access the Internet?
2) What range of IP addresses are considered Public?
3) Would the configuration benefit from the incorporation of a router or a switch? Justify your answer.
arrow_forward
Step 1: Write a script to find and print your local IP address Use the following code: import socket hostname = socket.gethostname() local_ip = socket.gethostbyname(hostname) print(local_ip)
Step 2: Write a script to find and print your OS platform and release (for example, "Windows version 10") Use the following code: import platform print(platform.system ()) print(platform.release ()) Step 3: Write a script to find and print a "ping sweep"? Use the following code: import os my_ip="192.168.10.103" # sub your ip address os.system('ping -n 4 {}'.format(my_ip))
Step 4: Write a script to find and print current day and time import time now = time.localtime() print(time.strftime("%m/%d/%Y %I:%M:%S %p", now)) Extra Credit: Add code to Step#4 which prints a greeting, either "good morning", "good afternoon", "or good evening", depending on the current time.
arrow_forward
Based on Figure 4-1 shown below, the Fa0/2 interface on switch S1 is "shutdown" after
switchport port-security mac-address CAFE.AABD.888A command entered the switch S1.
b)
Anticipate what caused the reason that the Fa0/2 interface is shut down. Explain your view.
< Fa0/1
Fa0/24
Fa0/2
PC1
R1
S1
sif show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count)
(Count)
(Count)
---
Fa0/1
Shutdown
Fa0/2
1
Shutdown
Total Addresses in System (excluding one mac per port)
: 0
Max Addresses limit in System (excluding one mac per port)
: 8192
Figure 4-1: A network topology
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Related Questions
- Linux Command Function ifconfig also: ifcfg, ifup, ifdown, ethtool, nm-tool /etc/init.d/networking restart ip link set down ip link set up The ifconfig command is a tool used to display and configure network interfaces. This command will display information about the network card, IP address, broadcast address, and network mask. It also shows how many packets were received and transmitted. There is also information about the loopback device (lo). ping The ping command allows the user to test whether or not a network connection is active, the speed of that connection, and how a network behaves given specific data loads. arpalso: arping The arp command by itself is used to view the information currently in the ARP table (Address Resolution Protocol). This table maps the IP address of machines on your network segment with their MAC address. hostnamealso: domainname, dnsdomainname The hostname command tells you what the hostname of your machine is set to. The…arrow_forwardComputer Science You work as the IT security administrator for a small corporate network. You need to configure the network security appliance. In this lab, your task is to perform the following: Rename the default user account (cisco) with the following parameters: Use the user name NSAAdmin. Use the password KeepOut!@. Set the idle timeout to 15 minutes. Configure this user for LAN access only (no WAN access). Configure the Optional port on the NSA for LAN and configure the LAN ports to act as a DHCP server with the following parameters: Starting IP Address: 198.28.1.100 Ending IP Address: 198.28.1.250 Primary DNS server address: 163.128.78.93 Secondary DNS server address:163.128.80.93 Set the Default Outbound Policy for IPv4 on the firewall to Allow Always and enable all of the available firewall attack checks. Enable the IPS on the LAN interface and set the policy to Detect and Prevent for all categories.arrow_forward15 Scaling Networksarrow_forward
- Pseudocode Port Scanner INPUT : IPv4 address with its port range TASK/function : Try the Internet Protocol address with its a port range The software will attempt to find open ports on the particular pc within having a connection to every one of them as well as having any successful connection ports, trace a port as open. OUTPUT : status of port (open/closed)arrow_forwardQ1) Which task is performed by the dynamic routing protocols? * a. discover end devices O b. update routing tables O c. propagate host gateways O d. assign automatic IP addressing Q2) Which of the following is a static routing feature? * a. Security increases because only the network administrator may change the routing tables. O b. Configuration complexity decreases as network size increases. O c. Routing updates are automatically sent to neighbors. O d. Routing traffic load is increased when used in stub network linksarrow_forwardplease help me Run the following Data & Network Security commands and display their outputs:a. Command that helps to verify IP-level connectivity.b. Command that displays the kernel’s routing table.arrow_forward
- Shell Script # 5 - NetworkTest.sh Create a fifth script called (NetworkTest.sh). This script will have one subroutine. 1. The subroutine will check if the system is online (Connected to the internet). If the system is connected to the internet, then perform the following: Ping the loopback IP address. Ping the gateway with 8 packets each packet is 1KB. Query the Domain Name System to qu.edu.qa. Save the results in a file called /tmp/PINGRESULTS.TXT. ● ● Otherwise, perform the following: • Ping your local machine. ● Display IP configuration and Routing Table of your Machine. Store results in a file called /tmp/NETINFO.TXT Finally reboot the system automatically after 20 seconds.arrow_forwardSolve all these problems What is an APIPA? What is the relationship between DHCP server and APIPA? What are the DHCP scopes? What is the DOS command prompt to start the DHCP server? What is the DOS command prompt to stop the DHCP server? What is the DOS command prompt to pause the DHCP server? What is the DOS command to return the mac address of any clients from server? Is it possible for linux Os computers to take dynamic ip configurations from windows server? What is 80/20 Rule for Servers and Scopes? There are two versions of Network Monitor are available, what are there? What the differences between them? What is the WINs in windows server? In which partition of file system the DHCP configuration files store? What is the difference between network and Network-Manager services?arrow_forwardSummary This configuration is applicable in most of windows operating system. In this lesson I used windows 10 version build 14393. In configuring static IP address we need to remember some key points such as, gateway and dns ip address. We could not create different range of IP addresses that contrast to current network configuration if we are going to connect our computer to an existing WAN. However, we can skip DNS and default gateway if just wanted to test the connectivity of two or more different nodes in a standalone LAN connection and without having router, gateway or any ISP modemarrow_forward
- 13. Which of the following statement about the STP is false? OA. The alternate port is the backup port for the RP port. B. If all switches priority are the same, they will compare the MAC address, and the value is the smaller the better. OC. In a new STP network, the first step is electing root bridge, all switches will compare the BID. D. All the port on the root bridge is root port.arrow_forwardSolve all these problems What is the DOS command prompt to start the DHCP server? What is the DOS command prompt to stop the DHCP server? What is the DOS command prompt to pause the DHCP server? What is the DOS command to return the mac address of any clients from server? Is it possible for linux Os computers to take dynamic ip configurations from windows server? What is 80/20 Rule for Servers and Scopes? There are two versions of Network Monitor are available, what are there? What the differences between them? What is the WINs in windows server? In which partition of file system the DHCP configuration files store? What is the difference between network and Network-Manager services?arrow_forwardIdentify what each of the commands should be doing. These will require you to do some research on the commands in question. 5. tcpdump ‘src net 10.123.13.0/24 and dst net 131.16.45.64/27 and not icmp and dest port 22’arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.Computer ScienceISBN:9781337569798Author:ECKERTPublisher:CENGAGE LA+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,