Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
ifconfig [2016/04/27 14:07] steve |
ifconfig [2016/04/27 14:07] steve |
||
---|---|---|---|
Line 32: | Line 32: | ||
</code> | </code> | ||
- | ** Bring an interface online ** | + | Bring an interface online: |
<code> | <code> | ||
Line 38: | Line 38: | ||
</code> | </code> | ||
- | ** Display information about the interface ** | + | Display information about the interface: |
<code> | <code> | ||
Line 44: | Line 44: | ||
</code> | </code> | ||
- | ** Set the IP address of an interface ** | + | Set the IP address of an interface: |
<code> | <code> | ||
Line 52: | Line 52: | ||
Note that if you don't set a broadcast or netmask address when setting the ip (fex: ''ifconfig eth0 192.168.1.1''), then ''ifconfig'' will set them to the default values. Broadcast would be ''192.168.1.255'' and netmask would be ''255.255.255.0''. | Note that if you don't set a broadcast or netmask address when setting the ip (fex: ''ifconfig eth0 192.168.1.1''), then ''ifconfig'' will set them to the default values. Broadcast would be ''192.168.1.255'' and netmask would be ''255.255.255.0''. | ||
- | ** Remove the IP address of an interface ** | + | Remove the IP address of an interface: |
<code> | <code> |