usage: [B]ipconfig set <interface name> <method> <method args>
<method> is one of BOOTP, MANUAL, DHCP, INFORM, NONE, AUTOMATIC-V6, MANUAL-V6, 6TO4, NONE-V6[/B]
iam-a-imac:~ tneckel$ man ipconfig
ciaddr = 0.0.0.0
yiaddr = 192.168.4.10
siaddr = 192.168.4.1
giaddr = 0.0.0.0
chaddr = 0:3:93:7a:d7:5c
sname = dhcp.mycompany.net
file =
options:
Options count is 10
dhcp_message_type (uint8): ACK 0x5
server_identifier (ip): 192.168.4.1
lease_time (uint32): 0x164a
subnet_mask (ip): 255.255.255.0
router (ip_mult): {192.168.4.1}
domain_name_server (ip_mult): {192.168.4.1}
domain_name (string): mycompany.net
end (none):
# ipconfig getoption en0 router
192.168.4.1
SEE ALSO
configd(8), bootpd(8), scselect(8)
HISTORY
The ipconfig command first appeared in Mac OS X Version 10.0 Public Beta.