Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
ifconfig [2016/04/27 13:57] steve |
ifconfig [2016/04/27 13:59] steve |
||
---|---|---|---|
Line 59: | Line 59: | ||
** Set the IP address and broadcast of an interface ** | ** Set the IP address and broadcast of an interface ** | ||
+ | |||
+ | 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''. | ||
<code> | <code> |