PPPoE
Lemasson Sylvain
sylvain_lemasson at yahoo.fr
Thu Jan 1 10:46:01 PST 2004
In the previous mail some files are lacking. You can found them below.
I have configured freebsd to use PPPoE but it does not work.
You can found some parameter files (rc.conf/ppp.conf) and the result of some commands such as netstat and ifconfig. The process break down at boot time. If someone could give some help to configure properly the PPP network.
I have got another question, how could we test the PPPoE if we do not start it at boot time. It is say in the documentation to start it with the command 'ppp -ddial pppoe' but it seems it does not connect. And finaly if we start it how could we stop it (disconnection).
Thank you
-- PPP.conf
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################
default:
set log Phase Chat LCP IPCP CCP tun command
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
set ifaddr 10.33.20.253 10.33.20.1 255.255.255.255 0.0.0.0
pppoe:
set device PPPoE:sis1:
set authname myauthname
set authkey mypassword
set dial
set login
add default HISADDR
-- rc.conf
# -- sysinstall generated deltas -- # Sun Oct 19 19:01:31 2003
# Created: Sun Oct 19 19:01:31 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="PARIS"
network_interfaces="lo0 lp0 sis0 sis1"
ifconfig_sis0="inet 10.33.20.2 netmask 255.255.255.0"
ifconfig_sis1="inet 10.33.20.1 netmask 255.255.255.255 -arp up"
inetd_enable="YES"
kern_securelevel_enable="NO"
keymap="fr.iso.acc"
linux_enable="YES"
moused_enable="YES"
ppp_enable="YES"
ppp_mode="background"
ppp_profile="pppoe"
sendmail_enable="NONE"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
gatway_enable="YES"
Sylvain Lemasson
-------------- next part --------------
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.33.20.2 netmask 0xffffff00 broadcast 10.33.20.255
inet6 fe80::209:5bff:fe1d:9280%sis0 prefixlen 64 scopeid 0x1
ether 00:09:5b:1d:92:80
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
sis1: flags=88c3<UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::209:5bff:fe22:37c3%sis1 prefixlen 64 scopeid 0x2
inet 10.33.20.1 netmask 0xffffffff broadcast 10.33.20.1
ether 00:09:5b:22:37:c3
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
-------------- next part --------------
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.33.20.1 UGSc 0 0 sis1
10.33.20/24 link#1 UC 1 0 sis0
10.33.20.1 00:09:5b:22:37:c3 UHLW 1 0 lo0 =>
10.33.20.1/32 link#2 UC 1 0 sis1
10.33.20.3 00:10:dc:85:d7:b4 UHLW 15 17848 sis0 907
localhost localhost UH 0 268 lo0
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%sis0 link#1 UC sis0
fe80::209:5bff:fe1 00:09:5b:1d:92:80 UHL lo0
fe80::%sis1 link#2 UC sis1
fe80::209:5bff:fe2 00:09:5b:22:37:c3 UHL lo0
fe80::%lo0 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#4 UHL lo0
ff01:: ::1 U lo0
ff02::%sis0 link#1 UC sis0
ff02::%sis1 link#2 UC sis1
ff02::%lo0 ::1 UC lo0
More information about the freebsd-net
mailing list