ipconfig eth0 -promisc

agnusdei·2024년 7월 20일

ipconfig eth0 -promiscipconfig eth0 promisc는 네트워크 인터페이스의 동작 모드를 제어하는 명령어입니다.

ipconfig eth0 promisc

  • 설명: 이 명령어는 eth0 네트워크 인터페이스를 promiscuous mode로 설정합니다.
  • Promiscuous Mode: 네트워크 인터페이스가 자신에게 전송된 패킷뿐만 아니라, 네트워크를 통해 흐르는 모든 패킷을 수신할 수 있게 설정됩니다. 이 모드는 주로 네트워크 모니터링 및 분석 도구(예: Wireshark)에서 사용됩니다.

ipconfig eth0 -promisc

  • 설명: 이 명령어는 eth0 네트워크 인터페이스의 promiscuous mode를 비활성화합니다.
  • Non-Promiscuous Mode: 네트워크 인터페이스가 자신에게 전송된 패킷만 수신하도록 설정됩니다. 일반적인 네트워크 작업에서는 이 모드가 사용됩니다.

참고: ipconfig는 주로 Windows에서 사용되며, Linux에서는 ifconfigip 명령어를 사용하여 네트워크 인터페이스의 모드를 제어합니다. Linux에서 promiscuous mode를 설정하거나 해제하려면 ifconfigip 명령어를 사용하여 다음과 같은 명령어를 실행할 수 있습니다:

  • 설정: sudo ifconfig eth0 promisc 또는 sudo ip link set eth0 promisc on
  • 해제: sudo ifconfig eth0 -promisc 또는 sudo ip link set eth0 promisc off
profile
DevSecOps, Pentest, Cloud(OpenStack), Develop, Data Engineering, AI-Agent

0개의 댓글