Static Routing Lab Report

advertisement
Static Routing Lab Report/Answers
Prereq: Linux Lab, Wireshark Lab, Switch Lab
Network Set-up:
3.
a. works
b. “connect: Network is unreachable”
c. “connect: Network is unreachable”
1.
You should notice both ARP and ICMP packets. ICMP packets represent ping
requests and responses that were sent to the target. ARP is translating an IP to a
mac address.
Who has 10.0.1.12? Tell 10.0.1.11
10.0.1.12 is at 00:00:00:00:00:00
2.
From PC1, PC2 eth0 is reachable. From PC2, PC1 and router are reachable. From
Router1, PC2 and PC3 are reachable. From PC3 Router1 is reachable.
To make each device able to communicate with eathother device, one could put
them all on the same subnet, ie. Putting them all on a single VLAN.
Commands:
Ip route 10.21.0.0 255.255.0.0 10.11.0.4 : This command will create a route in the
router from a next hop of 10.11.04 to the subnet 10.21.0.0. We are telling the router
that the way to access this subnet, is through this gateway.
ip route 10.0.2.31 255.255.255.255 10.0.1.21 : This command is the same as the
above, except we have narrowed it down to a single IP. We are saying that the only
way to access this host is through this gateway.
ip route 0.0.0.0 0.0.0.0 10.0.4.4 : This example tells us that we can reach everything
by using he next hop of 10.0.4.4. That is to say, that 10.0.4.4 is the default gateway
for this router.
Final:
[root@PC1 ~]# traceroute 10.0.3.13
traceroute to 10.0.3.13 (10.0.3.13), 30 hops max, 40 byte packets
1 (10.0.1.12) 0.154 ms 0.073 ms 0.062 ms
2 (10.0.2.1) 0.952 ms 1.788 ms 1.718 ms
3 (10.0.3.13) 0.941 ms 0.927 ms *
[root@PC2 ~]# traceroute 10.0.3.13
traceroute to 10.0.3.13 (10.0.3.13), 30 hops max, 40 byte packets
1 (10.0.2.1) 1.831 ms 2.277 ms 2.476 ms
2 (10.0.3.13) 0.960 ms 0.960 ms 0.945 ms
[root@PC2 ~]# traceroute 10.0.1.11
traceroute to 10.0.1.11 (10.0.1.11), 30 hops max, 40 byte packets
1 (10.0.1.11) 0.143 ms 0.072 ms 0.064 ms
[root@PC3 ~]# traceroute 10.0.1.11
traceroute to 10.0.1.11 (10.0.1.11), 30 hops max, 40 byte packets
1 (10.0.3.1) 1.943 ms 2.198 ms 2.528 ms
2 (10.0.2.12) 0.801 ms 0.791 ms 0.776 ms
3 (10.0.1.11) 0.851 ms 0.928 ms 0.903 ms
Report Questions, Section 1:
1. Auto Configuration. Plugging in the Ethernet cord, from a computer to a
router, they will talk to each other and auto configure their devices. [Like
ipv6 neighbor discovery].
2. Full Mesh Network, Complete Network/Graph.
3. 10.0.2.0/23
SECTION 2:
PC1:
Routes:
[root@PC1 ~]# route -e
Kernel IP routing table
Destination Gateway
Genmask
Flags MSS Window irtt Iface
10.0.4.0
10.0.1.1
255.255.255.0 UG
00
0 eth0
10.0.1.0
10.0.1.11
255.255.255.0 UG
00
0 eth0
10.0.1.0
*
255.255.255.0 U
00
0 eth0
10.0.2.0
10.0.1.1
255.255.255.0 UG
00
0 eth0
10.0.3.0
10.0.1.1
255.255.255.0 UG
00
0 eth0
169.254.0.0 *
255.255.0.0 U
00
0 eth0
Traceroute:
[root@PC1 ~]# traceroute 10.0.3.13
traceroute to 10.0.3.13 (10.0.3.13), 30 hops max, 40 byte packets
1 (10.0.1.1) 1.524 ms 1.808 ms 2.450 ms
2 (10.0.2.2) 2.714 ms 3.046 ms 3.468 ms
3 (10.0.3.13) 2.553 ms 1.857 ms 1.843 ms
[root@PC1 ~]# traceroute 10.0.4.14
traceroute to 10.0.4.14 (10.0.4.14), 30 hops max, 40 byte packets
1 (10.0.1.1) 1.958 ms 2.239 ms 2.667 ms
2 (10.0.2.4) 2.370 ms 2.805 ms 3.143 ms
3 (10.0.4.14) 1.349 ms 1.336 ms 1.405 ms
Router Routes:
Router1#show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
C
S
C
S
10.0.0.0/24 is subnetted, 4 subnets
10.0.2.0 is directly connected, FastEthernet0/1
10.0.3.0 [1/0] via 10.0.2.2
10.0.1.0 is directly connected, FastEthernet0/0
10.0.4.0 [1/0] via 10.0.2.4
PC2:
Routes:
[root@PC2 ~]# route -e
Kernel IP routing table
Destination Gateway
Genmask
Flags MSS Window irtt Iface
10.0.4.0
10.0.2.4
255.255.255.0 UG
00
0 eth0
10.0.1.0
10.0.2.1
255.255.255.0 UG
00
0 eth0
10.0.2.0
*
255.255.255.0 U
00
0 eth0
10.0.3.0
10.0.2.2
255.255.255.0 UG
00
0 eth0
Traceroute:
traceroute to 10.0.1.11 (10.0.1.11), 30 hops max, 40 byte packets
1 (10.0.2.1) 1.791 ms 2.077 ms 2.408 ms
2 (10.0.1.11) 0.832 ms 0.903 ms 0.889 ms
[root@PC2 ~]# traceroute 10.0.3.13
traceroute to 10.0.3.13 (10.0.3.13), 30 hops max, 40 byte packets
1 (10.0.2.2) 1.889 ms 2.099 ms 2.432 ms
2 (10.0.3.13) 0.845 ms 0.919 ms 0.906 ms
Router Routes:
Router2#show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
10.0.0.0/24 is subnetted, 4 subnets
10.0.2.0 is directly connected, FastEthernet0/0
10.0.3.0 is directly connected, FastEthernet0/1
10.0.1.0 [1/0] via 10.0.3.3
[1/0] via 10.0.2.1
S
10.0.4.0 [1/0] via 10.0.3.3
PC3:
C
C
S
Routes:
[root@PC3 ~]# route -e
Kernel IP routing table
Destination Gateway
Genmask
Flags MSS Window irtt Iface
10.0.4.0
10.0.3.3
255.255.255.0 UG
00
0 eth0
10.0.1.0
10.0.3.2
255.255.255.0 UG
00
0 eth0
10.0.2.0
10.0.3.2
255.255.255.0 UG
00
0 eth0
10.0.3.0
*
255.255.255.0 U
00
0 eth0
Traceroute:
[root@PC3 ~]# traceroute 10.0.1.11
traceroute to 10.0.1.11 (10.0.1.11), 30 hops max, 40 byte packets
1 (10.0.3.3) 1.572 ms 1.844 ms 2.366 ms
2 (10.0.4.4) 2.059 ms 2.490 ms 2.825 ms
3 (10.0.2.1) 2.405 ms 2.738 ms 2.987 ms
4 (10.0.1.11) 1.576 ms 1.555 ms 1.626 ms
(NOT OPTIMAL!!!!)
[root@PC3 ~]# traceroute 10.0.4.14
traceroute to 10.0.4.14 (10.0.4.14), 30 hops max, 40 byte packets
1 (10.0.3.3) 1.886 ms 2.185 ms 2.421 ms
2 (10.0.4.14) 0.833 ms 0.908 ms 0.895 ms
Router Routes:
Router3#show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
S
C
10.0.0.0/24 is subnetted, 4 subnets
10.0.2.0 [1/0] via 10.0.3.2
10.0.3.0 is directly connected, FastEthernet0/0
S
10.0.1.0 [1/0] via 10.0.4.4
C
10.0.4.0 is directly connected, FastEthernet0/1
PC4:
Routes:
[root@PC4 ~]# route -e
Kernel IP routing table
Destination Gateway
Genmask
Flags MSS Window irtt Iface
10.0.4.0
*
255.255.255.0 U
00
0 eth0
10.0.1.0
10.0.4.4
255.255.255.0 UG
00
0 eth0
10.0.2.0
10.0.4.4
255.255.255.0 UG
00
0 eth0
10.0.3.0
10.0.4.3
255.255.255.0 UG
00
0 eth0
Traceroute:
[root@PC4 ~]# traceroute 10.0.1.11
traceroute to 10.0.1.11 (10.0.1.11), 30 hops max, 40 byte packets
1 (10.0.4.4) 2.099 ms 2.667 ms 3.189 ms
2 (10.0.2.1) 2.156 ms 2.406 ms 2.751 ms
3 (10.0.1.11) 1.336 ms 1.322 ms 1.397 ms
[root@PC4 ~]# traceroute 10.0.2.12
traceroute to 10.0.2.12 (10.0.2.12), 30 hops max, 40 byte packets
1 (10.0.4.4) 2.039 ms 2.416 ms 2.751 ms
2 (10.0.2.12) 1.000 ms 0.985 ms 1.060 ms
Router Routes:
Router4#show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
C
S
S
C
10.0.0.0/24 is subnetted, 4 subnets
10.0.2.0 is directly connected, FastEthernet0/1
10.0.3.0 [1/0] via 10.0.4.3
10.0.1.0 [1/0] via 10.0.2.1
10.0.4.0 is directly connected, FastEthernet0/0
VLAN BRIEF:
Switch1#show vlan brief
VLAN Name
Status Ports
---- -------------------------------- --------- -------------------------------
1 default
active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Gi0/1, Gi0/2
2 VLAN0002
active Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12
3 VLAN0003
active Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18
4 VLAN0004
active Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24
5 VLAN0005
active
9 VLAN0009
active
1002 fddi-default
act/unsup
1003 token-ring-default
act/unsup
1004 fddinet-default
act/unsup
1005 trnet-default
act/unsup
Download