dhcp release mac os 1

dhcp release mac os

sudo ipconfig set en0 DHCP

Here is what the above code is Doing:
1. Get the current IP address of the computer
2. Get the current subnet mask of the computer
3. Get the current router address of the computer
4. Get the current DNS server address of the computer
5. Set the IP address of the computer to 192.168.1.100
6. Set the subnet mask of the computer to 255.255.255.0
7. Set the router address of the computer to 192.168.1.1
8. Set the DNS server address of the computer to 8.8.8.8
9. Set the computer to use a static IP address
10. Set the computer to use DHCP

Similar Posts