Part of it is knowing the commands of how to change something.
The bigger part is knowing what to change, and what to change it to.
Do you know what a subnet is? What a subnet mask is?
What a default gateway is? What an IP address is, and why you have the one you have?
Do you know the difference between a DHCP assigned address and a static IP address?
Do you know what a supernet is?
Do you know which subnets are not route-able out to the internet?
Do you know how a DNS client works, and what it's purpose is?
Do you know what a TCP/IP port is?
Do you know the difference between TCP and UDP?
Knowing how to change these things is great, knowing why you are changing them,
and what to change them to is a lot more important.
TCP/IP, routing and firewalls are common across all network devices, the same principles
apply whether it is a Windows system, MacOS system, or Linux, the commands are different,
but the principles are the same.