Date: Sun, 24 Jun 2001 15:35:45 -0400 (EDT) From: Wyatt Banks <banksw@fang.cs.sunyit.edu> To: questions@freebsd.org Subject: using pseudo-device tun Message-ID: <Pine.BSF.4.21.0106241531580.37015-100000@fang.cs.sunyit.edu>
next in thread | raw e-mail | index | archive | help
I'm currently following the handbook on how to dial into another machine using ppp and having some difficulty getting a tun device working. Here is the output from grep tun mykernel: pseudo-device tun 1 # Packet tunnel. pseudo-device gif 4 # IPv6 and IPv4 tunneling I then rebuilt this kernel, installed it and rebooted, but ifconfig -a gives me the following output which shows no tun devices: rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.0.97 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::2e0:29ff:fe50:93ef%rl0 prefixlen 64 scopeid 0x1 ether 00:e0:29:50:93:ef media: autoselect (none) status: no carrier supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif0 prefixlen 64 scopeid 0x6 gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif1 prefixlen 64 scopeid 0x7 gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif2 prefixlen 64 scopeid 0x8 gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%gif3 prefixlen 64 scopeid 0x9 stf0: flags=8000<MULTICAST> mtu 1280 inet6 fe80::2e0:29ff:fe50:93ef%stf0 prefixlen 64 scopeid 0xa faith0: flags=8000<MULTICAST> mtu 1500 Did I do something wrong in my kernel? Am I supposed to use a gif instead of a tun somehow? thank you banksw@sunyit.edu 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?Pine.BSF.4.21.0106241531580.37015-100000>