iface eth0 inet 매뉴얼과 iface eth0 inet 정적의 차이점은 무엇입니까? 차이점은 무엇이며 iface eth0 inet

차이점은 무엇이며 iface eth0 inet manual그리고 iface eth0 inet static?

감사



답변

iface eth0 inet static: eth0에 대한 고정 IP 주소를 정의합니다

iface eth0 inet manual: IP 주소없이 네트워크 인터페이스를 생성합니다. 일반적으로 브리지 또는 집계 멤버이거나 VLAN 장치가 구성된 인터페이스에서 사용됩니다.

자세한 내용은 다음을 참조하십시오.

파일을 살펴보면 /usr/share/doc/ifupdown/examples/network-interfaces.gz수동 및 일부 사용 사례에 대해 자세히 알 수 있습니다.

# Set up an interface to read all the traffic on the network. This
# configuration can be useful to setup Network Intrusion Detection
# sensors in 'stealth'-type configuration. This prevents the NIDS
# system to be a direct target in a hostile network since they have
# no IP address on the network. Notice, however, that there have been
# known bugs over time in sensors part of NIDS (for example see
# DSA-297 related to Snort) and remote buffer overflows might even be
# triggered by network packet processing.
#
# auto eth0
# iface eth0 inet manual
#   up ifconfig $IFACE 0.0.0.0 up
#       up ip link set $IFACE promisc on
#       down ip link set $IFACE promisc off
#       down ifconfig $IFACE down

# Set up an interface which will not be allocated an IP address by
# ifupdown but will be configured through external programs. This
# can be useful to setup interfaces configured through other programs,
# like, for example, PPPOE scripts.
#
# auto eth0
# iface eth0 inet manual
#       up ifconfig $IFACE 0.0.0.0 up
#       up /usr/local/bin/myconfigscript
#       down ifconfig $IFACE down


답변