hydra: bayfront: Update static networking configuration.
* hydra/bayfront.scm (services): Update the static networking configuration to the new style, and add the IPv6 config.
This commit is contained in:
parent
fcb31b2cd9
commit
df9649a56f
|
@ -783,22 +783,30 @@ access_log /var/log/nginx/bordeaux.access.log;"))
|
|||
|
||||
(services
|
||||
(cons*
|
||||
;; TODO: create a bonding interface over ens9 + ens10
|
||||
;; TODO: configure ens10 as with:
|
||||
;; ip a add dev ens10 2a0c:e300::58/48
|
||||
;; ip route add default via inet6 2a0c:e300::126
|
||||
(static-networking-service
|
||||
"ens10" "185.233.100.56"
|
||||
#:netmask "255.255.255.128"
|
||||
#:gateway "185.233.100.126"
|
||||
#:name-servers '("185.233.100.100" "185.233.100.101"))
|
||||
|
||||
;; Alternate interface.
|
||||
(static-networking-service
|
||||
"ens9" "185.233.100.57"
|
||||
#:netmask "255.255.255.128"
|
||||
;; Don't repeat #:gateway and #:name-servers.
|
||||
)
|
||||
(service static-networking-service-type
|
||||
(list
|
||||
(static-networking
|
||||
(addresses
|
||||
(list
|
||||
(network-address
|
||||
(device "ens10")
|
||||
(value "185.233.100.56/25"))
|
||||
(network-address
|
||||
(device "ens10")
|
||||
(value "2a0c:e300::58/48"))
|
||||
(network-address
|
||||
(device "ens9")
|
||||
(value "185.233.100.57/25"))))
|
||||
(routes
|
||||
(list
|
||||
(network-route
|
||||
(destination "default")
|
||||
(gateway "185.233.100.126"))
|
||||
(network-route
|
||||
(destination "default")
|
||||
(gateway "2a0c:e300::126"))))
|
||||
(name-servers
|
||||
'("185.233.100.100" "185.233.100.101")))))
|
||||
|
||||
;; Make SSH and HTTP/HTTPS available over Tor.
|
||||
(tor-hidden-service "http"
|
||||
|
|
Loading…
Reference in New Issue