There are many solutions to this problem (ordered by increasing difficulty order).
Change the opensuse server interface configuration so that it takes a static address instead of relying on the DHCP server.
DHCP reserved IP address. If you also run the DHCP server, the make sure the MAC address of the opensuse adapter is always assigned the same IP address. If you're on you domestic LAN at home, then this is probably done on the Internet router. Use the http interface and navigate to the DHCP server configuration form.
In the first two cases, then you just need to update your windows host files in \windows\system32\drivers\etc\hosts to assign a name to that static address.
Configure the opensuse machine to update the DNS/WINS database upon being assigned a DHCP address.
Use a common fixed address server to synchronise a configuration file upon change of network status/address. Develop a sync client service on windows to automatically update the host file upon reception of the notification.
发布评论
评论(1)
这个问题有很多解决方案(按难度递增的顺序排列)。
更改 opensuse 服务器接口配置,使其采用静态地址而不是依赖 DHCP 服务器。
DHCP 保留的 IP 地址。如果您还运行 DHCP 服务器,请确保 opensuse 适配器的 MAC 地址始终分配相同的 IP 地址。如果您使用家中的国内 LAN,则这可能是在互联网路由器上完成的。使用 http 界面并导航至 DHCP 服务器配置表单。
在前两种情况下,您只需更新 \windows\system32\drivers\etc\hosts 中的 Windows 主机文件即可为该静态地址分配名称。
配置 opensuse 计算机在分配 DHCP 地址后更新 DNS/WINS 数据库。
使用通用的固定地址服务器在网络状态/地址发生变化时同步配置文件。在windows上开发一个同步客户端服务,在收到通知时自动更新host文件。
There are many solutions to this problem (ordered by increasing difficulty order).
Change the opensuse server interface configuration so that it takes a static address instead of relying on the DHCP server.
DHCP reserved IP address. If you also run the DHCP server, the make sure the MAC address of the opensuse adapter is always assigned the same IP address. If you're on you domestic LAN at home, then this is probably done on the Internet router. Use the http interface and navigate to the DHCP server configuration form.
In the first two cases, then you just need to update your windows host files in \windows\system32\drivers\etc\hosts to assign a name to that static address.
Configure the opensuse machine to update the DNS/WINS database upon being assigned a DHCP address.
Use a common fixed address server to synchronise a configuration file upon change of network status/address. Develop a sync client service on windows to automatically update the host file upon reception of the notification.