You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to change that in /vrnetlab/veos/docker/vrnetlab.py
def gen_mac(last_octet=None):
""" Generate a random MAC address that is in the qemu OUI space and that
has the given last octet.
"""
return "0C:54:00:%02x:%02x:%02x" % (
random.randint(0x00, 0xff),
random.randint(0x00, 0xff),
last_octet
)
but somehow after running "make" it returns to the original value and the device booted from that image still has the macs that start with 52:54 instead of 0C:54 . I think after running make, the docker image installs a new vrnetlab.py
The text was updated successfully, but these errors were encountered:
vrnetlab.py is copied in from common/vrnetlab.py by the Makefiles so you would need to modify common/vrnetlab.py or the better way is to override the gen_mac function specifically for veos.
it seems auto-generated macs causing mlag issues:
GNS3/gns3-gui#2475
I tried to change that in /vrnetlab/veos/docker/vrnetlab.py
but somehow after running "make" it returns to the original value and the device booted from that image still has the macs that start with 52:54 instead of 0C:54 . I think after running make, the docker image installs a new vrnetlab.py
The text was updated successfully, but these errors were encountered: