level-ip
level-ip copied to clipboard
Network Device Initialization IP Address Conflict
In tun_init(), the TAP device is assigned the IP address 10.0.0.5 (via tapaddr) and a route for 10.0.0.0/24 (via taproute). In netdev_init(), the netdev structure is initialized with a different IP address (10.0.0.4) for what appears to be the same TAP device.