Skip to content

Commit

Permalink
ip address mgmt shit
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Mar 25, 2024
1 parent ab206ca commit 2b8b324
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/ipam.sexp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
29 changes: 29 additions & 0 deletions netconf/beelzebub.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b8b324

Please sign in to comment.