Вы находитесь на странице: 1из 9

ospf multiarea

https://www.youtube.com/watch?v=GUXl0BrF2Dg
https://www.youtube.com/watch?v=0TgMMnolhQ8 lll
https://www.youtube.com/watch?v=ACu6d_L4oNQ
ASIGNAR IP MULTI HOST
ip 10.1.1.10 255.255.255.255.0 10.1.1.1
https://www.youtube.com/watch?v=bANSpZyadHc
https://www.youtube.com/watch?v=9O5zFEbW2yg
2001:DB8:ACAD:18::1
linux
http://www.taringa.net/posts/linux/2770346/Cambiar-IP-en-Linux-Desde-Consola-Fac
il.html
----ROUTER 1----
ipv6 unicast-routing
interfa F2/0
IPV6 ENABLE
ipv6 add
ipv6 add FE80::7 link-local
no sh
EXIT
ipv6 unicast-routing
interfa F0/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:19::1/64
ipv6 add FE80::7 link-local
no sh
EXIT
interfa F0/1
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:20::1/64
ipv6 add FE80::7 link-local
no sh
EXIT

----ROUTER 4----
ipv6 unicast-routing
interfa s1/1
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:12::1/64
ipv6 add FE80::1 link-local
cl rate 64000
no sh
EXIT
interfa s1/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:13::1/64
ipv6 add FE80::1 link-local
cl rate 64000
no sh
END
COPY RUNNING STAR

---ROUTER 6--
ipv6 unicast-routing
interfa s1/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:12::2/64
ipv6 add FE80::2 link-local
cl rate 64000
no sh
EXIT
interfa s0/1
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:14::1/64
ipv6 add FE80::2 link-local
cl rate 64000
no sh
END
COPY RUNNING STAR

---ROUTER 2--
ipv6 unicast-routing
interfa s1/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:13::2/64
ipv6 add FE80::3 link-local
cl rate 64000
no sh
EXIT
interfa fa2/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:17::2/64
ipv6 add FE80::3 link-local
no sh
END
COPY RUNNING STAR
interfa fa0/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:18::2/64
ipv6 add FE80::3 link-local
no sh
END

-----ROUTER 7---
ipv6 unicast-routing
interfa s1/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:14::2/64
ipv6 add FE80::4 link-local
no sh
EXIT
interfa fa0/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:15::1/64
ipv6 add FE80::4 link-local
no sh
END
COPY RUNNING STAR

----ROUTER 5----
ipv6 unicast-routing
interfa fa0/1
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:15::2/64
ipv6 add FE80::5 link-local
no sh
EXIT
interfa fa0/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:16::1/64
ipv6 add FE80::5 link-local
no sh
END
COPY RUNNING STAR

----ROUTER 3----
ipv6 unicast-routing
interfa fa0/1
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:16::2/64
ipv6 add FE80::6 link-local
no sh
EXIT
interfa fa0/0
IPV6 ENABLE
ipv6 add 2001:DB8:ACAD:17::1/64
ipv6 add FE80::6 link-local
no sh
END
COPY RUNNING STAR
fr
R2
Ipv6 router eigrp 10
router-id 2.2.2.2
no sh
exit
inteRface s1/0
ipv6 eigrp 10
inteRface f2/0
ipv6 eigrp 10
inteRface f0/0
ipv6 eigrp 10

R3
Ipv6 router eigrp 10
router-id 3.3.3.3
no sh
exit
inteRface F0/0
ipv6 eigrp 10
inteRface f0/1
ipv6 eigrp 10
R5
Ipv6 router eigrp 10
router-id 5.5.5.5
no sh
exit
inteRface F0/0
ipv6 eigrp 10
inteRface f0/1
ipv6 eigrp 10
R7
Ipv6 router eigrp 10
router-id 7.7.7.7
no sh
exit
inteRface F0/0
ipv6 eigrp 10
inteRface S1/0
ipv6 eigrp 10
inteRface F0/1
ipv6 eigrp 10
R4
Ipv6 router eigrp 10
router-id 4.4.4.4
no sh
exit
inteRface S1/0
ipv6 eigrp 10
inteRface S1/1
ipv6 eigrp 10
R6
Ipv6 router eigrp 10
router-id 6.6.6.6
no sh
exit
inteRface S1/1
ipv6 eigrp 10
inteRface S1/0
ipv6 eigrp 10

