Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 16:11:51 +0200
From:      Niek Bergboer <niek@wit379119.student.utwente.nl>
To:        freebsd-stable@freebsd.org
Subject:   My gif0 interface
Message-ID:  <20020616141156.022E15497@wit379119.student.utwente.nl>

next in thread | raw e-mail | index | archive | help

Why is it that despite I've got gif and ipsec support compiled into my=20
kernel, I don't have a gif0 interface?

My kernel config looks like this:

machine=09=09i386
cpu=09=09I586_CPU
ident=09=09WUTRA1
maxusers=0964

#makeoptions=09DEBUG=3D-g=09=09#Build kernel with gdb(1) debug symbols

options =09MATH_EMULATE=09=09#Support for x87 emulation
options =09INET=09=09=09#InterNETworking
options =09INET6=09=09=09#IPv6 communications protocols
options =09FFS=09=09=09#Berkeley Fast Filesystem
options =09FFS_ROOT=09=09#FFS usable as root device [keep this!]
options =09SOFTUPDATES=09=09#Enable FFS soft updates support
options =09MFS=09=09=09#Memory Filesystem
options =09MD_ROOT=09=09=09#MD is a potential root device
options =09NFS=09=09=09#Network Filesystem
options =09NFS_ROOT=09=09#NFS usable as root device, NFS required
options =09MSDOSFS=09=09=09#MSDOS Filesystem
options=09=09SMBFS=09=09=09#SMB/CIFS filesystem
options =09CD9660=09=09=09#ISO 9660 Filesystem
options =09CD9660_ROOT=09=09#CD-ROM usable as root, CD9660 required
options =09PROCFS=09=09=09#Process filesystem
options =09COMPAT_43=09=09#Compatible with BSD 4.3 [KEEP THIS!]
options =09SCSI_DELAY=3D15000=09#Delay (in ms) before probing SCSI
options =09UCONSOLE=09=09#Allow users to grab the console
options =09USERCONFIG=09=09#boot -c editor
options =09VISUAL_USERCONFIG=09#visual boot -c editor
options =09KTRACE=09=09=09#ktrace(1) support
options =09SYSVSHM=09=09=09#SYSV-style shared memory
options =09SYSVMSG=09=09=09#SYSV-style message queues
options =09SYSVSEM=09=09=09#SYSV-style semaphores
options =09P1003_1B=09=09#Posix P1003_1B real-time extensions
options =09_KPOSIX_PRIORITY_SCHEDULING
options=09=09ICMP_BANDLIM=09=09#Rate limit bad replies
options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev
options =09UFS_DIRHASH=09=09#Improve performance on big directories

options =09IPFIREWALL=09=09# Firewall
options =09IPFIREWALL_FORWARD=09#enable transparent proxy support
options =09IPDIVERT=09=09#divert sockets
options =09IPFILTER=09=09#ipfilter support
options =09IPFILTER_LOG=09=09#ipfilter logging

options =09IPFIREWALL_VERBOSE_LIMIT=3D100=09#limit verbosity
#options =09IPV6FIREWALL=09=09#firewall for IPv6
#options =09IPV6FIREWALL_VERBOSE
#options =09IPV6FIREWALL_VERBOSE_LIMIT=3D100
#options =09IPV6FIREWALL_DEFAULT_TO_ACCEPT
options =09IPSTEALTH=09=09#support for stealth forwarding
options =09TCPDEBUG

options =09IPSEC=09=09=09#IP security
options =09IPSEC_ESP=09=09#IP security (crypto; define w/ IPSEC)
options =09IPSEC_DEBUG=09=09#debug for IP security

device=09=09isa
device=09=09pci

# Floppy drives
device=09=09fdc0=09at isa? port IO_FD1 irq 6 drq 2
device=09=09fd0=09at fdc0 drive 0

# ATA and ATAPI devices
device=09=09ata0=09at isa? port IO_WD1 irq 14
device=09=09ata1=09at isa? port IO_WD2 irq 15
device=09=09ata
device=09=09atadisk=09=09=09# ATA disk drives
#device=09=09atapicd=09=09=09# ATAPI CDROM drives
#device=09=09atapifd=09=09=09# ATAPI floppy drives
#device=09=09atapist=09=09=09# ATAPI tape drives
options =09ATA_STATIC_ID=09=09#Static device numbering
#options =09ATA_ENABLE_ATAPI_DMA=09#Enable DMA on ATAPI devices
#options=09=09ATA_ENABLE_WC           #Enable write caching on ATA disks
#options =09ATA_ENABLE_TAGS  =09#Enable tagged queuing on some devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device=09=09atkbdc0=09at isa? port IO_KBD
device=09=09atkbd0=09at atkbdc? irq 1 flags 0x1
#device=09=09psm0=09at atkbdc? irq 12

