FreeBSD PPPoE Problems
Yeah!
planoprez at yahoo.com
Wed Jun 11 03:36:46 PDT 2003
Hey All,
I need some help on what I'm possibly doing wrong. My
goal is to get 2 machines (possibly more) working with
PPPoE. Machine number 1 is the FreeBSD 4.8 box that
has been configured to be a gateway. This box has two
NICs (rl0, and ed0). The rl0 NIC plugs in to the 5360
DSL Modem, the ed0 NIC plugs into a hub. The ED0 NIC
is configured to have an IP address of 192.168.1.254,
and a gateway of 192.168.1.254. Machine number 2 a
Windows 2000 box has been configured to use
192.168.1.1 and as it's gateway it is using
192.168.1.254. From the FreeBSD box I can ping the
daylights out of the Windows 2000 box, from the
Windows 2000 box I can ping the 192.168.1.254 just
fine. Problem is, connectivity on the Windows 2000
box is very very slow. Connectivity on the FreeBSD
box under Mozilla works great. I took FreeBSD out of
the picture and installed PPPoE on the Windows 2000
box and it works fine to. So this is telling me
something isn't right with the config of the FreeBSD
box. Any suggestions? Here is a copy of ifconfig,
ppp.conf, and rc.conf.
IFCONFIG:
ed0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500 inet 192.168.1.254 netmask 0xffffff00 broadcast
192.168.1.255 inet6 fe80::280:c8ff:fec1:4f0%ed0
prefixlen 64 scopeid 0x1 ether 00:80:c8:c1:04:f0
rl0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500 inet6 fe80::2e0:29ff:fe84:b9ad%rl0 prefixlen 64
scopeid 0x2 ether 00:e0:29:84:b9:ad media: Ethernet
autoselect (10baseT/UTP) status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu
1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0
prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask
0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu
1492 inet xx.xx.93.47 --> 66.143.95.254 netmask
0xffffffff Opened by PID 54
END ifconfig
BEGIN rc.conf
ifconfig_ed0="inet 192.168.1.254 netmask
255.255.255.0" defaultrouter="192.168.1.254"
ppp_enable="YES"
ppp_mode="dedicated"
ppp_nat="YES"
ppp_profile="default"
natd_enable="YES"
natd_interface="tun0"
natd_flags=""
END rc.conf
BEGIN ppp.conf
default:
set device PPPoE:rl0
set MRU 1490
set MTU 1490
set authname xxxxxx
set authkey xxxxxx
set log Phase tun command
set dial
set login
set ifaddr 10.0.0.1/0 10.0.0.2/0
add default HISADDR
nat enable yes
nat port tcp 192.168.1.1:5800-5950 5800-5950
nat port udp 192.168.1.1:5800-5950 5800-5950
nat log yes
set cd off
set crtscts off
set redial 0 0
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
More information about the freebsd-questions
mailing list