sk2/autonetkit — Issue #158: Wrong "network" passed to IOS template (igp_interfaces) for Loopback interface
Author: coaj
Created: 2012-01-18 07:09:53+00:00
State: open

when igp_interfaces['id'] is "lo0" or "loopback", igp_interfaces['network'] contains "255.255.255.255" instead of actual network address.
The other interfaces are ok.
for example:

interface lo0
description Loopback
ip address 10.1.0.16 255.255.255.255
no shutdown
duplex auto
speed auto
!
!
interface FastEthernet0/0
description Interface 2.AS1 -> 1.AS1
ip address 10.1.0.10 255.255.255.252
no shutdown
duplex auto
speed auto
!
!
interface FastEthernet0/1
description Interface 2.AS1 -> 3.AS2
ip address 10.1.0.5 255.255.255.252
no shutdown
duplex auto
speed auto
!
router ospf 1
redistribute connected
redistribute static
network 255.255.255.255 0.0.0.0 area 0
passive-interface lo0
network 10.1.0.8 0.0.0.3 area 0
network 10.1.0.4 0.0.0.3 area 0
passive-interface FastEthernet0/1