# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# #### 1. Which networking configuration interface is newer and has extended capabilities?

# ##### Ans: ip

# #### 2. Using Predictable Network Interface Device Names (PNIDN) has come into use because:

# ##### Ans: 
# - Many computers are no longer in one location; for example, laptops are on the move, and available interfaces are subject to change
# - On modern systems, the order in which network hardware is found is less predictable
# - Hardware such as USB devices can be added and removed at runtime

# #### 3. Which command(s) will bring the network interface eth0 up and assign an address to it?

# ##### Ans: 
# - sudo ifconfig eth0 up 192.168.1.100
# - sudo ip addr add 192.168.1.100 dev eth0

# #### 4. You can see statistics for the eth0 interface by (select all answers that apply):

# ##### Ans: 
# - doing sudo ifconfig eth0
# - doing sudo ip -s link show eth0
# - looking at /sys/class/net/eth0/statistics

# #### 5. What does MTU stand for?

# ##### Ans: Maximum Transfer Unit (usually 1500 bytes by default) for Ethernet packets

StarcoderdataJupyterScriptsDedupFiltered