在Linux Network Namespace中设置路由 - 知乎
https://zhuanlan.zhihu.com/p/425143908# openwrt通过安装sudo使用sudo命令 # 本机物理网卡是eth1,在eth1上创建veth0虚拟网卡 sudo ip link add link eth1 name veth0 type macvlan mode bridge # openwrt通过安装ip-full使用ip netns命令 # 创建network namespace net0 sudo ip netns add net0 # 将veth0移入net0中 sudo ip link set dev veth0 netns net0 # 创建veth-pair,可以看作创建了用网线相连的 ...
dhclient-script(8) - Linux man page
https://linux.die.net/man/8/dhclient-scriptThe DHCP client network configuration script is invoked from time to time by dhclient (8). This script is used by the dhcp client to set each interface's initial configuration prior to requesting an address, to test the address once it has been offered, and to set the interface's final configuration once a lease has been acquired.