Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A very classic comprehensive application case.

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Purpose of the experiment: 1. The gateway runs OSPF and realizes interworking.

2, each switch can be accessed remotely

3The main gateway is SW1, and the backup gateway is sw2.

The experimental topology diagram is on it.

Experimental steps: first, extract the parts and do them one by one, as shown in the following figure

Small experimental steps: 1. Configure the ip and gateway of each PC, as shown in the figure above, skip the details.

2. Configure the port on which SW is connected to pc.

Create vlan 10 Magna VLAN 20, vlan34

Enter vlan interface vlan 10

No shutdown

Ip add 192.168.1.254 255.255.255.0

Exit

Make port f0pic1 belong to vlan10 interface f0can1

No shutdown

Switchport mode access

Switch access vlan10

Configuration of virtual vlan: interface vlan 34

Ip add 10.10.34.1 255.255.255.0

Follow the above steps to configure other ports such as sw2.

3, for the virtual vlan34, make the f0 vlan34 3-4 of sw1 belong to vlan34

Interface range f0Beck 3-4

Switch mode access

Switch access vlan 34

4 ip routing turns on the routing function first

Router ospf 1

Router-id 1.1.1.1

Network 10.10.34.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

Network 192.168.2.0 0.0.0.255 area 0

Dynamic routing has been created

5 trunk will be bundled with f0amp 3-4 and

Interface range f0Beck 3-4

Channel-group 1 mode on

Come out a paragraph of text

Exit

Interface port-channel 1

Switch tr encap dot

Sw mo tr

All right, if you configure the above on another machine, it will be more than half successful.

Note: be sure to pay attention to the configuration of step 3, not less.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report