Static Routing configuration (PT simulator)

Source: Internet
Author: User

Static Routing configuration (PT simulator) Continue with configuration dialog? [Yes/no]: no Press RETURN to get started! Router> en Router> enable = enter the privileged mode Router # confRouter # configure Router # configure terminal ================== ======= Enter global mode Enter configuration commands, one per line. end with CNTL/Z. router (config) # hRouter (config) # hostname R1 =========================== configure the host name R1 (config) # enaR1 (config) # enable pR1 (config) # enable password 123456 & lt; ============================ configure the privileged password R1 (config) # in fR1 (config) # in fastEthernet 0/0 "=========================== enter port F0/0 R1 (config-if) # ip addR1 (config-if) # ip address 192.168.1.1 255.255.255.0 ================= configure the port ip address R1 (config-if) # no shuR1 (config-if) # no shutdown ============================ enable this port % LINK-5 -CHANGED: interface FastEthernet0/0, changed state to up % LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1 (config-if) # exit & lt; ====================================== return to the upper-layer mode R1 (config) # in sR1 (config) # in serial 0/0/0 R1 (config-if) # ip addR1 (config-if) # ip address 192.168.2.1 255.255.255.0R1 (config-if) # clock rate 64000 ===================================configure DCE serial port clock frequency R1 (config-if) # no shuR1 (config-if) # no shutdown % LINK-5-CHANGED: Interface Serial0/0/0, changed state to downR1 (config-if) # % LINK-5-CHANGED: interface Serial0/0/0, changed state to up % LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upR1 (config-if) # exitR1 (config) # ip rR1 (config) # ip route 192.168.3.0 255.255.255.0 192.168.2.2 ===== configure static route 192.168.3.0 as the destination CIDR Block 255.255.255.0 as the destination subnet mask 192.168.2.2 as the next hop address (the router goes through IP address of an interface)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.