23.3. Ethernet0/0 - Wan口配置

简介:

23.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.
 			
			

23.3.2. 固定IP地址

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





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

目录
相关文章
|
7月前
|
存储 网络协议 分布式数据库
网络名词术语解析 | 路由、交换机、集线器、半/全双工、DNS、LAN、WAN、端口、MTU
网络名词术语解析 | 路由、交换机、集线器、半/全双工、DNS、LAN、WAN、端口、MTU
153 0
|
8月前
|
安全 网络协议 固态存储
LAN口和WLAN口配置
LAN口和WLAN口配置
138 0
|
9月前
|
安全 网络协议 固态存储
LAN口 及 WLAN口 配置
LAN口 及 WLAN口 配置
111 0
|
12月前
|
Linux 网络虚拟化
|
vr&ar 网络架构 安全
一文告诉你SD-WAN与MPLS的区别在哪里?
  一、SD-WAN与MPLS争论   在软件定义的广域网(SD-WAN)的出现是基于传统硬件的网络提供软件定义网络(SDN),存在多协议标签交换(MPLS),一种用于高效网络流量的协议。MPLS的操作类似于交换机和路由器,位于第2层和第3层之间(MPLS有时被认为是第2.5层),它使用数据包转发技术和标签来做出数据转发决策,标签被施加在第2层(数据链路)和第3层(网络)标头之间。
2188 0
|
网络协议 网络安全 网络虚拟化
|
网络虚拟化
|
网络虚拟化
|
网络安全 网络虚拟化 网络协议