计算机网络实验

2024-11-30 00:24:25
推荐回答(1个)
回答1:

抛砖引玉~~
三层
vlan 10
vlan 20
configt t
int vlan 10
ip add 192.168.1.1 255.255.255.0
no shut
int vlan 20
ip add 192.168.2.1 255.255.255.0
no shut
router rip

version 2
no aotu-summerary

network 192.168.1.0
network 192.168.2.0

R1
interface f0/0
ip add 192.168.2.2 255.255.255.0
no shut
interface f0/1
ip add 192.168.3.1 255.255.255.0
no shut
rouer rip
version 2
no auto-summerary
network 192.168.2.0
router ospf 100
network 192.168.3.0 0.0.0.255 area 0

R2
IP地址我就不写了~
router ospf 100
network 192.168.3.0 0.0.0.255 area 0
network 192.168.4.0 0.0.0.255 area 0
R1
rouer rip

redistribute ospf 100 metric 1000 100 255 1 1500