mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 06:03:12 +00:00
added readme file indicating how to use dummy network interfaces.
This commit is contained in:
parent
0dd5845cdd
commit
c2b041d9c3
10
README.DUMMYNETS
Normal file
10
README.DUMMYNETS
Normal file
@ -0,0 +1,10 @@
|
||||
Sometimes it is helpful to run more than one servald instance on a given machine
|
||||
for debugging purposes. To make this easier, there is a dummy interface driver
|
||||
that servald knows about. To use it:
|
||||
|
||||
1. create an empty file, e.g., dummynet0, somewhere convenient
|
||||
|
||||
2. For each servald instance you wish to use it, set the interface specification to include the dummynet file. Use a specification like "+>pathtodummynetfile", where pathtodummynetfile is the relative path from the instance path of that servald instance to the dummynet file. For example, you might run:
|
||||
% servald config set interfaces "+eth0,+>../dummynet0"
|
||||
|
||||
3. Run each servald instance. They should now use the dummy network.
|
Loading…
Reference in New Issue
Block a user