Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for fixed ip interface names on linux
Use the macvtap link type for that. For example, with this resource configuration: [ip#0] ipname = 10.24.0.20 netmask = 24 ipdev = foo@eth0 alias = false A start executes: /sbin/ip link add link eth0 name foo type macvtap /sbin/ip link set dev foo up /sbin/ip addr add 10.24.0.20/24 dev foo send gratuitous arp to announce 10.24.0.20 is at foo
- Loading branch information
Showing
2 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters