Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 13:11:14 -0500
From:      Lane <lane@joeandlane.com>
To:        freebsd-questions@freebsd.org
Subject:   pppOe 1000baseTX config
Message-ID:  <200507251311.15216.lane@joeandlane.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've recently switched from a Netgear router to use pppOe for my public 
internet ip on FreeBSD 5.4.

My machine has two nics: bge0 and re0, both of which support 1000baseTX 
configurations, however neither of the two seem to be able to connect when I 
configure them in /etc/rc.conf.  Here's what works:

# Internal network
ifconfig_re0="inet 192.168.0.1 netmask 255.255.255.0"
# No ifconfig_bge0 entry in /etc/rc.conf 
# because ppp configures it automatically 
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="myisp"

After booting, ifconfig yields this:
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet6 fe80::211:11ff:febd:be3a%bge0 prefixlen 64 scopeid 0x1
        ether 00:11:11:bd:be:3a
        media: Ethernet autoselect (10baseT/UTP)
        status: active
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::240:f4ff:feb4:841a%re0 prefixlen 64 scopeid 0x2
        ether 00:40:f4:b4:84:1a
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet x.x.x.x --> y.y.y.y netmask 0xffffffff
        Opened by PID 211

Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX

Here's what DOESN'T work: (may wrap)
ifconfig_re0="inet 192.168.0.1 netmask 255.255.255.0 media 1000baseTX mediaopt 
full-duplex"
ifconfig_bge0="media 1000baseTX mediaopt full-duplex"
# No inet or netmask in ifconfig_bge0, as it is assumed ppp will supply this.

When I reboot and run ifconfig, both of these interfaces have "status: no 
carrier"

Does anyone have experience configuring either of these Nics?  And, 
especially, what sort of config options can I use to exploit the faster 
connect speed on the pppOe interface?

Thanks!

lane



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507251311.15216.lane>