Here in Auckland they use PPPoA exclusively, the problem is the provided gateway is in a different subnet from the leased IP.
When using gargoyle in DHCP wan mode, along side with a half-bridge modem, the gateway won't be added to the routing table.
Here's the workaround I'm using now.
Code: Select all
/etc/firewall.user
GW=$(uci -P /var/state get network.wan.gateway)
route add -host $GW dev $(uci -P /var/state get network.wan.ifname)
route add default gw $GW