From owner-freebsd-questions Tue Jan 23 9:13:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id 9D8AB37B400 for ; Tue, 23 Jan 2001 09:12:59 -0800 (PST) Received: (from apache@localhost) by mail2.wmptl.com (8.9.3/8.9.3) id MAA43941; Tue, 23 Jan 2001 12:26:49 -0500 (EST) (envelope-from webmaster@wmptl.com) Date: Tue, 23 Jan 2001 12:26:49 -0500 (EST) Message-Id: <200101231726.MAA43941@mail2.wmptl.com> From: "Nathan Vidican" To: questions@freebsd.org Subject: Static subnet routing over PPPOE X-Mailer: NeoMail 1.20 X-IPAddress: 216.94.6.26 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would like to replace our current Cisco Pro 1004 router with a FreeBSD box. The reason being, we want to move from ISDN to DSL, but don't particularily feel like purchasing another router if it can be avoided. My question I guess, is how does one setup the routing so as to route through an interface which does not have an IP address? The Cisco Pro 1004 router we have uses this configuration: ip subnet-zero isdn switch-type basic-ni1 ! interface Ethernet0 ip address 216.94.6.25 255.255.255.248 ! interface BRI0 ip unnumbered Ethernet0 encapsulation ppp no ip route-cache This works well, leaving the IP address '216.94.6.25' addressed to the ethernet port on the ISDN router, and routing through the BRI0 interface to the default route. But to move over to DSL, I'd have to use PPPOE authentication. Here's what I'm thinking: ISP sets up a PPPOE account which assigned the IP address of the 'router', this address would then be bound to the NIC on the LAN side of the network. Thus leaving the actual NIC which carries the PPPOE connection unbound to a specific IP address; I would then have to do something like: route add 0.0.0.0 xxx.xxx.xxx.xxx and route add xxx.xxx.xxx.xxx ed1, (where ed1 is the PPPOE interface). This would mimmick the setup of the Cisco router currently implemented, but would it work? If so, how does one actually configure the FreeBSD machine to bring up a link on a NIC, but not bind it to an address? -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message