添加ip
s3
interface LoopBack 0
ip address 172.17.1.3 32
interface g1/0/1
port link-mode route
ip address 10.20.35.1 30
quit
s4
interface LoopBack 0
ip address 172.17.1.4 32
interface g1/0/1
port link-mode route
ip address 10.20.46.1 30
s5
interface LoopBack 0
ip address 172.17.1.5 32
interface g1/0/1
port link-mode route
ip address 10.20.35.2 30
interface g1/0/3
port link-mode route
ip address 10.20.56.1 30
interface g1/0/2
port link-mode route
ip address 10.20.15.1 30
quit
s6
interface LoopBack 0
ip address 172.17.1.6 32
interface g1/0/1
port link-mode route
ip address 10.20.46.2 30
interface g1/0/3
port link-mode route
ip address 10.20.56.2 30
interface g1/0/2
port link-mode route
ip address 10.20.26.1 30
quit
CE1
interface LoopBack 0
ip address 172.17.1.1 32
interface g0/0
ip address 10.20.12.1 30
interface g5/0
ip address 100.20.11.2 24
interface g0/2
ip address 10.20.15.2 30
quit
CE2
interface LoopBack 0
ip address 172.17.1.2 32
interface g0/0
ip address 10.20.12.2 30
interface g0/2
ip address 10.20.26.2 30
interface g5/1
ip address 100.20.22.2 24
quit
rip
s3
rip
version 2
undo summary
network 10.20.35.0 0.0.0.3
network 10.30.1.0 0.0.0.255
network 10.30.2.0 0.0.0.255
network 172.17.0.0
quit
s4
rip
version 2
undo summary
network 10.20.46.0 0.0.0.3
network 10.30.2.0 0.0.0.255
network 10.30.1.0 0.0.0.255
network 172.17.1.4 0.0.0.0
quit
s5
rip
version 2
undo summary
network 10.20.35.0 0.0.0.3
network 10.20.56.0 0.0.0.3
network 10.20.15.0 0.0.0.3
network 172.17.0.0
quit
s6
rip
version 2
undo summary
network 10.20.46.0 0.0.0.3
network 10.20.56.0 0.0.0.3
network 10.20.26.0 0.0.0.3
network 172.17.0.0
quit
CE1
rip
version 2
undo summary
network 10.20.15.0 0.0.0.3
network 10.20.12.0 0.0.0.3
network 10.20.11.0 0.0.0.255
network 172.17.0.0
default-route originate
quit
CE2
rip
version 2
undo summary
network 10.20.22.0 0.0.0.255
network 10.20.12.0 0.0.0.3
network 10.20.26.0 0.0.0.3
network 172.17.0.0
default-route originate
quit
rip部署
于 2024-12-09 15:58:09 首次发布