Hi all,
I'm unable to get OpenWRT to set up my Internet connection properly, as it's unable to set up the default route, and I have to do it manually every time my IP changes.
The problem is that for some reason the default gateway my ISP uses is on a different subnet, so when the DHCP client tries to set it it comes up with SIOCADDRT, Network is unreachable.
I worked around this on my Gentoo box by editing the DHCP scripts and adding a static route to the gateway's IP before setting it as the default gateway, i.e. what I need on OpenWRT is: route add -host <gateway IP> dev eth0.1
I'm just not sure where to add this. Given that at least two Australian DSL ISPs do this, it might also be worth adding it into OpenWRT permanently, so it will work out of the box in Australia.
Any ideas?