Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The device to which the default route points is often called the default gateway.
Just as a PC has a default gateway to get to its local router — and therefore to the Internet —
many routers and switches also have default routes to access networks that aren't local.
Default routes are a special type of route — and an important part of IP routing.
Understanding how and when to use default routes is imperative to proper network setup.
Think of a default route as a "gateway of last resort." This special route tells computers or
other routers to contact the next hop of the default router if they don't have a more specific
route. Without a default route, a router will drop a request for a network that isn't in its
routing table and send ICMP Destination Unreachable to the source of the traffic.
Here's a simple example: Our PC has an IP address of 192.168.1.100 and a subnet mask of
255.255.255.0. Let's say we want to talk to a server on the LAN, which has an IP address of
192.168.1.200.
For this, we actually don't need a default route or default gateway configured on the PC.
However, as soon as we want to talk to any other device not on the 192.168.1.0 network, we'll
need to go to the default gateway/route
• DNS is a client-server application
• Requests and responses are normally sent in UDP packets, port 53
• Occasionally uses TCP, port 53
Root Servers:
The top of the DNS hierarchy
There are 13 root name servers operated around the world
[a-m].root-servers.net
When you check the “allow remote request” in IP DNS in RouterOS, without any rules,
that creates a open DNS recursive resolver. i.e any public IP on this router will respond
to any DNS request.
IP>Service
IP address Classes:
Class A: used for a network for large number of hosts
Class B: used for a network for medium number of hosts
Class C: used for a network for less number of hosts
Class D: used for a multicasting
Class E: reserved for experimental purpose
Class First byte Second byte Third byte Fourth byte
Class A 0
Class B 10
Class C 110
Class D 1110
Class E 1111
Class First byte Second byte Third byte Fourth byte
Class A 0 to 127
Class B 128 to 191
Class C 192 to 223
Class D 224 to 239
Class E 240 to 255
IP Class Possible range of IP address
Class A 0.0.0.0 through 127.255.255.255
Class B 128.0.0.0 through 191.255.255.255
Class C 192.0.0.0 through 223.255.255.255
Class D 224.0.0.0 through 239.255.255.255
Class E 240.0.0.0 through 247.255.255.255
IP Address Class Maximum Number of Maximum Number of
Networks hosts per network
Class A 126 (27 -2) 16777214 (224 -2)
Class B 16384 (214) 65534 (216 -2)
Class C 2097152 (221) 254 (28 -2)
Class D -- --
Class E -- --
Range Total
10.0.0.0 to 10.255.255.255 224
172.16.0.0 to 172.31.255.255 220
192.168.0.0 to 192.168.255.255 216