その他

RT2_OSPF

RT2:
conf t
!
interface ethernet 0/0
ip address 192.168.12.2 255.255.255.0
no shut
!
interface tunnel 0
ip address 2.2.2.2 255.255.255.0
tunnel source ethernet 0/0
tunndel destination 192.168.12.1
!
interface loopback 1
ip address 20.20.20.20 255.255.255.255
!
router ospf 100
network 2.2.2.2 0.0.0.0 area 0
network 20.20.20.20 0.0.0.0 area 0
!
end