OSPF TTL Security Check configuration

 

conf t
ho R1
int g0/0
ip add 10.20.1.1 255.255.255.252
no sh
exit
router ospf 1
 ttl-security all-interfaces
network 10.20.1.0 0.0.0.3 area 0
end

  
-------------------
conf t
ho R2
int g0/0
ip ospf ttl-security
ip add 10.20.1.2 255.255.255.252
no sh
exit
int g0/1
ip ospf ttl-security hops 1
ip add 10.20.1.5 255.255.255.252
no sh
exit

router ospf 1
network 10.20.1.0 0.0.0.3 area 0
network 10.20.1.4 0.0.0.3 area 0
end
 
  
-----------------
conf t
ho R3
int g0/0
ip add 10.20.1.6 255.255.255.252
no sh
int g0/1
ip add 10.20.1.9 255.255.255.252
no sh
exit
router ospf 1
ttl-security all-interfaces
network 10.20.1.4 0.0.0.3 area 0
network 10.20.1.8 0.0.0.3 area 0
end


------------------------------------
conf t
ho HACK
int g0/0
ip add 10.20.1.10 255.255.255.252
no sh
exit

router ospf 1
network 10.20.1.8 0.0.0.3 area 0
end