Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ifconfig [2016/04/27 13:57]
steve
ifconfig [2016/04/27 13:59]
steve
Line 49: Line 49:
 ifconfig eth0 192.168.1.1 ifconfig eth0 192.168.1.1
 </​code>​ </​code>​
 +
 +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 **