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
Now think of your router at home that gives you Internet connectivity
2
in my example, I have a little British Telecom router
3
that's connected to the Internet, this router doesn’t know about all the routes
4
in the Internet because that is just too much for the router to handle
5
so routers such as this have default gateways or default routes
6
giving them access to the Internet, in the same way here
7
I have the brand new Cisco router which I've connected to my Local Area Network.
8
At the moment show ip route
9
shows me no routes in the routing table
10
because I haven’t configured any IP addresses on this router.
11
show ip interface brief
12
shows me that there are no IP address is configured
13
on any interfaces on this router.
14
So on F0/0 I’m going to configure
15
an address of 192.168.1.128 as an example with /24 mask.
16
That’s an IP address in the subnet used by my Internet gateway router
17
I’m going to no shut the interface
18
and then I’m going to test whether I can ping my VT router
19
which gives me Internet access, as you can see the ping succeeds
20
however, in the routing table, I only have that network
21
I don’t have any other networks and I don’t have a gateway of a last resort set.
22
So if I try and ping a website such as google.com
23
it doesn’t work
24
now that’s partly because I need to enable IP domain lookup
25
and I need to tell it the DNS server that I’m going to be
26
using in this case, I'll use Google, so when I try ping google.com
27
it's trying to resolve that domain name with Google DNS servers
28
but it’s going to timeout
29
because this router doesn’t have any route in its routing table
30
apart from the directly connected network 192.168.1.0
31
so notice that times out, do show ip route again
32
we only have that single route in the routing table
33
so to solve this I can use the command IP route.
34
now in this case rather than specifying the individual network
35
I’m going to specify 4 0's 0.0.0.0 which is a default route
36
subnet mask is going to be 4 0's as well
37
I need to then specify my next hop router
38
in this case, it’s my local BT internet router which is 192.168.1.254
39
so show ip route
40
my Cisco router only has this static route
41
and a directly connected route in the routing table.
42
show that again, there the 2 entries but notice the change
43
gateway of last resort is 192.168.1.254
44
in other words, to get to the default route my router can send traffic
45
to this router, notice the little * which means candidate default route.
46
so I’ve got static candidate default route
47
because we've configured 0.0.0.0/0 via this IP address
48
so can I now ping google.com? The answer is yes, I can.
49
because this local router knows that to get to any network
50
it needs to forward the traffic via this IP address.
51
What about yahoo.com, that works, what about gmail.com, that works
52
what about cisco.com that works
53
so by using a single static route I can access networks on the Internet.
54
now some websites as an example will deny ICMP messages
55
so cnn.com is not allowing me to ping their website
56
but I could telnet as an example to cnn.com on port 80
57
and notice I’ve connected, it says it open, press enter
58
how much is happening I'll press CTRL-C
59
and notice I see a bunch of HTML text
60
it's quite a bit information on the website
61
but notice HML, so I managed to connect to cnn.com via HTTP
62
because I have a static default route in the routers routing table
63
forwarding traffic to a gateway of last resort.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.