The logs aren't much help since they seem to indicate they are missing interfaces clearly defined in the configs..
2020/11/02 03:51:39 OSPF: ASBR[Status:0]: Update
2020/11/02 03:51:39 OSPF: SPF: Scheduled in 0 msec
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for br-lan
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for eth0.2
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for lo
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
2020/11/02 03:51:41 OSPF: OSPFd 1.1.1 starting: vty@2604
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for eth0
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for eth0.1
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
2020/11/02 03:51:41 OSPF: MPLS-TE(initialize_linkparams) Could not find corresponding OSPF Interface for wlan0
2020/11/02 03:51:41 OSPF: OSPF MPLS-TE: Abort update TE parameters: no Link Parameters for interface
The question is, what am I doing wrong? The config is simple, why is it behaving badly?
Sorry, I was trying all sorts of things for a few days, and I have had different combinations of redistribute connected, and network definitions in the config file, none of which behaved any different.
Currently I have added "redistribute connected", and it's still perfectly happy doing nothing.
Here is what I currently have, and the output from sh ip ospf
router ospf
ospf router-id 6.6.6.6
network 192.168.1.0/24 area 0.0.0.0
area 0.0.0.0 range 0.0.0.0/0
Area ID: 0.0.0.0 (Backbone)
Number of interfaces in this area: Total: 1, Active: 1
Number of fully adjacent neighbors in this area: 0
Area has no authentication
SPF algorithm executed 1 times
Number of LSA 1
Number of router LSA 1. Checksum Sum 0x00004965
Number of network LSA 0. Checksum Sum 0x00000000
Number of summary LSA 0. Checksum Sum 0x00000000
Number of ASBR summary LSA 0. Checksum Sum 0x00000000
Number of NSSA LSA 0. Checksum Sum 0x00000000
Number of opaque link LSA 0. Checksum Sum 0x00000000
Number of opaque area LSA 0. Checksum Sum 0x00000000
First of all where is 6.6.6.6 defined in your interfaces?
Second the network 192.168.1.0/24 doesn't participate to the ospf from my understanding. eth0.2 is connected to your main network where the other ospf routers are.
The area must match the area you have on the other routers.
Try this:
interface Vlan55
ip address 192.168.106.2 255.255.255.0
ip ospf 1 area 0.0.0.0
!
interface Vlan56
ip address 192.168.108.2 255.255.255.0
ip helper-address 192.168.108.1
ip ospf 1 area 0.0.0.0
!
router ospf 1
router-id 4.4.4.4
redistribute connected
The router-ID is arbitrary, it doesn't have to correspond with an IP address, but the area is always 0.0.0.0 in my network.
The router-id can be either manually configured, or the highest loopback IP or the highest non loopback IP if not configured. If you enable the name-lookup in ospf you'll see some weird name there with 6.6.6.6 and 4.4.4.4 ids. Better stick to the standards while you still learn something.
Configuring the router-id with a value and not letting the process decide by itself.
You usually add there a distinctive address of the router, preferably a loopback which won't go down.
Home or work it doesn't matter, practice makes perfection!
I'm adding a loopback address and using 10.10.100.1-10.10.104.1 for the different routers, then letting the routerID's pick themselves.
The home network thing was just informational since I didn't want people thinking I was trying to do this stuff professionally and asking basic questions about routing