# 9/6 Notes [TOC] ## Run PnetLab machine on VMware [Reference doc](https://pnetlab.com/pages/download) > Remind Didn't check virtualization option ## Ishare it could help you to manage network device image [How to use](https://i-share.top/user/articles/view) ### show downloadable device images ```bash= ishare search iol ``` ### Install ```bash= ishare pull L3-ADVENTERPRISEK9-M-15.2-S7.bin ``` ## get Pnet ip ```bash= ifconfig | more ```  # Switch ## Topology  class b Subnet:192.168 SubnetMask:255.255.0.0 >note: switch belong to layer 2 device (we couldn't configure one. #### Host IP configuration Configure ip setting     ### Host1 ping host 2  ### Host1 ping host 3  --- # Router ###### tags: `Networking` `router` `topology` `simulate` ## Basic command ### Privileged exec mode ```bash= enable #go back user mode exit disable ``` ### Global configure mode ```bash= configure terminal #go back user mode exit end ``` ## Configure virtual connection set telnet or ssh in configure mode ```bash= line vyt 0~15 ``` --- brief show ip interface brief brief (Brief summary of IP status and configuration Configure Router Display interface information ``` show ip interface brief ```  Obviously, we haven't to set the router port Before we configure router interface, we have to enter the privilege mode ``` enable ``` Enter terminal ``` configure terminal ``` Set interfaces separately ``` # interface ethernet 0/0 # ip addr 192.168.69.1 255.255.255.128 # no shutdown ```  OK now, we finished one. and then, we have to configure another subnet. ``` exit ``` ``` # interface ethernet 0/1 # ip addr 192.168.69.129 255.255.255.128 # no shutdown ``` Now, we configure already testing 阿晟 ping appleWatch : success 阿晟 ping 筆電 : success     乾 不能保存 WTF !!! (the question has been solved. try use (write momory) ) Remark if we pad ? to part of the command, it will display remaining words ## 3 Equal route  ### Topology  ### Import startup configure file  ### Specify the loopback ip r1 ``` r1(config)#interface loopback 1 r1(config-if)#ip address 1.2.3.4 255.255.255.0 ```  r3 ``` r3(config)#interface loopback 1 r3(config-if)#ip address 1.2.3.4 255.255.255.0 ```  Vpc ``` VPCS> ip 192.1.1.2 255.255.255.0 192.1.1.1 ``` ### Using EIGRP configure routers r1 ``` r1(config)#router eigrp 100 r1(config-router)#no auto-summary r1(config-router)#network 0.0.0.0 r1(config-router)#network 12.0.0.0 ``` r2 ``` r2(config)#router eigrp 100 r2(config-router)#no auto-summary r2(config-router)#network 0.0.0.0 r2(config-router)#network 12.0.0.0 r2(config-router)#network 23.1.0.0 r2(config-router)#network 192.1.1.0 ``` r3 ``` r3(config)#router eigrp 100 r3(config-router)#no auto-summary r3(config-router)#network 0.0.0.0 r3(config-router)#network 23.1.0.0 ``` R2 route table  ## Equal routing setting ### CEF == False Default is True. ``` r1(config)#no ip cef r2(config)#no ip cef r3(config)#no ip cef ``` Ping 1.2.3.4  R1 0/0  R3 0/0  ## 4.Summary https://www.jannet.hk/enhanced-interior-gateway-routing-protocol-eigrp-zh-hant/  172.16.12.1 172.16.13.1 172.16.14.1 172.16.15.1 經過偶的計算 用22去用因為 15 = 000011 11 14 = 000011 10 13 = 000011 01 12 = 000011 00 sub mask = 255.255.252.0 Manual summary we could use the previous strapup file so that we can't need to set a similar configuration again. ``` r1(config)#interface loopback 1 r1(config-if)#ip address 172.16.12.1 255.255.255.0 exit r1(config)#interface loopback 2 r1(config-if)#ip address 172.16.13.1 255.255.255.0 exit r1(config)#interface loopback 3 r1(config-if)#ip address 172.16.14.1 255.255.255.0 exit r1(config)#interface loopback 4 r1(config-if)#ip address 172.16.15.1 255.255.255.0 exit ``` R2 ``` r2(config)#router eigrp 100 r2(config-router)#network 0.0.0.0 ```  Setting ``` R1(config-if-range)#interface range e0/0 R1(config-if-range)#ip summary-address eigrp 10 172.16.12.0 255.255.252.0 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up