<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.
interface Ethernet0/0 port link-mode route nat outbound ip address 192.168.4.4 255.255.255.0
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。