Disclaimer: I've spent several days searching for an answer to this, with no luck.
Background: I am currently using a FreeBSD 7.3 box as the ADSL gateway for my home network. This connects to an ADSL "modem" which is set to bridge mode. This has worked perfectly for several years, connecting to my ISP on boot and performing PPPOE login, NAT, firewall, etc.
Relevant data for current gateway:
Current problem: I am trying to set up a new FreeBSD 9.0 box with slightly better hardware to replace this older gateway machine. No matter what settings I change on this new box, I cannot get PPPOE to connect on boot.
Relevant data for new gateway:
When the new system boots, ifconfig shows that em0 is up with the configured internal IP, and fxp0 is up, but unconfigured. Once the system has booted, I can log in as root and give:
which brings up tun0 (on fxp0) and performs network gateway functions correctly. Obviously a gateway that does not bring up the PPPOE connection without manually entering the command is of limited value. I have exhausted my knowledge and all the Google/FreeBSD forum resources I can find on this issue. The primary differences I see between the working gateway and the non-working one are:
The old system is running FreeBSD 7.3 p7, the new system is running FreeBSD 9.0
The old system has two discrete PCI cards for interfaces, the new system uses the embedded motherboard NIC for its external interface.
I see no errors in dmesg.today or ppp.log on the new system that indicate problems initializing the PPPOE interface on boot. My last thought is to disable the integrated motherboard NIC on the new system and install a second discrete PCI NIC to use as the external interface, although I don't understand why the embedded motherboard NIC would be an issue.
Any assistance or suggestions with this issue would be greatly appreciated.
Background: I am currently using a FreeBSD 7.3 box as the ADSL gateway for my home network. This connects to an ADSL "modem" which is set to bridge mode. This has worked perfectly for several years, connecting to my ISP on boot and performing PPPOE login, NAT, firewall, etc.
Relevant data for current gateway:
Code:
FreeBSD 7.3-RELEASE-p7
Intel Pentium 4 Northwood 2.8GHz
Abit IS7-E2 motherboard
External interface: Intel 82558 Pro/100 Ethernet "fxp0"
Internal interface: 3Com 3c905C-TX Fast Etherlink XL "xl0"
PPPOE started from /etc/rc.conf:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="provider"
Current problem: I am trying to set up a new FreeBSD 9.0 box with slightly better hardware to replace this older gateway machine. No matter what settings I change on this new box, I cannot get PPPOE to connect on boot.
Relevant data for new gateway:
Code:
FreeBSD 9.0-RELEASE
Intel Pentium 4 Northwood 2.8GHz
Intel D865GLC motherboard
External interface: Intel 82801BA (D865) Pro/100 VE Ethernet (embedded NIC) "fxp0"
Internal interface: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 PCI "em0"
PPPOE started from /etc/rc.conf:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="CenturyLink"
When the new system boots, ifconfig shows that em0 is up with the configured internal IP, and fxp0 is up, but unconfigured. Once the system has booted, I can log in as root and give:
ppp -ddial CenturyLink
which brings up tun0 (on fxp0) and performs network gateway functions correctly. Obviously a gateway that does not bring up the PPPOE connection without manually entering the command is of limited value. I have exhausted my knowledge and all the Google/FreeBSD forum resources I can find on this issue. The primary differences I see between the working gateway and the non-working one are:
The old system is running FreeBSD 7.3 p7, the new system is running FreeBSD 9.0
The old system has two discrete PCI cards for interfaces, the new system uses the embedded motherboard NIC for its external interface.
I see no errors in dmesg.today or ppp.log on the new system that indicate problems initializing the PPPOE interface on boot. My last thought is to disable the integrated motherboard NIC on the new system and install a second discrete PCI NIC to use as the external interface, although I don't understand why the embedded motherboard NIC would be an issue.
Any assistance or suggestions with this issue would be greatly appreciated.