Commit Graph

38 Commits

Author SHA1 Message Date
Alex D. 03b649623f
Remove hosts for separation of repositories 2024-11-06 10:37:43 +00:00
Alex D. 67a3c648ce
Move other network to vrf and install routes according to desired behaviour in main table 2024-10-29 20:45:18 +00:00
Alex D. 3d68806a9f
Add explicit static addresses and routes for both hypervisors 2024-10-29 11:05:58 +00:00
Alex D. 4c0f94fd79
Migrate mika.frankfurt and add ipver route for san-jorge 2024-10-20 17:17:22 +00:00
Alex D. 65d1e24916
Update generic for usage in base service list 2024-09-21 13:50:45 +00:00
Alex D. 43eb413045
Switch to using network cards instead of management ports as 1G switch links 2024-09-20 15:52:51 +00:00
Alex D. a757587813
Attempt to derive IP address family also from via in a route and add explicit default route to thetford and wireguard iface 2024-09-20 06:50:12 +00:00
Alex D. 28d66dcc64
Add san-jorge.argentina 2024-09-19 11:12:06 +00:00
Alex D. 80c9840035
Add 3 hosts and rename ifaces for izmaylovo, add bridge priorities 2024-09-18 08:56:49 +00:00
Alex D. ecd3123751
Add izmaylovo.russia and loopback to generic 2024-09-12 18:24:31 +00:00
Alex D. b4c7fb8ff8
Merge things in lakewood and convert thetford-mines 2024-09-11 18:03:02 +00:00
Alex D. b0b610689a
Add lakewood.united-states 2024-09-11 17:16:52 +00:00
Alex D. e9a673688b
Bugfixes and more restructuring
- Remove nav, can result in cycles
- Add IfMap for writing easily-referencable lists
- Fix missing references
- Fix wrong default routing table
- Set metric type to uint32 to allow really high metrics
- Add explicit ipv to route for default routes
2024-09-11 17:13:27 +00:00
Alex D. decceb85d4
Handle already-existing files correctly 2024-09-10 14:23:54 +00:00
Alex D. 0d38256c5d
Bug fixes and misc changes
- Fix DHCP longrun using up instead of run
- Fix wireguard circular dependency
- Use net/netip for anything but net.HardwareAddr
- Add thetford-mines.canada functional example host
- Add a navigator for the structure
- Add helper functions
- Fix types of some elements
2024-09-10 13:41:49 +00:00
Alex D. 0bcad8a5c6
Switch to golang version 2024-09-04 12:32:51 +00:00
Alex D. f4043a1a9b
Set thetford-mines.canada to use static addressing but still accept_ra 2024-09-01 17:54:21 +00:00
Alex D. 1992777852
Remove unused wrong shift 2024-08-28 14:01:10 +00:00
Alex D. 36f8f392e4
Change to net-predictable assigned name 2024-08-26 14:47:40 +00:00
Alex D. 1c39a2aaf4
Push changes done during networking restucturing 2024-08-26 14:24:50 +00:00
Alex D. 6188aa31b6
Lots of refactorings and few new hosts 2024-08-15 16:50:08 +00:00
Alex D. 6128b07ac4
Update to latest 2023-12-27 06:02:58 +00:00
Alex D. d9e8db91d3
Log dhcp messages to logger 2023-10-21 15:30:53 +00:00
Alex D. 00dce74879
Many small changes
Netdev:
- Add accept_ra
- Generalize sysctls
- Add property header
- Add vrf gateway
- Bump unreachable metric up to 4096

Router example:
- Tree-structure definitions
2023-10-21 11:52:39 +00:00
Alex D. 7200ce64c9
Change order 2023-10-16 18:10:49 +00:00
Alex D. 6d8cd3530f
Fix some wrong fields and add dhcp definition 2023-10-15 12:21:58 +00:00
Alex D. 7f65658cb6
Structural changes and a few misc fixes
- Merged common functions used
	- depends
	- contains
- Added a stage-separated system where services can depend on interface
  stage readiness
	- configure: early configuration and laydowns
	- ready: interface is administratively up and may recieve
	  link-local addresses and properties only possible on a live
	  interface
- Renamed functions to make them more structured
	- This still needs some improvement but so far this is the best
	  i came up with
2023-10-14 20:47:18 +00:00
Alex D. a80e93ec6e
More fixes and generalizing, add hypervisor WIP template 2023-09-03 13:27:04 +00:00
Alex D. 8bad04acb6
More cleanup and generalizing 2023-09-03 13:18:01 +00:00
Alex D. 93cccc63fa
Cleanups 2023-09-03 10:47:28 +00:00
Alex D. cc62fe6dad
Enable snooping on home and set querier interval to 120 seconds, fix typo 2023-08-19 09:36:02 +00:00
Alex D. 0cb4c29392
Don't force self to be mcast router 2023-08-17 08:37:29 +00:00
Alex D. 6859984225
Merge property setting to one function and a bit of bugsquashes, add mcast routing 2023-08-17 08:17:50 +00:00
Alex D. f8856c5b33
Add argument checks and allow lladdrs and stp to be set 2023-08-16 06:52:45 +00:00
Alex D. 79cb1609e7
Split definitions and functions 2023-05-04 12:43:14 +00:00
Alex D. 9a04e647a5
Disable per-interface forwarding as vrf behaves weirdly without ALL forwarding being set to 1, set exception for home and remove redundant vrf addrkeep 2023-03-30 07:08:03 +00:00
Alex D. 91b023149f
Don't enslave before keeping addresses of interfaces 2023-03-30 05:44:50 +00:00
Alex D. 2714a654e1
Initial commit 2023-03-29 21:00:33 +00:00