From owner-freebsd-doc@FreeBSD.ORG Wed Dec 31 12:59:33 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A70616A4CE for ; Wed, 31 Dec 2003 12:59:33 -0800 (PST) Received: from mail.cableone.net (scanmail2.cableone.net [24.116.0.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6AFD43D1F for ; Wed, 31 Dec 2003 12:59:28 -0800 (PST) (envelope-from axiom@Mail.VectorNS.com) Received: from vectorns.com (unverified [24.117.98.204]) by smail2.cableone.net (SurgeMail 1.5d2) with ESMTP id 556805 for ; Wed, 31 Dec 2003 13:52:26 -0700 Received: (qmail 3561 invoked by uid 89); 31 Dec 2003 20:58:54 -0000 Message-ID: <20031231205854.3560.qmail@vectorns.com> From: "axiom" To: doc@freebsd.org Date: Wed, 31 Dec 2003 13:58:54 -0700 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_0_3559_1072904334"; charset="utf-8" X-Server: High Performance Mail Server - http://surgemail.com Subject: VPN over IPsec X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 20:59:33 -0000 This is a MIME-formatted message. If you see this text it means that your mail software cannot handle MIME-formatted messages. --=_0_3559_1072904334 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: 7bit I have a question regarding the document that talks about "VPN over IPsec". I'm trying to create the interface gif0 at boot time and am adding the following to my /etc/rc.conf according to your document: gifconfig_gif0="A.B.C.D W.X.Y.Z" ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff" static_routes="vpn" route_vpn="192.168.2.0 192.168.2.1 netmask 0xffffff00" I've obviously changed the IP address schemes to fit my network. Using this same documentation on "VPN over IPsec" I can setup the gif0 interface manually with no problems and everything works. I just don't want to have to set it up manually every time I reboot. Any suggestions on why the setup to /etc/rc.conf from your documentation doesn't work? ****************************************************************** One other thing i'd like to point out on that document is that when you tell the user to run "gifconfig gif0 A.B.C.D W.X.Y.Z" it doesn't work. You must first create gif0 with "ifconfig gif0 create" and then continue with your documentation. Thanks much, -Casey P.S. Attached is the output from dmesg! --=_0_3559_1072904334 Content-Disposition: attachment; filename=dmesg.txt Content-Type: text/plain; charset="utf-8"; name=dmesg.txt Content-Transfer-Encoding: 7bit Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Sun Dec 28 18:57:35 MST 2003 axiom@Lewis-Router.vectorns.com:/usr/src/sys/i386/compile/LEWIS_KERN Preloaded elf kernel "/boot/kernel/kernel" at 0xc06da000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 166587302 Hz CPU: Pentium/P55C (166.59-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 67108864 (64 MB) avail memory = 57843712 (55 MB) Intel Pentium detected, installing workaround for F00F bug npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 pcib0: at pcibus 0 on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 8.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x7880-0x78ff mem 0xffaefb80-0xffaefbff irq 9 at device 9.0 on pci0 xl0: Ethernet address: 00:50:04:73:5e:97 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: port 0x7c00-0x7cff mem 0xffaefc00-0xffaeffff irq 10 at device 10.0 on pci0 dc0: Ethernet address: 00:04:5a:72:f8:cf miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto eisa0: on motherboard eisa0: unknown card DF@0020 (0x10c00020) at slot 7 orm0: