Well, the new Actiontec modem doesn't appear to be able to do that but it does have a transparent bridge mode that means I have to now do the PPPoE on the WRT54G itself to get the public address on the WAN port. I finally got that working on my WRT54G running OpenWrt 8.09.2. I still have one issue to resolve. The public address used to get assigned to my eth0.1 and now it gets assigned to my ppp0 interface. I changed my Shorewall configuration to use ppp0 rather than the eth0.1 interface but shorewall is not starting on boot. It used to start automatically on a call to "ifup wan" by way of a script called /etc/hotplug.d/iface/15-shorewall:
CURRENT_IP=/var/run/shorewall.ip
COMMAND=/sbin/shorewall
Code: Select all
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
[ -x $COMMAND ] && [ -s $CURRENT_IP ] && {
include /lib/network
scan_interfaces
. /var/state/network
config_get newip wan ipaddr
[ "$newip" != `cat $CURRENT_IP` ] && {
$COMMAND status | grep -q 'Shorewall is running'
} && {
$COMMAND restart
}
} &
}
config 'switch' 'eth0'
option 'vlan0' '2 3 4 5*'
option 'vlan1' '0 2t 5'
option 'vlan2' '1 2t 5'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.1.1'
option 'ip6addr' '2001:db8:0:f101::1/64'
option 'defaultroute' '0'
option 'peerdns' '0'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'pppoe'
option 'username' 'myusername@att.net'
option 'password' 'mypassword'
option 'defaultroute' '1'
option 'mtu' '1492'
option 'peerdns' '1'