device=09=09vga0=09at isa?

# splash screen/screen saver
pseudo-device=09splash

# syscons is the default console driver, resembling an SCO console
device=09=09sc0=09at isa? flags 0x100

# Floating point support - do not disable.
device=09=09npx0=09at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device=09=09apm0    at nexus? disable flags 0x20 # Advanced Power Managem=
ent

# Serial (COM) ports
device=09=09sio0=09at isa? port IO_COM1 flags 0x10 irq 4
#device=09=09sio1=09at isa? port IO_COM2 irq 3

# Parallel port
device=09=09ppc0=09at isa? irq 7
device=09=09ppbus=09=09# Parallel port bus (required)
device=09=09lpt=09=09# Printer
#device=09=09plip=09=09# TCP/IP over parallel
#device=09=09ppi=09=09# Parallel port interface device
#device=09=09vpo=09=09# Requires scbus and da


# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NI=
Cs!
device=09=09miibus=09=09# MII bus support
device=09=09dc=09=09# DEC/Intel 21143 and various workalikes

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device=09loop=09=09# Network loopback
pseudo-device=09ether=09=09# Ethernet support
#pseudo-device=09sl=091=09# Kernel SLIP
#pseudo-device=09ppp=091=09# Kernel PPP
pseudo-device=09tun=09=09# Packet tunnel.
pseudo-device=09pty     128=09# Pseudo-ttys (telnet etc)
pseudo-device=09md=09=09# Memory "disks"
pseudo-device=09gif=094=09# IPv6 and IPv4 tunneling
pseudo-device=09faith=091=09# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device=09bpf=09=09#Berkeley packet filter

device=09=09pcm0=09at pci?
#device=09=09sbc0=09at isa? port 0x220 irq 5 drq 1 flags 0x15

# Disk quotas are supported when this option is enabled.
options =09QUOTA=09=09=09#enable disk quotas

# SMBFS support
# Kernel side iconv library
options =09LIBICONV
# SMB/CIFS requester
# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBI=
CONV
# options.
# NETSMBCRYPTO enables support for encrypted passwords.
options =09NETSMB=09=09=09#SMB/CIFS requester
options =09NETSMBCRYPTO=09=09#encrypted password support for SMB
# mchain library. It can be either loaded as KLD or compiled into kernel
options =09LIBMCHAIN=09=09#mbuf management library
# The SMB filesystem
options=09=09SMBFS

#
# SMB/CIFS requester
# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBI=
CONV
# options.
# NETSMBCRYPTO enables support for encrypted passwords.
options =09NETSMB=09=09=09#SMB/CIFS requester
options =09NETSMBCRYPTO=09=09#encrypted password support for SMB
# mchain library. It can be either loaded as KLD or compiled into kernel
options =09LIBMCHAIN=09=09#mbuf management library
# Kernel side iconv library
options =09LIBICONV


However, ifconfig doesn't show the interface:
dc0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
=09inet6 xxxx::xxx:xxxx:xxxx:xxxx%dc0 prefixlen 64 scopeid 0x1=20
=09inet 130.89.xxx.xxx netmask 0xffffe000 broadcast 130.89.xxx.xxx
=09inet6 xxxx:xxx:xxxx:xxxx:xxx:xxxx:xxxx:xxxx prefixlen 64 autoconf=20
=09ether 00:80:48:b3:22:ee
=09media: Ethernet autoselect (100baseTX <full-duplex>)
=09status: active
dc1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
=09inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
=09inet6 fe80::280:48ff:feb3:3414%dc1 prefixlen 64 scopeid 0x2=20
=09ether 00:80:48:b3:34:14
=09media: Ethernet autoselect (100baseTX <full-duplex>)
=09status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
=09inet6 ::1 prefixlen 128=20
=09inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3=20
=09inet 127.0.0.1 netmask 0xff000000=20
faith0: flags=3D8002<BROADCAST,MULTICAST> mtu 1500

And gifconfig doesn't find one either:
gifconfig gif0

Any suggestions?

TIA

Niek


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020616141156.022E15497>