Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 09:39:06 -0500
From:      "Moti Levy" <sysop@netvision.net.il>
To:        <jacks@sage-american.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: DSL PPPoE with 2 NICs
Message-ID:  <00c601c16de3$49a9e7c0$7000a8c0@kushkush>
References:  <3.0.5.32.20011114192000.00fbf8a8@mail.sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi ,
here's my setup
#ppp.conf
default:
 set device PPPoE:xl0 # xl0 is my nic connected to the dsl
 set mru 1492
 set mtu 1492
 set authname myusername
 set authkey mypassword
 set log Chat Command Connect Warning Error Alert
 set dial
 set login
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 delete all
 add default HISADDR
 enable dns
 nat enable yes
#rc.conf
 ppp_enable="YES"
 ppp_mode="auto"
 ppp_nat="YES"
 ppp_profile="default"

i have that box runing dhcpd as well and distrbute dns wins and gateway
throught that .
barazani



----- Original Message -----
From: <jacks@sage-american.com>
To: <freebsd-questions@freebsd.org>
Sent: Wednesday, November 14, 2001 8:20 PM
Subject: DSL PPPoE with 2 NICs


> We have a small LAN about to be set up on a DSL connection which is
> activated. The LAN is currently sharing an ISDN Internet connection (not
> used for incoming remotes). The gateway machine (192.168.0.1) is running
> Win2K. There are several Win2K stations on the LAN and a couple of
FreeBSDs
> running 4.4, on manually assigned. The DSL is an external modem via PPPoE.
> The LAN is connected via Hub. Each box has a RealTek 8139 on device rl0.
>
> We want to install the DSL in one of the FreeBSD boxes (192.168.0.202) to
> use with the
> DSL (and change to the gateway in place of the Win2K). here's how the
> ifconfig -a
> looks now:
>
> *********************************************************************
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet6 fe80::240:33ff:fe57:92dd%rl0 prefixlen 64 scopeid 0x1
> inet 192.168.0.202 netmask 0xffffff00 broadcast 192.168.0.255
> ether 00:40:33:57:92:dd
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> 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 0x6
> inet 127.0.0.1 netmask 0xff000000
> *********************************************************************
>
> A second NIC card (D-Link DFE-530TX+) will be added for the DSL modem and
> it loads as
> device r11 (without modem connected yet).
>
> The "tun" devices are made and ready.... and 4.4 loads netgraph support I
> believe without need to build into the kernel.
>
> QUESTION:
> Does anyone listening have a similar setup as planned above...DSL PPP over
> PPPoE with two NICs (1 for the modem and 1 for the LAN) and if so, may I
> see your ppp.conf file... and what else should I worry about?
>
> I have read all of the many papers/guides (including Renaud Waldura's
> paper). Any added tips would be VERY welcome as I really want to use BSD
> rather than Win2K..... many t
>
> Best regards,
> Jack L. Stone,
> Server Admin
>
> Sage-American
> http://www.sage-american.com
> jacks@sage-american.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c601c16de3$49a9e7c0$7000a8c0>