Use OpenFlow OUI for Ethernet address of local ports.
authorBen Pfaff <blp@nicira.com>
Thu, 14 Aug 2008 23:10:59 +0000 (16:10 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 14 Aug 2008 23:10:59 +0000 (16:10 -0700)
datapath/dp_dev.c

index 02468eb..4601852 100644 (file)
@@ -95,6 +95,9 @@ do_setup(struct net_device *netdev)
        netdev->flags = IFF_BROADCAST | IFF_MULTICAST;
 
        random_ether_addr(netdev->dev_addr);
+       netdev->dev_addr[0] = 0x00;
+       netdev->dev_addr[1] = 0x23;
+       netdev->dev_addr[2] = 0x20;
 }