Im not gonna talk too much:
Ill give you my config files of a working FreeBSD (mines 4.4)
should be almost if not identical to 4.5.
The point is mines working now.
/etc/rc.conf
# -- sysinstall generated deltas -- # Fri May 31 01:44:00 2002
# Created: Fri May 31 01:44:00 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.1.2"
gateway_enable="YES"
hostname="ZUANTIZ.pacbell.net "
hostname="ZUANTIZ.pacbell.net"
ifconfig_ep0="inet 192.168.1.2 netmask 255.255.255.0"
ifconfig_ep1="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_tun0="inet 0.0.0.0 netmask 0.0.0.0"
ifconfig_tun1="inet 0.0.0.0 netmask 0.0.0.0"
ifconfig_tun2="inet 0.0.0.0 netmask 0.0.0.0"
kern_securelevel_enable="NO"
moused_enable="NO"
moused_type="NO"
nfs_client_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="NO"
sendmail_enable="NO"
sshd_enable="YES"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="/etc/rc.firewall"
firewall_quiet="NO"
natd_enable="YES"
natd_interface="ep0"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
ppp_profile="sbcglobal.net"
#I added the other tun(1,2) you dont have to do those
/etc/ppp/ppp.conf
#
#/etc/ppp/ppp.conf
# using /etc/passwd instead of chap-secrets
#Now for some copying and pasting. First add the following lines to your /etc/ppp/ppp.conf file.
default:
set log Phase Chat LCP IPCP CCP IPCP tun command
# set device /dev/ep0
set ifaddr 63.21.96.254/24 #ignore this I was desparate
# set ifaddr 0.0.0.0/0
#loop:
sbcglobal.net:
set phone 562-549-9486 #this hasnt caused any probs
set redial 10 4
# set speed 256
set timeout 999
# set Chat log phase chat connect lcp ipcp command
# set log Phase Chat LCP IPCP CCP tun command
set device PPPoE:ep0
set authname xazax666@sbcglobal.net
set authkey satansapprentice666
set dial
set login
add default HISADDR
enable dns
/sbin/ifconfig
ep0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::2a0:24ff:fe37:9b15%ep0 prefixlen 64 scopeid 0x1
ether 00:a0:24:37:9b:15
media: Ethernet 10baseT/UTP
ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::220:afff:fea4:3184%ep1 prefixlen 64 scopeid 0x2
ether 00:20:af:a4:31:84
media: Ethernet 10baseT/UTP
faith0: flags=8000<MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet6 fe80::2a0:24ff:fe37:9b15%tun0 prefixlen 64 scopeid 0x6
inet 63.21.98.66 --> 63.21.98.254 netmask 0xff000000
Opened by PID 111
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
inet6 fe80::2a0:24ff:fe37:9b15%tun1 prefixlen 64 scopeid 0x7
Summary:
As far as I can see you did fine for the most part.
If you want my opinion, I think you forgot to give each of your nic cards a private static ip address.
Your tun0 got the WAN ip address which is what I was trying to get all along.
I hope this helped you, good luck.