Network Engineering (1) Simple Configuration

network engineering

simple configuration

Requirements
Two switches
Two routers
Two PCs
insert image description here

Configure static routes on AR1

system-view

[HUAWEI]sysname ar1

[ar1]interface g 0/0/0

[ar1-G…0/0/0]ip address 192.168.2.1 24

[ar1-G…0/0/0]quit

[ar1]interface g 0/0/1

[ar1-G…0/0/1]ip address 192.168.3.1 24

[ar1-G…0/0/1]quit

Configure the next address

ip route-static 192.168.2.0 24 192.168.3.2

Configure static routes on AR2

system-view

[HUAWEI]sysname ar2

[ar2]interface g 0/0/0

[ar2-G…0/0/0]ip address 192.168.1.1 24

[ar2-G…0/0/0]quit

[ar2]interface g 0/0/1

[ar2-G…0/0/1]ip address 192.168.3.2 24

[ar2-G…0/0/1]quit

Configure the next address

ip route-static 192.1

Guess you like

Origin blog.csdn.net/qq_48975137/article/details/129179337