R2
ipv6 unicast-routing
ipv6 router ospf 10
router-id 2.2.2.2
exit
interface FastEthernet 0/0
ipv6 ospf 10 area 0
no shutdown
exit
interface FastEthernet 2/0
ipv6 ospf 10 area 0
no shutdown
exit
interface S 1/0
ipv6 ospf 10 area 0
no shutdown
exit
R1
ipv6 unicast-routing
no ipv6 router ospf 10
no router-id 1.1.1.1
interface F 0/0
no ipv6 ospf 10 area 0
no shutdown
exit
interface F 2/0
no ipv6 ospf 10 area 0
no shutdown
exit
interface F 0/1
no ipv6 ospf 10 area 0
no shutdown
exit

R4
ipv6 unicast-routing
ipv6 router ospf 10
router-id 4.4.4.4
exit
interface S 1/0
ipv6 ospf 10 area 0
no shutdown
exit
interface S 1/1
ipv6 ospf 10 area 0
no shutdown
exit
R3
ipv6 unicast-routing
ipv6 router ospf 10
router-id 3.3.3.3
exit
interface FastEthernet 0/0
ipv6 ospf 10 area 0
no shutdown
exit
interface FastEthernet 0/1
ipv6 ospf 10 area 0
no shutdown
exit
R5
ipv6 unicast-routing
ipv6 router ospf 10
router-id 5.5.5.5
exit
interface FastEthernet 0/0
ipv6 ospf 10 area 0
no shutdown
exit
interface FastEthernet 0/1
ipv6 ospf 10 area 0
no shutdown
exit
R6
ipv6 unicast-routing
ipv6 router ospf 10
router-id 6.6.6.6
exit
interface S 1/0
ipv6 ospf 10 area 0
no shutdown
exit
interface S 1/1
ipv6 ospf 10 area 0
no shutdown
exit
R7
ipv6 unicast-routing
ipv6 router ospf 10
router-id 7.7.7.7
exit
interface S 1/0
ipv6 ospf 10 area 0
no shutdown
exit
interface FastEthernet 0/0
ipv6 ospf 10 area 0
no shutdown
exit
interface FA 0/1
ipv6 ospf 10 area 0
no shutdown
exit
QUEMEL 1
ip addr add 2001:DB8:ACAD:18::8 dev eth0
route -Ainet6 add 2001:DB8:ACAD:18::/64 dev eth0
route -Ainet6 add default gw 2001:DB8:ACAD:18::1/64
ip -6 route add default via 2001:DB8:ACAD:18::1
ifconfig eth0 2001:DB8:ACAD:19::8/64
INET FE80::349D:33FF:FE76:2CEE/64 SCOPE LINK
cd
sudo su
ip -6 route show dev eth0
ifconfig eth0 192.168.10.8 netmask 255.255.255.0
route add default gw 192.168.10.1
echo nameserver 192.168.1.200>/etc/resol.conf
sudo chmod 777/etc/resolv.conf
router 1
ipv6 route ::/0 s0/0/0
exit
show ipv6 route static
r2
R1(config)#ipv6 access-list VLAN2_PBR
R1(config-ipv6-acl)# permit ipv6 2012:0:0:1::/64 any
R1(config-ipv6-acl)#ipv6 access-list VLAN3_PBR
R1(config-ipv6-acl)# permit ipv6 2012:0:0:2::/64 any
R1(config-ipv6-acl)#exit
R1(config)#
R1(config)#
R1(config)#route-map IPV6_PBR permit 10
R1(config-route-map)# match ipv6 address VLAN2_PBR
R1(config-route-map)# set ipv6 next-hop 2222::2
R1(config-route-map)#route-map IPV6_PBR permit 20
R1(config-route-map)# match ipv6 address VLAN3_PBR
R1(config-route-map)# set ipv6 next-hop 2222::3
R1(config-route-map)#exit
R1(config)#
R1(config)#
R1(config)#int fa0/1
R1(config-if)#ipv6 policy route-map IPV6_PBR
R1(config-if)#
R1#sh ipv6 access-list
R1#sh route-map
http://eduangi.org/node241.html
ospf multiarea
router ospf 1
router-id 1.1.1.1
clear ip ospf processes
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
exit
router ospf 1
area 2 virtual-link 3.3.3.3

