Date: Wed, 31 Dec 2003 13:58:54 -0700 From: "axiom" <axiom@VectorNS.com> To: doc@freebsd.org Subject: VPN over IPsec Message-ID: <20031231205854.3560.qmail@vectorns.com>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67108864 (64 MB) avail memory = 57843712 (55 MB) Intel Pentium detected, installing workaround for F00F bug npx0: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX3 WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <display, VGA> 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: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: <ADMtek AN985 10/100BaseTX> port 0x7c00-0x7cff mem 0xffaefc00-0xffaeffff irq 10 at device 10.0 on pci0 dc0: Ethernet address: 00:04:5a:72:f8:cf miibus1: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto eisa0: <EISA bus> on motherboard eisa0: unknown card DF@0020 (0x10c00020) at slot 7 orm0: <Option ROMs> at iomem 0xf4000-0xf4fff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0303> can't assign resources (port) unknown: <PNP0700> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0400> can't assign resources (port) unknown: <PNP0c02> can't assign resources (port) Timecounters tick every 10.000 msec BRIDGE 020214 loaded DUMMYNET initialized (011031) ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default IPsec: Initialized Security Association Processing. ad0: 14598MB <SAMSUNG SV1533D> [29660/16/63] at ata0-master WDMA2 Mounting root from ufs:/dev/ad0s1a arp: 24.117.26.1 moved from 00:08:20:cb:08:8c to 00:08:20:cb:08:54 on dc0 arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: host is not on local network arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt arplookup 192.168.1.30 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.1.30rt --=_0_3559_1072904334--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031231205854.3560.qmail>