Commit 533d548d authored by Lukas Baca's avatar Lukas Baca

55 device docker network to 2 separate parts


Former-commit-id: 02812b38
parent cb9afd65
......@@ -19,7 +19,7 @@ services:
- ../ipnd:/ipnd
command: python3 -m bp_daemon --node dtn://pyDTN-1.dtn --port 2001 --http-port 8081 --upcn-host 172.25.0.21 --upcn-port 4556
networks:
dtnnet:
dtnnet1:
ipv4_address: 172.25.0.11
pyDTN-2:
......@@ -36,10 +36,10 @@ services:
- ../bundle7:/bundle7
- ../cbor2:/cbor2
- ../ipnd:/ipnd
command: python3 -m bp_daemon --node dtn://pyDTN-2.dtn --port 2002 --http-port 8082 --upcn-host 172.25.0.21 --upcn-port 4556
command: python3 -m bp_daemon --node dtn://pyDTN-2.dtn --port 2002 --http-port 8082 --upcn-host 172.25.1.21 --upcn-port 4556
networks:
dtnnet:
ipv4_address: 172.25.0.12
dtnnet2:
ipv4_address: 172.25.1.11
uPCN-1:
image: upcn
......@@ -47,13 +47,20 @@ services:
context: uPCN
hostname: uPCN-1
networks:
dtnnet:
dtnnet1:
ipv4_address: 172.25.0.21
dtnnet2:
ipv4_address: 172.25.1.21
tty: true
networks:
dtnnet:
dtnnet1:
driver: bridge
ipam:
config:
- subnet: 172.25.0.0/24
dtnnet2:
driver: bridge
ipam:
config:
- subnet: 172.25.1.0/24
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment