IPConfig, IFConfig, & IP Commands Flashcards

(16 cards)

1
Q

ipconfig

A

Windows: Brief display of current TCP / IP network configuration values, & refreshes DHCP & DNS settings for client / server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ipconfig /all

A

Windows: Full display of current TCP / IP network configuration values, & refreshes DHCP & DNS settings for client / server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ipconfig /release

A

Windows: Release the IP address lease the device holds, including current IP address & network configurations, assigned from a DHCP server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ipconfig /renew

A

Windows: Force device to request a new IP address from a DHCP server, after releasing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ifconfig

A

Linux/MacOS: Display IP address information status of currently active interfaces (no brief version)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ifconfig [device name]

A

Linux/MacOS: Single interface information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ifconfig -a

A

Linux/MacOS: All available interfaces, including down or inactive interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ifconfig -v

A

Linux/MacOS: Verbose, more-detailed version of interface information, including IPv6 timers & hardware addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ifconfig [device name] down

A

Linux/MacOS: Turn off Network Interface Card (NIC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ifconfig [device name] up

A

Linux/MacOS: Turn on / activate Network Interface Card (NIC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ip

A

Linux/MacOS: Assigns an address to a network interface or configures network interface parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ip a

A

Linux/MacOS: Show all interfaces and their associated IP addresses, v4 & v6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ip a add [IP address] dev [device name]

A

Linux/MacOS: Assign a static IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ip a del [ip address] dev [device name]

A

Linux/MacOS: Remove a static IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ip link set dev [device name] address [MAC address]

A

Linux/MacOS: Change MAC address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ip link set dev [device name] promisc on

A

Linux/MacOS: Sets promiscuous mode, device listens to all traffic on network, not just intended traffic. Use to set up packet sniffer / capture