Difference between revisions of "Shell Commands/IfConfig"
From MorphOS Library
(Created page with "'''IfConfig''' - Configures network interfaces Non-standard template, type ''IfConfig -h'' for more information. <nowiki> usage: ifconfig ; show all interfa...") |
(No difference)
|
Revision as of 14:41, 4 January 2016
IfConfig - Configures network interfaces
Non-standard template, type IfConfig -h for more information.
usage: ifconfig ; show all interfaces
ifconfig -h ; usage
ifconfig interface
[ [ address [ dest_addr ] ] [ up ] [ down ][ netmask mask ] ]
[ metric n ]
[ mtu n ]
[ arp | -arp ]
Example:
Ram Disk:> IfConfig
lo0: flags=8009<UP,LOOPBACK,MULTICAST> MTU=16436
inet 127.0.0.1 netmask ff000000
Hardware type: Loopback
wl1: flags=c863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,SANA,MULTICAST> MTU=1500
inet 192.168.1.103 netmask ffffff00 broadcast 192.168.1.255
Hardware type: Ethernet, address: 0:13:49:62:84:7d
Use "ifconfig -h" for usage.