Objective: configure Routers 1, 2, and 4 with Internet Protocol (IP) addresses, and ping between them to test connectivity.
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 3: Basic IP configuration and Verification, and the “Ping” topic from Lab Primer Lesson 2: Basic Commands
![](https://i-blog.csdnimg.cn/blog_migrate/e1e513a3708928b003a5be0f92bfaceb.png)
1. Connect to Router 1, and assign it a host name of Router1.
Router>enable
Router#conf t
Router(config)#hostname Router1
Router1(config)#
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 3: Basic IP configuration and Verification, and the “Ping” topic from Lab Primer Lesson 2: Basic Commands
![](https://i-blog.csdnimg.cn/blog_migrate/e1e513a3708928b003a5be0f92bfaceb.png)
1. Connect to Router 1, and assign it a host name of Router1.
Router>enable
Router#conf t
Router(config)#hostname Router1
Router1(config)#
![](https://i-blog.csdnimg.cn/blog_migrate/8c40879b5adeffddf06f31c71fe39998.png)
2. Enter interface configuration mode for the Ethernet 0 interface.
Router1(config)#interface ethernet 0
Router1(config-if)#
![](https://i-blog.csdnimg.cn/blog_migrate/d76d03a997617754b6257b290d3a4ee4.png)
3. Type the command that will set the IP address on the Ethernet 0 interface to 10.1.1.1 255.255.255.0, and enable the interface.
Router1(config-if)#ip address 10.1.1.1 255.255.255.0
Router1(config-if)#no shutdown
![](https://i-blog.csdnimg.cn/blog_migrate/3f2bb3d88f730612612a87537b79e8cb.png)
4. Set the IP address on the serial 0 interface of Router1 to 172.16.10.1 255.255.255.0,and enable the interface.
Router1(config)#interface serial 0
Router1(config-if)#ip address 172.16.10.1 255.255.255.0
Router1(config-if)#no shut
![](https://i-blog.csdnimg.cn/blog_migrate/bbddea6fc87b6fb8102003562dcc46ac.png)
5. Connect to Router 2, and assign it a host name of Router2.
Router>enable
Router#conf t
Router(config)#hostname Router2
Router2(config)#
![](https://i-blog.csdnimg.cn/blog_migrate/502c37e009c6f4fe29065bc49727fd64.png)
6. Set the IP address for the Ethernet 0 interface to 10.1.1.2 255.255.255.0, and enable the interface.
Router2(config)#interface Ethernet 0
Router2(config-if)#ip address 10.1.1.2 255.255.255.0
Router2(config-if)#no shutdown
![](https://i-blog.csdnimg.cn/blog_migrate/0d4029c459f04f2f54516f8659bbd072.png)
7. Connect to Router 4, and assign it a host name of Router4.
Router>enable
Router#conf t
Router(config)#hostname Router4
![](https://i-blog.csdnimg.cn/blog_migrate/2935ddb3b44d59b14b28e7aa075633ba.png)
8. configure an IP address of 172.16.10.2 255.255.255.0 on the serial 0 interface, and enable the interface.
Router4(config)#interface serial 0
Router4(config-if)#ip address 172.16.10.2 255.255.255.0
Router4(config-if)#no shutdown
![](https://i-blog.csdnimg.cn/blog_migrate/109b3a729a18a9e6725c90865970a8fd.png)
9. From Router1, try to ping Router2’s Ethernet interface.
Router1#ping 10.1.1.2
![](https://i-blog.csdnimg.cn/blog_migrate/012175568ac1684b9531facf292d4bfa.png)
10. Try to ping Router4’s serial 0 interface.
Router1#ping 172.16.10.2
![](https://i-blog.csdnimg.cn/blog_migrate/e10f23a99e213ffccac59acb593c28fd.png)
11. Verify that the lines and protocols are up for all of Router1’s interfaces.
Router1#show ip interface brief
![](https://i-blog.csdnimg.cn/blog_migrate/e15945a2304251668afd3b192815c164.png)
12. Display Router1’s running configuration, and verify that the IP addresses appear.
Router1#show running-config
![](https://i-blog.csdnimg.cn/blog_migrate/e7f5b792b28b43fc0b9b6e15b23a68e3.png)
13. Display detailed IP information about each interface on Router1.
Router1#show ip interface
![](https://i-blog.csdnimg.cn/blog_migrate/2540e455672332949b2a0608807481bf.png)
**********************************************