Skip to content

Commit 218a9f4

Browse files
Update System_Configuration.md
1 parent 3f741a2 commit 218a9f4

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

DFIR/Digital Forensics/Linux/System_Configuration.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,31 @@ America/New_York
1212
```
1313
The information stored in the /etc/timezone file is typically used by system utilities and services to ensure that the system's time is displayed and interpreted correctly according to the specified time zone. It's important for accurate timekeeping and coordination across systems, especially in networked environments.
1414

15+
## Network Configuration (/etc/network/interfaces)
16+
The `/etc/network/interfaces` used to define network interfaces and their associated configurations, such as IP addresses, netmasks, gateways, and more. Here's a basic example of what you might find in an /etc/network/interfaces file:
17+
```bash
18+
# The loopback network interface
19+
auto lo
20+
iface lo inet loopback
21+
22+
# The primary network interface
23+
auto eth0
24+
iface eth0 inet static
25+
address 192.168.1.100
26+
netmask 255.255.255.0
27+
gateway 192.168.1.1
28+
```
29+
30+
**In this example:**
31+
- The auto lo and subsequent lines configure the loopback interface, which is used for local communication within the system.
32+
- The auto eth0 and subsequent lines configure the primary network interface, eth0, with a static IP address (192.168.1.100), netmask (255.255.255.0), and gateway (192.168.1.1).
33+
34+
35+
36+
37+
38+
39+
1540

1641

1742

0 commit comments

Comments
 (0)