2024-06-18 15:35:13 +02:00
|
|
|
# ifconfig
|
|
|
|
|
|
|
|
> Netwerkinterface-configurator.
|
|
|
|
> Meer informatie: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.
|
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
- Bekijk netwerkinstellingen van een interface:
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
`ifconfig {{interface_naam}}`
|
2024-06-18 15:35:13 +02:00
|
|
|
|
|
|
|
- Toon details van alle interfaces, inclusief uitgeschakelde interfaces:
|
|
|
|
|
|
|
|
`ifconfig -a`
|
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
- Schakel een interface uit:
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
`ifconfig {{interface_naam}} down`
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
- Schakel een interface in:
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
`ifconfig {{interface_naam}} up`
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
- Ken een IP-adres toe aan een interface:
|
2024-06-18 15:35:13 +02:00
|
|
|
|
2024-11-05 10:20:24 +01:00
|
|
|
`ifconfig {{interface_naam}} {{ip_adres}}`
|