Skip to content

Commit

Permalink
Merge pull request #1 from MystenLabs/cg/update_local_ip_subnet
Browse files Browse the repository at this point in the history
update local subnets to match ewr-deploy
  • Loading branch information
jpcsmith authored Apr 29, 2024
2 parents 197a866 + 31a656f commit a24795b
Show file tree
Hide file tree
Showing 5 changed files with 1,036 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ansible.cfg
hosts.yml

**/__pycache__/*
4 changes: 2 additions & 2 deletions ansible/bare_metal_edge_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
routing_to_edge_interface: "{{ public_interface }}"
routing_to_edge_addresses:
- "fd00:05c1:0400::1/126"
- "169.254.0.1/30"
routing_to_edge_edge_ipv4: "169.254.0.2"
- "192.168.17.1/30"
routing_to_edge_edge_ipv4: "192.168.17.2"
6 changes: 3 additions & 3 deletions ansible/edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
- name: enp1s0
driver: LINUX
addresses:
- 169.254.1.2/24
- 192.168.18.2/24
- name: enp5s0
driver: VPP_DPDK
gateway:
ipv4_gateway: "{{ network_config.gateway }}"
addresses:
- "{{ network_config.ipv4_cidr }}"
- "fd00:05c1:0400::2/126"
- "169.254.0.2/30"
- "192.168.17.2/30"
routes:
- sequence_id: 1
to: "{{ host_ipv4 }}/32"
via: 169.254.0.1
via: 192.168.17.1
4 changes: 2 additions & 2 deletions ansible/roles/deploy_edge_metal/tasks/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<description>A link local network between the host and the SCION Edge guest VM</description>
<bridge name="virbr_scion" stp="on" macTableManager="libvirt"/>
<mtu size="1500"/>
<ip family='ipv4' address='169.254.1.1' prefix='24'>
<ip family='ipv4' address='192.168.18.1' prefix='24'>
<dhcp>
<range start='169.254.1.2' end='169.254.1.2'/>
<range start='192.168.18.2' end='192.168.18.2'/>
</dhcp>
</ip>
<dns enable='no'/>
Expand Down
Loading

0 comments on commit a24795b

Please sign in to comment.