Network Interface Configuration

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

How do ethernet, serial, and wireless network interfaces appear in linux?

en, sl, wl

2
New cards

If a Network interface is plugged into a PCI slot, how is it represented?

en/sl/wls1

3
New cards

If a network interface is plugged into a USB slot, how is it represented?

en/sl/wlp*s*

4
New cards

If a network interface is integrated into the motherboard, how is it represented?

en/sl/wl01

5
New cards

What commands do you use to see IP info?

ifconfig, ip addr show

6
New cards

What is the downside to using ifconfig for static IP assignments?

It is not persistent

7
New cards

What file must you create to make ifconfig static IP assignments persistent?

/etc/sysconfig/network/

8
New cards

What command do you use to bring down a network interface? what about to bring it up? (if)

ifdown int, ifup int

9
New cards

What command do you use to request an IP address from a DHCP server?

dhclient int

10
New cards

What command do you use to assign a static IP using ip? What about to delete an IP address?

ip addr add ipaddr/cidr dev int, ip addr del ipaddr/cidr dev int

11
New cards

What command do you use to disable a network interface? What about enable it? (ip)

ip link set int down, ip link set int up

12
New cards

What command do you use to stop/start the network service? What about restarting it?

systemctl stop network, systemctl start network, systemctl restart network

13
New cards

What command on init systems do you use to start/restart the network service?

service network start, service network stop

14
New cards

What command do you use to manage Ethernet card properties?

ethtool

15
New cards

What command do you use to manage wireless network interfaces?

iwconfig

16
New cards

What command do you use to manage the ethernet bridge?

brctl

17
New cards

What is network interface bonding?

Combining a group of network interfaces into a single logical bonded interface

18
New cards

How many interfaces can be bonded together?

8

19
New cards

What directory contains network configuration files?

/etc/sysconfig/network-scripts/ifcfg-*

20
New cards

What file is used to configure nameserver addresses?

/etc/resolv.conf