在我的Linux机器上,我应该如何配置我的eth1网卡来与我的ddclient一起工作?它不能使用静态ip地址,因为我的路由器不支持它,但我只能找到静态地址的配置?
我希望eth1网卡是公共地址,我的eth0是我的专用地址。我目前还没有设置eth1,但这是我的配置:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
post-up iptables-restore < /etc/iptables.up.rules发布于 2014-01-26 12:08:36
请参阅/etc/ file文件。在这种情况下,我们可以像这样配置dns:
nameserver 192.168.0.1
nameserver 192.168.0.2在上面的例子中,它意味着主dns和辅助dns的ip。替换属于dns提供程序的示例的ip。
https://askubuntu.com/questions/410941
复制相似问题