发布网友 发布时间:2022-04-27 09:36
共5个回答
热心网友 时间:2023-09-21 00:50
以思科三层交换机为例:
1、网络拓扑图:
2、配置命令:
1)路由器的配置:
interface FastEthernet0/0
ip address 10.66.88.222 255.255.255.0
ip nat outside
plex auto
speed auto
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
plex auto
speed auto
interface Vlan1
no ip address
shutdown
ip nat
inside source list 1 interface FastEthernet0/0 overload
ip classless
ip route 192.168.2.0 255.255.255.0 192.168.1.222
ip route 192.168.3.0
255.255.255.0 192.168.1.222
access-list 1 permit 192.168.0.0 0.0.255.255
2)三层交换机的配置:
hostname L3-SW
ip dhcp pool vlan2pool
network 192.168.3.0
255.255.255.0
default-router 192.168.3.1
dns-server 202.101.172.35
ip dhcp pool vlan1pool
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 202.101.172.35
interface
FastEthernet0/1
no switchport
ip address 192.168.1.222 255.255.255.0
plex auto
speed auto
interface FastEthernet0/2
switchport mode
trunk
interface FastEthernet0/5
switchport mode trunk
interface
Vlan1
ip address 192.168.2.1 255.255.255.0
interface Vlan2
ip address 192.168.3.1 255.255.255.0
ip classless
ip route 0.0.0.0 0.0.0.0
192.168.1.1
热心网友 时间:2023-09-21 00:50
你用的是什么品牌的三层交换?cisco还是H3C或者是其他品牌,至于拓扑图要结合你当前应用来进行,你可以简单的认为三层交换就是路由器。热心网友 时间:2023-09-21 00:51
你说的概念比较的大啊 具体可以 yi xia热心网友 时间:2023-09-21 00:51
能不能把你的需求说的详细点,这样太范范了。热心网友 时间:2023-09-21 00:52
找厂方*,或者找供货商!