From 2b8b324c50cefeb54bfb79844c9ed1e42312caf5 Mon Sep 17 00:00:00 2001 From: Astrid Yu Date: Sun, 24 Mar 2024 21:15:41 -0700 Subject: [PATCH] ip address mgmt shit --- docs/ipam.sexp | 8 +++++++- netconf/beelzebub.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 netconf/beelzebub.txt diff --git a/docs/ipam.sexp b/docs/ipam.sexp index 62aea4ba..891e6d6a 100644 --- a/docs/ipam.sexp +++ b/docs/ipam.sexp @@ -2,12 +2,18 @@ (net CA7DC fca7:b01:f00d::/48 (description "IPs for the primary datacenter") - (net CA7DC-DEVVM fca7:b01:f00d:de7::/64 + (net CA7DC-DEVVM fca7:b01:f00d:0de7::/64 (description "Developer VMs") (attr trust-level TRUSTED) (attr vlan 300) ) + (net CA7DC-K8S fca7:b01:f00d:c00b::/64 + (description "Kubernetes cluster inter-node IP space") + (attr trust-level TRUSTED) + (attr vlan 100) + ) + (net CA7DC-SERVICE fca7:b01:f00d:cafe::/64 (description "Public service IP space") (attr trust-level TRUSTED) diff --git a/netconf/beelzebub.txt b/netconf/beelzebub.txt new file mode 100644 index 00000000..ee2ae9d2 --- /dev/null +++ b/netconf/beelzebub.txt @@ -0,0 +1,29 @@ +vlan 1 name DEFAULT-VLAN by port +exit + +vlan 10 name user by port + tagged ethernet 1/1/1 + untagged ethernet 1/1/3 to 1/1/12 +exit + +vlan 69 name mgmt by port + tagged ethernet 1/1/1 + untagged ethernet 1/1/2 ethernet 1/1/37 to 1/1/48 +exit + +vlan 100 name prod by port + tagged ethernet 1/1/1 + tagged ethernet 1/1/25 to 1/1/27 +exit + +interface ethernet 1/1/25 to 1/1/27 + link-aggregate configure timeout short + link-aggregate configure key 10001 + link-aggregate passive +exit + +hostname beelzebub +ip address 192.168.69.15 255.255.255.0 +no ip dhcp-client enable +ip default-gateway 192.168.69.1 +web-management enable vlan 69 \ No newline at end of file