首页 专题 - 实验 - 软件 - 管理 - 布线 - 方案 - 配置 - 问题 - 协议 - 下载 - 交换 - 路由 - 无线 - 安全 - 认证 - Cisco - 华为 - 网吧 - ADSL
您是本帖第1368位浏览者 打印

[求助] 这里面的RIP协议有什么用处?

这里面的RIP协议有什么用处?

下面给出一个完整的配置 with NAT(为了明确例子,广域网连接中的子网变成192.168.1.0/24)

hostname bluegarden

!

enable password bluegarden

!

no ip name-server

!

ip subnet-zero

no ip domain-lookup

ip routing

!

interface Ethernet 0

no shutdown

ip address 10.1.8.1 255.255.255.0

ip address 192.16.1.1 255.255.255.0

ip nat inside

!

interface Serial 0

no shutdown

ip address 192.168.1.2 255.255.255.0

ip nat outside

encapsulation hdlc

ip nat pool bluegarden 192.16.1.10 192.168.50 prefix-length 24

ip nat inside source list 1 pool bluegarden

router rip

version 2

network 10.1.8.0 255.255.255.0

passive-interface Serial 0

access-list 1 permit 10.1.8.0 0.0.0.255

!

ip classless

!

ip route 0.0.0.0 0.0.0.0 Serial 0

no ip http server

snmp-server community public RO

no snmp-server location

no snmp-server contact

!

line console 0

password bluegarden

login

!

line vty 0 4

password bluegarden

login

!

end

>Ctrl Z
相关主题

TOP

好象没什么实际意义
定义了s0口为被动口,只接受信息,不发送信息。

TOP

router rip

version 2

network 10.1.8.0 255.255.255.0



动态路由啊!

TOP

多谢 秋水长天 及追梦人!!!!

TOP

我想这里的RIP协议可能是和ISP联系用的吧,并且做了PASSIVE-INT是不让RIP发送更新信息,避免长时间租用线路吧

TOP