티스토리 뷰
Overview of network.
Router0 command
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface Serial 2/0 Router(config-if)#ip address 192.168.0.1 255.255.255.224 Router(config-if)#clock rate 64000 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial2/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up Router(config-if)# interface FastEthernet 0/0 Router(config-if)#ip address 192.168.0.33 255.255.255.224 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Router(config-if)# interface FastEthernet 1/0 Router(config-if)#ip address 192.168.0.65 255.255.255.224 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up Router(config-if)#exit Router(config)#ip dhcp pool Switch0 Router(dhcp-config)#network 192.168.0.32 255.255.255.224 Router(dhcp-config)#default-router 192.168.0.33 Router(dhcp-config)#dns-server 192.168.0.3 Router(dhcp-config)#ip dhcp pool Switch2 Router(dhcp-config)#network 192.168.0.64 255.255.255.224 Router(dhcp-config)#default-router 192.168.0.65 Router(dhcp-config)#dns-server 192.168.0.3 Router(dhcp-config)#exit Router(config)#router rip Router(config-router)#version 2 Router(config-router)#network 192.168.0.0 Router(config-router)#exit Router(config)#exit
Line 4 to 7 - Set Serial 2/0
Line 10 to 20 - Set FastEthernet 0/1 and 1/0
Line 21 to 29 - Set DHCP pool for 192.168.0.32 and 192.168.0.64 network
Line 30 to 34 - Set Rip
Router1 Command
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface Serial 2/0 Router(config-if)#ip address 192.168.0.2 255.255.255.224 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial2/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up Router(config-if)# interface FastEthernet 0/0 Router(config-if)#ip address 192.168.0.97 255.255.255.224 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Router(config-if)# interface FastEthernet 1/0 Router(config-if)#ip address 192.168.0.129 255.255.255.224 Router(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up Router(config-if)#exit Router(config)#ip dhcp pool Switch2 Router(dhcp-config)#network 192.168.0.96 255.255.255.224 Router(dhcp-config)#default-router 192.168.0.97 Router(dhcp-config)#dns-server 192.168.0.3 Router(dhcp-config)#ip dhcp pool Switch3 Router(dhcp-config)#network 192.168.0.128 255.255.255.224 Router(dhcp-config)#default-router 192.168.0.129 Router(dhcp-config)#dns-server 192.168.0.3 Router(dhcp-config)#exit Router(config)#router rip Router(config-router)#version 2 Router(config-router)#network 192.168.0.0 Router(config-router)#exit Router(config)#exit
Line 4 to 6 - Set Serial 2/0
Line 9 to 19 - Set FastEthernet 0/1 and 1/0
Line 20 to 28 - Set DHCP pool for 192.168.0.96 and 192.168.0.128 network
Line 29 to 33 - Set Rip
Routing table in Router0
Router>enable
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
192.168.0.0/27 is subnetted, 5 subnets
C 192.168.0.0 is directly connected, Serial2/0
C 192.168.0.32 is directly connected, FastEthernet0/0
C 192.168.0.64 is directly connected, FastEthernet1/0
R 192.168.0.96 [120/1] via 192.168.0.2, 00:00:25, Serial2/0
R 192.168.0.128 [120/1] via 192.168.0.2, 00:00:25, Serial2/0Routing table in Router1
Router>enable
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
192.168.0.0/27 is subnetted, 5 subnets
C 192.168.0.0 is directly connected, Serial2/0
R 192.168.0.32 [120/1] via 192.168.0.1, 00:00:15, Serial2/0
R 192.168.0.64 [120/1] via 192.168.0.1, 00:00:15, Serial2/0
C 192.168.0.96 is directly connected, FastEthernet0/0
C 192.168.0.128 is directly connected, FastEthernet1/0See the attached file for more information.
'AU Study > TAFE' 카테고리의 다른 글
| VM Email Server Setting (0) | 2018.02.12 |
|---|---|
| How to download Windows Server 2016 (0) | 2018.02.08 |
| Router DHCP setting in packet tracer (0) | 2017.11.26 |
| w16 wed morning (0) | 2017.11.16 |
| w16 tue morning (0) | 2017.11.16 |
댓글
Router Rip.pkt