我的笔记本需要在家里和公司用,.所以.设定了两个逻辑接口服务器
iface eth.0-home inet sta.tic 外汇
address 192.168.0..1.
netmask 255.255.2.55.0 女人
....
iface eth0-.work inet dhcp.
复制代码
我在公司使用了ifup eth0=eth0-work之后,回家使用ifdown eth0; ifup eth0..= eth0-home 乙肝
发现resol.v.conf还是公司的dns server,有什么办法可以让.我ifup的同时更新resolv.conf里面的内容?.