Home > other >  Small white ask VLAN
Small white ask VLAN

Time:11-21



As shown in figure, switches open DHCP, divided into two vlans, connect a router, is these requirements, could you tell me how to achieve to ah,

CodePudding user response:

You now have three segment in the graph, to draw three vlans

CodePudding user response:

Now three segment in the graph, you want to three vlans

CodePudding user response:

Well, then how to configure

CodePudding user response:

Three is set on the switches vlan, vlan interface address respectively: 192.168.0.1, 192.168.1.1, 192.168.2.2, then set up a default route, pointing to the router: IP route - static 0.0.0.0 0 192.168.2.1
In a static route on a router, pointing to the switch IP route -static 192.168.0.0 16 192.168.2.2

CodePudding user response:

#
Vlan batch 10 to 12
#
Cluster enable
NTDP enable
NDP enable
#
Drop the illegal - MAC alarm
#
DHCP enable
#
DHCP snooping enable
#
Diffserv domain default
#
Drop - profile default
#
Aaa
The authentication scheme - the default
Authorization - scheme default
Accounting - scheme default
Domain default
Domain default_admin
Local - user admin password simple admin
The local user admin service - type Telnet terminal SSH HTTP
#
Interface Vlanif1
#
Interface Vlanif10
IP address 192.168.0.1 255.255.255.0
DHCP select interface
The DHCP server lease day 0 hour 8 minute 0
The DHCP server DNS - list 114.114.114.114
#
Interface Vlanif11
IP address 192.168.1.1 255.255.255.0
DHCP select interface
The DHCP server lease day 0 hour 8 minute 0
The DHCP server DNS - list 114.114.114.114
#
Interface Vlanif12
IP address 192.168.2.2 255.255.255.0
#
Interface MEth0/0/1
#
Interface Ethernet0/0/1
The port link -type access
The port default vlan 10
#
Interface Ethernet0/.two survivors
The port link -type access
The port default vlan 11
#

#
Interface Ethernet0/0/22
The port link -type access
The port default vlan 12
#

#
IP route -static 0.0.0.0 0.0.0.0 192.168.2.1
#
The user - interface con 0
The user - interface vty 0 4
The authentication mode - aaa
The user privilege level 15
Protocol the inbound all
#
Return
[Huawei]

CodePudding user response:

Look at huawei tutorials have learned yesterday, thank you, the vlan and layer 3 also know something about
  • Related