When one uses DHCP with fallback to static IP, the gateway may be set wrong. Following patch allows new option: gateway_fallback='ethXX/xx.xx.xx.xx' The option is used, when fallback IP settings are used. Reproducible: Always Steps to Reproduce: 1. Setup ifconfig_eth0 to DHCP 2. Setup ifconfig_fallback_eth0 to static IP Actual Results: If one sets gateway='eth0/IP.IP.IP.IP' the option overwrites DHCP settings and (in the case when DHCP network <> static network) makes connection fail due to wrong gateway. If one omits gateway, the fallback connection does not work due to missing gateway. Expected Results: In 'DHCP fallback to static' case 'gateway' should be not read and applied when DHCP succeeds OR new 'gatewat_fallback' option should be created.
Created attachment 53709 [details, diff] Patch for net.eth0 adding new 'gateway_fallback' option
baselayout-1.11.10-r2 supports the fallback_route option so you can define the following fallback_route_eth0=( "default via 192.168.0.1" )
*** Bug 93276 has been marked as a duplicate of this bug. ***