Bug #955
closed
Static IP gateway does not upgrade from 1.2.x to 2.0
Added by Jim Pingle about 14 years ago.
Updated about 14 years ago.
Description
If you have a 1.2.3 install with WAN configured with a static IP, the gateway does not upgrade to 2.0.
This used to work, but after all of the recent dynamic gateway work it seems this bug slipped in.
The gateway tag under wan was still the old IP value, post-ugprade:
<gateway>192.168.80.25</gateway>
After adding a gateway in the GUI and then setting the WAN gateway appropriately, it worked. (As expected)
- Status changed from New to Feedback
Should be fixed in later versions.
Setup 1.2.3 release on my test box today using a static wan address.
Let it update via Firmware/Auto Update to 2.0-BETA4 (i386)built on Sat Nov 20 05:54:55 EST 2010.
This worked and appears fixed to me.
<gateway>172.31.125.1</gateway>
- Status changed from Feedback to Resolved
- Status changed from Resolved to Feedback
The <gateway> tag under <wan> should not be there with an IP post-upgrade, you should only have a gateway entry under System > Routing. If the tag is still there, as you showed, it is not completely fixed.
Is that actually the case? Do you have proper entries under System > Routing on the gateway tab, post-upgrade?
That page shows
Name Interface Gateway Monitor IP Description
GW_WAN (default) WAN 172.31.125.1 172.31.125.1 Interface wan Static Gateway
Config shows..
<interfaces>
<wan>
<if>dc0</if>
<mtu/>
<blockpriv/>
<blockbogons/>
<media/>
<mediaopt/>
<bandwidth>100</bandwidth>
<bandwidthtype>Mb</bandwidthtype>
<spoofmac/>
<disableftpproxy/>
<ipaddr>172.31.125.101</ipaddr>
<subnet>24</subnet>
<gateway>GW_WAN</gateway>
<pppoe_username/>
<pppoe_password/>
<provider/>
<ondemand/>
<timeout/>
<pptp_username/>
<pptp_password/>
<enable/>
</wan>
and
<gateways>
<gateway_item>
<gateway>172.31.125.1</gateway>
<descr><![CDATA[Interface wan Static Gateway]]></descr>
<interface>wan</interface>
<name>GW_WAN</name>
<defaultgw/>
</gateway_item>
</gateways>
- Status changed from Feedback to Resolved
That looks good, thanks for the extra detail.
Also available in: Atom
PDF