神州数码静态路由及直连路由引入到RIP协议配置

实验要求:掌握静态路由及直连路由引入协议当中的配置

拓扑如下

R1

enable

config

hostname R1

interface g0/6

ip address 192.168.2.254 255.255.255.0

no shutdown

interface s0/1

ip address 192.168.1.1 255.255.255.0

physical-layer speed 64000

encapsulation ppp

no shutdown

exit

ip route 0.0.0.0 0.0.0.0 192.168.1.2

R2

enable

config

hostname R2

interface g0/6

ip address 192.168.3.1 255.255.255.0

no shutdown

interface s0/2

ip address 192.168.1.2 255.255.255.0

physical-layer speed 64000

encapsulation ppp

no shutdown

exit

ip route 192.168.2.0 255.255.255.0 192.168.1.1

router rip

version 2

network 192.168.3.0

redistribute static

redistribute connect

R3

enable

config

hostname R3

interface g0/6

ip address 192.168.3.2 255.255.255.0

no shutdown

exit

router rip

version 2

network 192.168.3.0

猜你喜欢

转载自www.cnblogs.com/guoshiyu/p/9319790.html