Created
January 15, 2026 02:26
-
-
Save Arthur-Vii/ac20f3001a0a137b98d9d653769d51be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| router 1 | |
| Router> enable | |
| Router# configure terminal | |
| Router(config)# hostname R1 | |
| Router(config)# interface g0/0 | |
| Router(config-if)# ip address 192.168.1.1 255.255.255.0 | |
| Router(config-if)# no shutdown | |
| Router(config)# interface s0/0/0 | |
| Router(config-if)# ip address 10.10.10.1 255.255.255.252 | |
| Router(config-if)# no shutdown | |
| Router(config)# ip route 192.168.2.0 255.255.255.0 10.10.10.2 | |
| Router(config)# end | |
| router 2 | |
| Router> enable | |
| Router# configure terminal | |
| Router(config)# hostname R2 | |
| Router(config)# interface g0/0 | |
| Router(config-if)# ip address 192.168.2.1 255.255.255.0 | |
| Router(config-if)# no shutdown | |
| Router(config)# interface s0/0/0 | |
| Router(config-if)# ip address 10.10.10.2 255.255.255.252 | |
| Router(config-if)# no shutdown | |
| Router(config)# ip route 192.168.1.0 255.255.255.0 10.10.10.1 | |
| Router(config)# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment