From owner-freebsd-questions Thu Jan 10 17:21:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id ED0D037B402 for ; Thu, 10 Jan 2002 17:21:35 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g0B1LMC18715; Fri, 11 Jan 2002 14:21:22 +1300 (NZDT) (envelope-from dan@langille.org) From: "Dan Langille" Organization: novice in training To: Date: Thu, 10 Jan 2002 20:21:20 -0500 MIME-Version: 1.0 Subject: Re: routing with PPPoE/DSL on a dual homed gateway Reply-To: dan@langille.org Cc: freebsd-questions@freebsd.org Message-ID: <3C3DF7C0.26594.6FB0D2C@localhost> In-reply-to: <2953.213.155.199.202.1010714973.webmail@webmail.cww.telecomitalia.it> References: <3C3DF24A.21937.6E5B5ED@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 11 Jan 2002 at 3:09, fabrizio.fresco@netsiel.it wrote: > > Everythings working. AFAIK. It's all fine. It's just that I don't > > know > > > > why it's working.... > > You are using the tun0 interface and via pppo(ver)e(thernet) you talk with > your isp. You have a default route, via the tun0 interface, what's wrong ? What is wrong is that I don't undertand *WHY* it works. I understand that tun0 has the public IP address. I am quite sure that the DSL modem is connected to this computer via the NIC vr0. I checked this by setting up a ping to yahoo.com. There are two NICs in this box. If I unplug xl0, the pings continues. If I unplug vr0, the pings stop. I therefore conclude that I conclude that tun0 is routing out via vr0. How does that work if vr0 has no IP address? -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message