Ifconfig: Difference between revisions
From Hackepedia
Jump to navigationJump to search
Added virt. interfaces |
m typo fixes |
||
Line 8: | Line 8: | ||
<code>ifconfig</code> is also used | <code>ifconfig</code> is also used in the case of a [[virtual interface]] (in this case off the third physical interface on a [[Linux]] box): | ||
$ ifconfig eth2:1 | $ ifconfig eth2:1 |
Latest revision as of 21:02, 21 March 2006
To set or read settings of a network interface in UNIX you use the ifconfig
command. To see all interfaces in a system type:
$ ifconfig -a
Specific interfaces can be viewed as well:
$ ifconfig hme0
ifconfig
is also used in the case of a virtual interface (in this case off the third physical interface on a Linux box):
$ ifconfig eth2:1