mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
nic_router: use local but individual MAC addresses
IP stacks may treat a network interface as "down" when it states a MAC address with the I/G bit (bit 40) set to "Group" (value 0) instead of "Individual" (value 1). This was observed with a TinyCore 8 inside a Virtualbox VM. Thus, the previously choosen 03:03:03:03:03:00 as base for the MAC address allocator is bad. Now we use the 02:02:02:02:02:00 instead. This also ensures that the MAC addresses are not marked as "Universal" but as "Local" (bit 41, value 1) which is correct in general as the router allocates MAC addresses only for virtual networks. Ref #2490
This commit is contained in:
parent
8a6ad5f94b
commit
a1e32a3ad9
@ -14,4 +14,4 @@
|
||||
/* Genode includes */
|
||||
#include <nic_bridge/mac_allocator.h>
|
||||
|
||||
Net::Mac_address Net::Mac_allocator::mac_addr_base(0x03);
|
||||
Net::Mac_address Net::Mac_allocator::mac_addr_base(0x02);
|
||||
|
Loading…
Reference in New Issue
Block a user