华为S5700路由配置是什么
【1】出口路由和交换机B互联为10.10.1.0/24
交换机B与交换机A互联为10.10.2.0/24
交换机B、G0/0/1接出口路由器、G0/0/2接交换机A、G0/0/3接下面PC(用户网关10.1.1.1)
vlan batch 100 101 102
int vlanif 100
ip add 10.1.1.1 24
int vlanif 101
ip add 10.10.1.1 24
int vlanif 102
ip add 10.10.2.1 24
int g0/0/1
port link-type access
port default vlan 101
int g0/0/2
port link-type access
port default vlan 102
int g0/0/3
port link-type access
port default vlan 100
ip route-static 0.0.0.0 0.0.0.0 10.10.1.2
ip route-static 10.1.200.0 255.255.255.0 10.10.2.2
出口路由器修改地址为10.10.1.2/24
交换机A连接交换机B地址修改为10.10.2.2/24
【2】H3C ICG1800
system
firewall enable
acl number 2000
rule 0 permit ip source 192.168.0.0 0.0.255.255
nat address-group 1 X.X.X.X (我不知道你们公司的公网地址)
interface ethernet0/0
ip address 192.168.0.254
undo shutdown
interface ethernet0/1
ip address X.X.X.X X.X.X.X
nat outbound 2000 address-group 1
ip route-static 0.0.0.0 0.0.0.0 X.X.X.X
ip route-static 192.168.0.0 255.255.0.0 192.168.100.1(回程路由)
S5700-48TP-SI-AC
system
interface vlan1
ip address 192.168.0.1 255.255.0.0
vlan2
vlan3
vlan100
interface vlan2
ip address 192.168.2.1 255.255.255.0
interface vlan3
ip address 192.168.3.1 255.255.0.0
interface vlan100
ip address 192.168.100.1 255.255.255.0
interface ethernet0/0/1
port link-list trunk
port trunk permit vlan all
interface ethernet0/0/2
port link-list trunk
port trunk permit vlan all
interface ethernet0/0/3
port link-list trunk
port trunk permit vlan all
interface ethernet0/0/4
port link-list trunk
port trunk permit vlan all
ip route-static 0.0.0.0 0.0.0.0 192.168.0.254