What is the difference between iface eth0 inet manual and iface eth0 inet static?
来源:互联网 发布:android 移动网络状态 编辑:程序博客网 时间:2024/06/15 13:54
iface eth0 inet static
: Defines a static IP address for eth0
iface eth0 inet manual
:To create a network interface without an IP address at all. Usually used by interfaces that are bridge or aggregation members, or have a VLAN device configured on them
For more information read:
- https://wiki.debian.org/NetworkConfiguration
Take a look on the file /usr/share/doc/ifupdown/examples/network-interfaces.gz
, you can know more about manual and some cases to use:
# 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
0 0
- What is the difference between iface eth0 inet manual and iface eth0 inet static?
- What is the difference between static and global variables ?
- What is the difference between test, [ and [[ ?
- Linux and C[2]: What is the function of inet_aton or inet ntoa ?
- what is the difference between the setTimeout and setInterval
- What is the difference between DHTML and the DOM?
- What is the difference between the mouseover and mouseenter events?
- What is the difference between AWT and SWT?
- What is the difference between User Control and Custom Control?
- What is the difference between an EXE and a DLL?
- What is the difference between XML and C or C ?
- What is the difference between SMOD and CMOD?
- what is the difference between little-endian and big-endian.
- What is the difference between procedural and nonprocedural language?
- What is the difference between a thread and a process?
- What is the difference between objectForKey and valueForKey?
- What is the difference between Microsoft TMG and UAG ?
- What is the Difference Between http and https?
- java图片灰度化原理与实现(未测试)
- js利用数组实现队列与堆栈效果
- Spring 定时器
- Ubuntu下安装Android studio!!
- 建议直接从inode 获取设备号
- What is the difference between iface eth0 inet manual and iface eth0 inet static?
- Spark Transformation —— randomSplit
- 复制构造函数的浅拷贝和深拷贝
- Java开发之文件上传 (未测试)
- 物理学的理解
- 个人项目上传GitHub
- 【深度学习】简单地利用keras做车标识别
- linux驱动中的,时间, 延时
- EndNote安装教程与使用教程 关联加载word