In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Objective:
DHCP automatically assigns addresses
2. Inter-VLAN communication
Experimental procedure:
Create vlan [sw1 vlan10 sw2 vlan20] on two layer 2 switches and add three ports to the corresponding vlan
[sw1]vlan 10
[sw1-vlan10]q
[sw1-GigabitEthernet0/0/1]undo sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw1-Ethernet0/0/1]port link-type acc//Select access mode
[sw1-Ethernet0/0/1]port def vlan 10 //join vlan10
The same applies to other ports [SW2 only changes vlan10 to vlan20] Configure Layer 3 switches:
Create vlan10, 2
Add vlan10/20 to port [access mode]
Configure vlanIP:
[dhcp-Vlanif10]undo sh
Info: Interface Vlanif10 is not shutdown.
[dhcp-Vlanif10]
[dhcp-Vlanif10]
[dhcp-Vlanif10]ip add 192.168.10.254 255.255.255.0
[dhcp-Vlanif20]ip add 192.168.20.254 255.255.255.0
Create an address pool:
[dhcp]ip pool vlan-10
Info:It's successful to create an IP address pool.
[dhcp-ip-pool-vlan-10]network 192.168.10.0 mask 255.255.255.0
[dhcp-ip-pool-vlan-10]gateway-list 192.168.10.254
[dhcp]ip pool vlan-20
Info:It's successful to create an IP address pool.
[dhcp-ip-pool-vlan-20]network 192.168.20.0 mask 255.255.255.0
[dhcp-ip-pool-vlan-20]gateway-list 192.168.20.254
DHCP enabled, port enabled DHCP Global:
[dhcp]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[dhcp-Vlanif10]dhcp select global
[dhcp-Vlanif20]dhcp select global
configuration complete
3. Verification, testing, preservation
Experimental topology:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.