EGATE IPv6 DSL Connectivity
FreeBSD Example Coniguration
The following configuration was provided by a customer and is provided as guidance to those wishing to connect to our IPv6 service using FreeBSD. This configuration is meant as a guidance and you will need to customize it based on your configuration - specifically your physical interface setup. No support is provided for this operating system at this time.
rc.conf:
hostname="your.hostname.goes.here"
ppp_enable="YES"
ppp_nat="NO"
ppp_mode="ddial"
ppp_profile="egateIPv6"
ifconfig_ath0="mode 11g mediaopt hostap up"
ifconfig_sis1="up"
ifconfig_sis2="up"
cloned_interfaces="bridge0"
ifconfig_bridge0="inet #INSERT v4 STATIC IP# netmask #INSERT v4 STATIC NETMASK# addm ath0 addm sis1 addm sis2 up"
ipv6_enable="YES"
ipv6_network_interfaces="sis1 sis2 ath0"
ipv6_ifconfig_sis1="2001:4900:#YOUR EGATE v6 Prefix#::1 prefixlen 64"
ipv6_ifconfig_sis2="2001:4900:#YOUR EGATE v6 Prefix#::2 prefixlen 64"
ipv6_ifconfig_ath0="2001:4900:#YOUR EGATE v6 Prefix#::3 prefixlen 64"
gateway_enable="YES"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="sis1 sis2 ath0"
ppp.conf file:
default:
set log Phase Chat hdlc tun IPCP
set device PPPoE:sis0
enable dns
enable echo
egateIPv6:
set authname #your IPv6 DSL Username#
set authkey #your IPv6 DSL Password#
set dial
set login
add default HISADDR
add default HISADDR6
kernel config file:
#
# NET4801 -- Kernel config for FreeBSD/i386 on Soekris net4801 embedded system
#
machine i386
cpu I586_CPU
ident NET4801
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options IPSEC # IP security
options MROUTING # Multicast routing
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options ATA_STATIC_ID # Static device numbering
options CPU_GEODE # SC1100 Geode embedded processor
options CPU_SOEKRIS # enables support soekris hardware.
options DEVICE_POLLING # enable device polling
options HZ=1000 # slows the clock interrupts per second
options NETGRAPH # Graph based kernel networking subsystem
options NETGRAPH_ETHER # Ethernet netgraph node type
options NETGRAPH_PPPOE # PPPoE netgraph node type
options NETGRAPH_SOCKET # Socket netgraph node type
device apic # I/O APIC
device pci # PCI bus
device ata # ATA and ATAPI
device atadisk # ATA disk drives
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
device sio # 8250, 16[45]50 based serial ports
device miibus # MII bus support
device sis # Silicon Integrated Systems SiS 900/SiS 7016
device wlan # 802.11 support (Required)
device wlan_scan_ap # 802.11 AP mode scanning
device wlan_scan_sta # 802.11 STA mode scanning
device wlan_wep # WEP crypto support for 802.11 devices
device wlan_ccmp # AES-CCMP crypto support for 802.11 devices
device wlan_tkip # TKIP and Michael crypto support for 802.11
device wlan_xauth # External authenticator support for 802.11
device wlan_acl # MAC-based ACL support for 802.11 devices
device ath # Atheros IEEE 802.11 wireless network driver
device ath_hal # Atheros Hardware Access Layer
device ath_rate_sample # John Bickets SampleRate control algorithm.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device if_bridge # Ethernet bridging
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device bpf # Berkeley packet filter
device crypto # Cryptographic services
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ulpt # Printer
|