2024年5月4日发(作者:硕愉心)
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 192.168.30.1
ip route-static 192.168.20.0 255.255.255.0 192.168.30.1
查看路由表
display routing-table
Destination/Mask Proto Pre Cost Flags NextHop Interface
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
192.168.10.0/24 Static 60 0 RD 192.168.30.1 GigabitEthernet0/0/1
192.168.20.0/24 Static 60 0 RD 192.168.30.1 GigabitEthernet0/0/1
192.168.30.0/24 Direct 0 0 D 192.168.30.2 GigabitEthernet0/0/1
192.168.30.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
2024年5月4日发(作者:硕愉心)
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 192.168.30.1
ip route-static 192.168.20.0 255.255.255.0 192.168.30.1
查看路由表
display routing-table
Destination/Mask Proto Pre Cost Flags NextHop Interface
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
192.168.10.0/24 Static 60 0 RD 192.168.30.1 GigabitEthernet0/0/1
192.168.20.0/24 Static 60 0 RD 192.168.30.1 GigabitEthernet0/0/1
192.168.30.0/24 Direct 0 0 D 192.168.30.2 GigabitEthernet0/0/1
192.168.30.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1