Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Server A Server B
Internet
User A = Router
Internet = Router
User A = Switch
Data Center
User B
User A = Switch
.1 .1
Data Center
User B
10 2 2 0/24
10.2.2.0/24
10.1.1.0/24
© 2010 Juniper Networks, Inc. All rights reserved. www.juniper.net | 4
The Routing
g Table
Compiles information learned from routing protocols
and other routing information sources
Selects an active route to each destination
Populates the forwarding table
Main unicast routing tables are inet.0, for IPv4
routing and inet6.0,
routing, inet6 0 for IPv6 routing
Routing
protocol
OSPF
databases
Routing Forwarding
Other routing Table Table
information Direct
Static
sources
Routing
protocol
OSPF
databases
Routing Forwarding
Other routing Table Table
information Direct
Static
sources
Forwardingg Plane
FT
Frames/Packets In Frames/Packets Out
0 0 0 0/0
0.0.0.0/0 *[St
*[Static/5]
ti /5] 02
02:06:18
06 18
> to 172.26.25.1 via ge-0/0/0.0
172.25.182.0/24 *[Direct/0] 02:06:18
> via ge-0/0/1.0 Software automatically creates
172 25 182 5/32
172.25.182.5/32 *[L
*[Local/0]
l/0] 02
02:06:18
06 18 IP unicast
i t ttable
bl when
h you
Local via ge-0/0/1.0
172.26.25.0/24 *[Direct/0] 02:06:18
configure the corresponding
> via ge-0/0/0.0 routing instance
172 26 25 5/32
172.26.25.5/32 *[L
*[Local/0]
l/0] 02
02:06:18
06 18
Local via ge-0/0/0.0
192.168.100.52/32 *[Direct/0] 02:06:18
> via lo0.1
…
172 30 25 0/30
172.30.25.0/30
192.168.63.14
user@router> show route 192.168.63.14
0.0.0.0/0
/ *[Static/5]
[ / ] 01:09:34 Default static route
> to 172.30.25.1 via ge-0/0/1.0
Monitoring:
•Use show route protocol static to display static
routes:
user@router> show route protocol static
… D f l static
Default i route Next-hop interface and IP address
•Use the ping utility to verify end-to-end reachability:
user@router ping 192.168.63.14 rapid count 25
user@router>
PING 192.168.63.14 (192.168.63.14): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!! Test confirms reachability
--- 192.168.63.14 ping statistics ---
25
5 pac
packets
ets t
transmitted,
a s tted, 25 5 pac
packets
ets received,
ece ed, 0% pac
packet
et loss
oss
round-trip min/avg/max/stddev = 0.027/0.057/0.145/0.032 ms
[edit routing-options]
user@router-A# show
Indirect next hop
static {
route 172.20.3.0/24 {
next-hop 172.25.1.6;
resolve; resolve option required
}
}
172.29.100.0/24
/ .1 Internet
.6
6 secondary
d .5
5
se-1/0/0
172.30.25.4/30
[edit routing-options]
routing options]
user@router# show Primary next hop due to
static {
route 0.0.0.0/0 { default route preference (5)
next-hop
next hop 172.30.25.1;
qualified-next-hop 172.30.25.5 {
preference 7;
} Secondary next hop due to
}
configured route preference (7)
}
IGP
IBGP
AS 64512 AS 65535
A link-state IGP:
•Reliably floods link-state information to neighbors
•Creates a complete database of network
•Calculates best path to each destination
•Uses areas to incorporate hierarchy and allow for scalability
AS 64512
ge-0/0/1
.9 .6
router-C
lo0: 192.168.100.3/32 .1
172.20.3.0/24
© 2010 Juniper Networks, Inc. All rights reserved. www.juniper.net | 25
Case Study:
y Configuring
g g OSPF
172 20 2 0/24
172.20.2.0/24 *[OSPF/10] 00
00:03:55,
03 55 metric
t i 2
> to 172.25.1.2 via ge-0/0/2.0
172.20.3.0/24 *[OSPF/10] 00:00:04, metric 2
> to 172.25.1.9 via ge-0/0/1.0
172 25 1 4/30
172.25.1.4/30 *[OSPF/10] 00
00:03:46,
03 46 metric 2
> to 172.25.1.9 via ge-0/0/1.0
to 172.25.1.2 via ge-0/0/2.0
192.168.100.2/32 *[OSPF/10] 00:03:55, metric 1
> to 172
172.25.1.2
25 1 2 via ge
ge-0/0/2.0
0/0/2 0
192.168.100.3/32 *[OSPF/10] 00:03:46, metric 1
> to 172.25.1.9 via ge-0/0/1.0
224.0.0.5/32 *[OSPF/10] 00:16:13, metric 1
MultiRecv
MultiRecv…