R2------------------------- sy sys R2 un in en int g0/0/0 ip add 10.0.0.2 30 int g0/0/1 ip add 192.168.200.2 30 q dhcp en ip pool dhcppool net 192.168.0.0 mask 26 g 192.168.0.62 lease day 1 dns 1.1.1.1 q int g0/0/1 dhcp select global q ip route-static 192.168.0.0 26 192.168.200.1 ip route-static 192.168.0.64 26 10.0.0.1 q SW2------------------- sy sys SW2 un in en v b 30 40 int e0/0/1 p l a p d v 30 int g0/0/1 p l a p d v 40 int v 30 ip add 192.168.0.62 26 int v 40 ip add 192.168.200.1 30 q dhcp en int v 30 dhcp select re dhcp relay server-ip 192.168.200.2 q ip route-static 0.0.0.0 0 192.168.200.2 q 把ip地址改为192.168.44.61
时间: 2023-09-30 19:12:22 浏览: 151
R2-------------------------
sy
sys
R2
un
in
en
int g0/0/0
ip add 192.168.44.61 30
int g0/0/1
ip add 192.168.200.2 30
q
dhcp
en
ip pool dhcppool
net 192.168.0.0 mask 26
g 192.168.0.62
lease day 1
dns 1.1.1.1
q
int g0/0/1
dhcp select global
q
ip route-static 192.168.0.0 26 192.168.200.1
ip route-static 192.168.0.64 26 192.168.44.62
q
SW2-------------------
sy
sys
SW2
un
in
en
v b 30 40
int e0/0/1
p l a p d
v 30
int g0/0/1
p l a p d
v 40
int v 30
ip add 192.168.0.62 26
int v 40
ip add 192.168.200.1 30
q
dhcp
en
int v 30
dhcp select re
dhcp relay server-ip 192.168.200.2
q
ip route-static 0.0.0.0 0 192.168.200.2
q
阅读全文