Shell Commands/IfConfig

From MorphOS Library

Revision as of 16:41, 4 January 2016 by JPV (talk | contribs) (Created page with "'''IfConfig''' - Configures network interfaces Non-standard template, type ''IfConfig -h'' for more information. <nowiki> usage: ifconfig ; show all interfa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

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.