Page MenuHomeDevCentral

Create 2 new routers
Open, NormalPublic

Description

The first router is not used to keep the original configuration unchanged.
Then we can test the connectivity.

Plan:

Router-002

  • Install FreeBSD 15
  • Add configuration in NetBox
  • Export from NetBox to pillar/nodes/nodes.sls
  • Bootstrap Salt
  • Apply roles/core with Salt

Router-003

  • Install FreeBSD 15
  • Add configuration in NetBox
  • Export from NetBox to pillar/nodes/nodes.sls
  • Bootstrap Salt
  • Apply roles/core with Salt

Related Objects

Event Timeline

router-002 and router-003 have been created on hyper-001

The following IP address are free on IntraNought:

  • 172.27.27.11
  • 172.27.27.12

Gateway can be 172.27.27.1 to get connectivity with ICANNnet to download packages, etc.
Ideal netmask is 255.255.255.240 as it's a /28 block.

No need for public connectivity right now, especially as we want to investigate if we can use the public IP as CARP shared address.

dereckson triaged this task as Normal priority.Sun, Feb 8, 21:32
dereckson updated the task description. (Show Details)
dereckson added a project: Servers.

@yousra When you install the servers, you can document on IRC the main steps:

[router-002] Starting FreeBSD 15 installation

The syntax is [<component>] <message> is detected as log entry and published on https://infra.nasqueron.org/servers-log/

That works from #nasqueron-ops as long as Wearg is there.
That's actually why I spent time this week-end to restore IRC bots, so we can resume our servers log.

Pillar configuration for nodes.sls:

1router-002:
2 forest: nasqueron-infra
3 hostname: router-002.nasqueron.drake
4 network:
5 interfaces:
6 intranought:
7 device: vmx0
8 ipv4:
9 address: 172.27.27.11
10 gateway: 172.27.27.1
11 netmask: 255.255.255.240
12 roles:
13 - router

21:30:03 < yousra> [ERROR] Source file salt://roles/core/motd/files/router-002 not found in salt env 'base'

So we need to create a new message of the day file (MOTD) at the path indicated, paths starting by salt:// are relative to the operations repository, so here it will try to read roles/core/motd/files/router-002.

The MOTD is printed when we log on a server.