Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
To enable connectivity in this network
2
we can configure static routes
3
so on router 1, as an example, conf t ip route
4
and notice we have various options, destination prefix, profile, static and VRF
5
it’s important that you know the options for static route.
6
so as an example, the destination prefix
7
or destination network that I want to configure is 10.1.2.0
8
and the reason that I want to use 10.1.2.0
9
is because this is a /24 network.
10
Now you can implement summarization of your static routes
11
but for now use the exact mask, question mark is destination prefix mask.
12
so 255.255.255.0 because this is a /24 question mark
13
I can now specify the next hop router or an outgoing interface
14
when setting up routing look at it from routers point of view.
15
From router's 1 point of view, what is the next hop IP address
16
that he uses to get to this network?
17
In other words, when router 1 sends traffic out of this interface
18
what’s the next IP address that it's going to hit?
19
it's going be this IP address 10.1.1.2
20
So if router 1 was trying to get to a network somewhere on the right here
21
the next hop would still be 10.1.1.2
22
because that’s the next hop IP address that the router is forwarding traffic to.
23
So just think what’s the next IP address that going to be hit
24
when the router forwards the traffic out of an interface
25
that’s your next hop IP address.
26
So, in this case, it's 10.1.1.2 we can specify various options here
27
such as an administrative distance make the route permanent
28
and other options but for now that’s all I’m going to specify.
29
Notice we’ve got the option carriage return
30
and that’s what we’ve used now
31
in other words, routes has been added to the routing table.
32
Let’s confirm that so sh ip route
33
shows us that this network 10.1.2.0
34
has been added to the routing table as a static route.
35
S means static, route is available via 10.1.1.2
36
in other words, this IP address.
37
So can we ping 10.1.2.2? Ping 10.1.2.2 pings failed
38
but we are getting output on router 3
39
so on router 3, it’s sending an echo reply back
40
from 10.1.2.2 to destination 10.1.1.1
41
so in other words, the traffic is getting from router 1 to router 3
42
but it’s not getting back again.
43
And the reason for that is router 3 doesn’t have a route back to router 1.
44
We can see that by using the command sh ip route
45
back to 10.1.1.0. as an example, if I try and ping 10.1.1.1
46
the IP address of this router, router 1
47
in network 10.1.1.0/24 pings failed
48
and we can use the command debug ip packet
49
to show us that the router doesn’t know how to get to that network.
50
The traffic is unroutable.
51
So how do we fix this? Well, we need to create a static route back again.
52
So IP route 10.1.1.0 with the mask /24
53
and in this case we're going to use the next hop IP address 10.1.2.1
54
now you can use the local outgoing interface
55
but that’s not recommended on Ethernet interfaces
56
only do that on point to point links such as serial interfaces on Ethernet
57
use a next hop IP address not the local outgoing interface
58
so does the ping work now?
59
Yes it does and you can see a lot of output
60
so let’s turn off debugging
61
un all or undebug all turns off debugging
62
I’ll only enable ICMP
63
so debug ip icmp
64
we can see the echo replies are sent and the pings succeed
65
in other words, the traffic got from router 1 to router 3 and arrive back again.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.