how to change ifconfig lo0 my ifconfig lo0 looks like this: 

lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 16384
options=1203&lt;RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP&gt;
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 192.168.10.11 netmask 0xffffff00
nd6 options=201&lt;PERFORMNUD,DAD&gt;


I need to add inet 127.0.0.1 netmask 0xff000000. How can I do it ?
Run this command in the Terminal:

ifconfig lo0 127.0.0.1/8


Or if you want to keep your current (odd) address for the lo0 interface, then add 127.0.0.1 as an additional (alias) address with:

ifconfig lo0 alias 127.0.0.1