4.3. Ethernet0/0 - Wan口配置

简介:

4.3.1. DHCP 动态IP地址

			
<Netkiller>system-view
System View: return to User View with Ctrl+Z.

interface Ethernet0/0
 port link-mode route
 nat outbound
 ip address dhcp-alloc
 ipsec policy navigator
#

[Netkiller]display dhcp client
Ethernet0/0 DHCP client information:
 Current machine state: BOUND
 Allocated IP: 172.16.0.17 255.255.255.0
 Allocated lease: 172800 seconds, T1: 86400 seconds, T2: 151200 seconds
 DHCP server: 172.16.0.254


[Netkiller]display dhcp client verbose
Ethernet0/0 DHCP client information:
 Current machine state: BOUND
 Allocated IP: 172.16.0.17 255.255.255.0
 Allocated lease: 172800 seconds, T1: 86400 seconds, T2: 151200 seconds
 Lease from 2007.01.01 00:36:08   to   2007.01.03 00:36:08
 DHCP server: 172.16.0.254
 Transaction ID: 0x5d84030b
 Default router: 172.16.0.254
 DNS server: 114.114.114.114
 DNS server: 114.114.115.115
 Client ID: 3030-3066-2e65-3263-
            642e-3733-6430-2d45-
            7468-6572-6e65-7430-
            2f30
 T1 will timeout in 0 day 23 hours 55 minutes 11 seconds.
 			
			

4.3.2. 固定IP地址

interface Ethernet0/0
 port link-mode route
 nat outbound
 ip address 192.168.4.4 255.255.255.0
			





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
网络协议 网络安全 网络虚拟化
|
安全 网络协议 固态存储
LAN口 及 WLAN口 配置
LAN口 及 WLAN口 配置
231 0
|
安全 网络协议 固态存储
LAN口和WLAN口配置
LAN口和WLAN口配置
215 0
|
网络虚拟化
|
网络虚拟化
|
25天前
Porfinet从转Ethernet/IP从总线协议转换网关
通过使用协议转换网关,可以有效实现PROFINET与EtherNet/IP之间的通信互操作,提升工业自动化系统的灵活性和兼容性。关键在于选择合适的网关设备,正确配置网络和协议参数,确保数据的准确传输和实时通信。通过以上步骤,可以顺利实现从PROFINET到EtherNet/IP的协议转换,满足复杂工业环境中的多协议集成需求。
54 31
|
7月前
|
安全 网络安全 网络虚拟化
路由器与交换机:Access/Trunk,Wan/Lan
路由器与交换机:Access/Trunk,Wan/Lan
224 0
|
网络安全 网络虚拟化 网络协议
|
6月前
|
监控 网络安全 网络虚拟化
在 Cisco 设备上配置 GRE 隧道
【8月更文挑战第31天】
243 0
在 Cisco 设备上配置 GRE 隧道

热门文章

最新文章