Launch Terminal.app:

networksetup -setmanual "Ethernet"  ip mask gateway
networksetup -setdnsservers "Ethernet" dns
Annunci