PBQ Stuffs Flashcards

1
Q

What command would you use to display the current ARP cache?

A

arp -a

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

What command would you use to add a static entry into the ARP cache?

A

arp -s [IP Address] [MAC]

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

What command would you use to delete an entry from an arp cache?

A

arp -d [IP Address]

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

What command would you use to manually set the IP address on an interface on a Linux machine?

A

ifconfig eth0 [IP Address] netmask [Subnet Mask]

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

What command would you use to set the default gateway on an interface on a Linux machine?

A

ip route add default via [IP Address] dev eth0

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

What command would you use to set a static IP address + default gateway on an interface on a Windows machine?

A

netsh interface ipv4 set address Ethernet static [IP address] [Subnet Mask] [Default Gateway]

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

What windows command allows you to view and modify the network configuration on a PC

A

netsh

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