ipconfig /all
displays the network configuration of the host. Use the /all option for the complete network configuration.
Host Name . . . . . . . . . . . . : DESKTOP-NR2LOJC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : gprc.ab.ca
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : gprc.ab.ca
Description . . . . . . . . . . . : Realtek PCIe GbE Family Controller
Physical Address. . . . . . . . . : 74-D4-35-E6-4C-4E
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4dbb:96a0:5d66:221a%12(Preferred)
IPv4 Address. . . . . . . . . . . : 172.20.121.8(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : November 19, 2024 2:28:41 PM
Lease Expires . . . . . . . . . . : November 19, 2024 3:28:38 PM
Default Gateway . . . . . . . . . : 172.20.121.254
DHCP Server . . . . . . . . . . . : 172.20.253.244
DHCPv6 IAID . . . . . . . . . . . : 108319797
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2E-97-5D-5A-74-D4-35-E6-4C-4E
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2E-97-5D-5A-74-D4-35-E6-4C-4E
DNS Servers . . . . . . . . . . . : 172.20.251.9
172.20.251.99
172.20.251.98
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 0A-00-27-00-00-0A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::f4b8:4432:9382:cc42%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 420085799
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2E-97-5D-5A-74-D4-35- E6-4C-4E
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Host Name: DESKTOP-NR2LOJC
The name of your computer in the network.
Primary DNS Suffix: (empty)
This field would display the DNS suffix used for the domain of the computer, if it is part of a domain. Since it is empty, the computer isn't connected to a domain.
Node Type:
The node type determines how the NetBIOS naming functions are performed. For example, the naming functions can be performed by broadcast, by a NetBIOS Name Server (NBNS) such as a Windows Internet Name Service (WINS) server, or by both. The node type also determines the order in which the functions are performed.
IP Routing Enabled:
This shows whether the computer can route traffic to other networks. In this case, your computer isn't set up as a router.
WINS Proxy Enabled:
WINS (Windows Internet Name Service) is used for name resolution in older networks. This field indicates that your computer is not using a WINS proxy to route WINS queries.
DNS Suffix Search List:
This shows the DNS suffix that is automatically appended to names when trying to resolve them (e.g., if you try to connect to "server", it would try "server.gprc.ab.ca")
Ethernet Adapter Ethernet 1 & 2:
Connection-specific DNS Suffix:
Similar to the DNS suffix search list, this is specific to the Ethernet connection, indicating that DNS queries will use this domain suffix.
Description: Realtek PCIe GbE Family Controller
The name of the network adapter.
Physical Address:
This is the MAC address (Media Access Control address) of the Ethernet adapter. It uniquely identifies your network interface on the local network.
DHCP Enabled:
DHCP (Dynamic Host Configuration Protocol) is enabled, meaning the computer automatically receives its IP address from a DHCP server.
Autoconfiguration Enabled:
This indicates that the computer can automatically assign itself an IP address if no DHCP server is available.
Link-local IPv6 Address:
This is the IPv6 address assigned to the computer for local communication within the network (link-local address). It is used for communication within the same network segment without needing a router.
IPv4 Address:
The primary IPv4 address assigned to the computer. This is used for most network communication.
Subnet Mask:
The subnet mask determines the network portion and the host portion of the IP address.
Lease Obtained:
The time when the DHCP lease was acquired.
Lease Expires:
The time when the DHCP lease will expire and needs to be renewed.
Default Gateway:
The IP address of the router or device that connects this computer to other networks, including the internet.
DHCP Server:
The IP address of the DHCP server that assigned the computer's IP address.
DNS Servers:
The IP addresses of the DNS servers that resolve domain names to IP addresses for this computer.
NetBIOS over TCP/IP:
NetBIOS allows Windows computers to communicate over a network using names rather than IP addresses. This setting indicates that NetBIOS over TCP/IP is enabled for this interface.
PING <host>
The command ping <host> sends a series of packets and expects to receive a response to each packet. When a return packet is received, ping reports the round-trip time (the time between sending the packet and receiving the response). Some routers and firewalls block ping requests, so you might get no response at all. Ping can be used to check whether a computer is up and running, to measure network delay time, and to check for dropped packets indicating network congestion. Note that <host> can be either a domain name or an IP address. By default, ping will send a packet every second indefinitely; stop it with Control-C.
Below are some examples of using the ping <host> command:
nslookup
The command nslookup <host> will do a DNS query to find and report the IP address (or addresses) for a domain name or the domain name corresponding to an IP address. To do this, it contacts a "DNS server." Default DNS servers are part of a computer's network configuration. (For a static IP address in Linux, they are configured in the file /etc/network/interfaces that you encountered in the last lab.) You can specify a different DNS server to be used by nslookup by adding the server name or IP address to the command.
nslookup <host> <server>
Results from nslookup are shown within the pictures on either side.
TRACERT <host>
The command traceroute <host> (tracert for Windows) will show routers encountered by packets on their way from your computer to a the specified <host>. For each n = 1, 2, 3, ..., traceroute sends a packet with "time-to-live" (ttl) equal to n. Every time a router forwards a packet, it decreases the ttl of the packet by one. If the ttl drops to zero, the router discards the packet and sends an error message back to the sender of the packet. (Again, as with ping, the packets might be blocked or might not even be sent, so that the error messages will never be received.) The sender gets the identity of the router from the source of the error message. Traceroute will send packets until n reaches some set upper bound or until a packet actually gets through to the destination. It actually does this three times for each n. In this way, it identifies routers that are one step, two steps, three steps, ... away from the source computer. A packet for which no response is received is indicated in the output as a *.
It took less time to find and report the IP address or domain name for nwpolytech.ca then google; many things can attribute to this, namely distance from servers of that particular domain. In this instance, we were closer to nwpolytech .
15.50.212.59
255.255.240.0
15.50.235.8
NO
00001111.00110010.11010100.00111011
+
11111111.11111111.11110000.00000000
-----------------------------------------------------------
00001111.00110010.11010000.00000000
00001111.00110010.11101011.00001000
+
11111111.11111111.11110000.00000000
-----------------------------------------------------------
00001111.00110010.11100000.00000000
192.168.24.1
255.255.248.0
192.168.31.198
YES
11000000.10101000.00011000.00000001
+
11111111.11111111.11111000.00000000
-----------------------------------------------------------
11000000.10101000.00011000.00000000
11000000.10101000.00011111.11000010
+
11111111.11111111.11111000.00000000
-----------------------------------------------------------
11000000.10101000.00011000.00000000
192.168.0.3
255.225.255.192
192.168.0.62
YES
11000000.10101000.00000000.00000001
+
11111111.11111111.11111111.11000000
-----------------------------------------------------------
11000000.10101000.00000000.00000000
11000000.10101000.00000000.00111111
+
11111111.11111111.11111111.11000000
-----------------------------------------------------------
11000000.10101000.00000000.00000000
192.168.0.10
255.255.255.128
192.168.0.120
YES
11000000.10101000.00000000.00001010
+
11111111.11111111.11111111.10000000
-----------------------------------------------------------
11000000.10101000.00000000.00000000
11000000.10101000.00000000.01111000
+
11111111.11111111.11111111.10000000
-----------------------------------------------------------
11000000.10101000.00000000.00000000
A: This device is likely an onboard network adapter, as it is listed as a PCIe controller, which typically refers to an Ethernet network interface card (NIC).
Device Name: "Realtek PCIe GbE Family Controller"
A: 74-D4-35-E6-4C-4E
COMMAND: "ipconfig /all"
A: There is no wireless connection, a LAN connection was used with an Ethernet cord. If it were a wireless connection, it would show up under "Wireless LAN adapter", and you could check for security settings in the network properties.
A: 172.20.121.8
A: The computer is using Dynamic IP addressing, as indicated by "DHCP Enabled: Yes"
A: fe80::4dbb:96a0:5d66:221a%12
A: After disabling and enabling your network connection, the IPv4 address could either remain the same or change. (Honestly, gapped out and forgot to test this while in class.)