PBQ Stuffs Flashcards
What command would you use to display the current ARP cache?
arp -a
What command would you use to add a static entry into the ARP cache?
arp -s [IP Address] [MAC]
What command would you use to delete an entry from an arp cache?
arp -d [IP Address]
What command would you use to manually set the IP address on an interface on a Linux machine?
ifconfig eth0 [IP Address] netmask [Subnet Mask]
What command would you use to set the default gateway on an interface on a Linux machine?
ip route add default via [IP Address] dev eth0
What command would you use to set a static IP address + default gateway on an interface on a Windows machine?
netsh interface ipv4 set address Ethernet static [IP address] [Subnet Mask] [Default Gateway]
What windows command allows you to view and modify the network configuration on a PC
netsh