root
cli
?
edit
configure
exit
edit system
edit interfaces
set system root-authentication plain-text-password
set system host-name JUNOS1
commit (guardar)
Set interfaces em0 unit 0 famiy inet address 10.10.0.1/24
exit
show interface terse
Set protocol ospf area 0 interface em0
show configuration
show ospf data base
set protocols ospf export redistribute-to-OSPF
set policy-options policy-statement redistribute-to-OSPF term term1 then accept
root@Cabernet# set protocols ospf export redistribute-to-OSPF
set routing-options router-id 1.1.1.1
exit
set protocol ospf area 0 virtual-link transit-area 1 neighbor-id 5.5.5.5
Show ospf database detail: Muestra todos los tipos de paquetes LSA intercambiad
os. show ospf interface detail Muestra el estado de las interfaces que forman p
arte de OSPF. En el caso de ser configurada como Virtua-Link el estado mostrado
ser virtual . Show ospf neighbor

pbr ipv4
R1(config)# access-list 1 permit 1.1.0.0 0.0.255.255
R1(config)# access-list 2 permit 1.2.0.0 0.0.255.255
R1(config)# route-map equal-access permit 10
R1(config-route-map)# match ip address 1
R1(config-route-map)# set ip default next-hop 6.6.6.6
R1(config-route-map)# route-map equal-access permit 20
R1(config-route-map)# match ip address 2
R1(config-route-map)# set ip default next-hop 7.7.7.7
R1(config-route-map)# route-map equal-access permit 30
R1(config-route-map)# set default interface null0
R1(config)# interface ethernet 0
R1(config-if)# ip address 1.1.1.1 255.255.255.0
R1(config-if)# ip policy route-map equal-access
R1(config)# interface serial 0
R1(config-if)# ip address 6.6.6.5 255.255.255.0
R1(config)# interface serial 1
R1(config-if)# ip address 7.7.7.6 255.255.255.0
show ip policy
show route-map
debug ip policy
sla
R1(config)# ip sla 11
R1(config-ip-sla)# icmp-echo 10.1.3.3
R1(config-ip-sla-echo)# frequency 10
R1(config-ip-sla-echo)# exit
R1(config)# ip sla schedule 11 life forever start-time now
R1(config)# track 1 ip sla 11 reachability
R1(config-track)# delay down 10 up 1
R1(config-track)# exit
R1(config)# ip route 0.0.0.0 0.0.0.0 10.1.1.1 2 track 1
R1(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.1 3
sla-pbr
! Match Web Traffic
BR1(config)# ip access-list extended PBR-WWW-TRAFFIC
BR1(config-ext-nacl)# remark Permit only Web traffic
BR1(config-ext-nacl)# permit tcp any any eq 80
BR1(config-ext-nacl)# permit tcp any any eq 443
BR1(config-ext-nacl)# exit
! Create the PBR
BR1(config)# route-map PBR-2-HQ
BR1(config-route-map)# match ip address PBR-WWW-TRAFFIC
BR1(config-route-map)# set ip next-hop 10.10.20.1
BR1(config-route-map)# exit
! Apply Route Map to the Interface
BR1(config)# interface ethernet 0/2
BR1(config-if)# ip policy route-map PBR-2-HQ
BR1(config-if)# exit
! Create IP SLA Probing the BR2 WAN Interface
BR1(config)# ip sla 1
BR1(config-ip-sla)# icmp-echo 10.10.30.2 source-interface Ethernet 0/1
BR1(config-ip-sla-echo)# frequency 10
BR1(config-ip-sla-echo)# exit
BR1(config)# ip sla schedule 1 start-time now life forever
! Create Tracking Object
BR1(config)# track 1 ip sla 1
BR1(config-track)# delay down 5 up 1
BR1(config-track)# exit

! Create ACL to Track Notebook Traffic


BR1(config)# ip access-list extended PBR-FROM-B
BR1(config-ext-nacl)# Remark Match all traffic from the Notebook host
BR1(config-ext-nacl)# permit ip host 192.168.110.10 any
BR1(config-ext-nacl)# exit
! Add New Entry to PBR-2-HQ Route MAP
BR1(config)# route-map PBR-2-HQ permit 20
BR1(config-route-map)# match ip address PBR-FROM-B
BR1(config-route-map)# set ip next-hop verify-availability 10.10.30.2 1 track 1
BR1(config-route-map)# end
! Apply Route Map to the Interface
BR1(config)# interface ethernet 0/2
BR1(config-if)# ip policy route-map PBR-2-HQ
BR1(config-if)# exit

SUMARIZACION EN OSPF
R1(config)# router ospf 10
R1(config-router)# area 1 range 10.1.0.0 255.255.252.0

ASBR
router ospf 1
summary-address 128.213.64.0 255.255.224.0
redistribute bgp 50 metric 1000 subnets (later)

Вам также может понравиться