下例显示如何将路由器配置成不编号接口路由。源(局部)地址在Ethernet 0和async 6(172.18.1.1)之间共享。缺省远程地址为
172.18.1.2。
interface ethernet 0
ip address 172.18.1.1 255.255.255.0
!
interface async 6
ip unnumbered ethernet 0
async dynamic routing
! default address is on the local subnet
async dynamic address
async default ip address 172.18.1.2
ip tcp header-compression passive
下例显示IP不编号配置如何工作。尽管用户指定地址,但系统响应显示接口是不编号的,用户输入的地址只在响应BOOTP请求时才使用。
router>slip/compressed 10.11.11.254
Password:
Entering async mode.
Interface IP address is unnumbered,MTU is 1500 bytes.
Header compression is on.