1// wiki.js - Wiki route module.
2
3var express = require('express');
4var router = express.Router();
5
6// Home page route.
7router.get('/', function (req, res) {
8 res.send('Wiki home page');
9})
10
11// About page route.
12router.get('/about', function (req, res) {
13 res.send('About this wiki');
14})
15
16module.exports = router;
17
18
1Destitnaion in routing table(Is the destintion there or not.)
2Longest match.
3AD Lowest wins.
4Depends on the rotingprotocol metric(RIP - hops & OSTF - cost)