Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st December 2008
DraconianTimes's Avatar
DraconianTimes DraconianTimes is offline
Security Geek
Join Date: May 2008
Location: United Kingdom
Posts: 37
Default PPPoE -> ADSL Router (Bridge) - Slow connect?

I have a Zyxel P660HW-T1 v2 ADSL router (latest firmware 3.40) which up until yesterday was plugged directly into my home switch for Internet access. As I wanted to add a better wireless setup, more advanced firewalling and some other features, I decided to build a new OpenBSD system to act as wireless ap/router/firewall and bridge to the Zyxel.

I have reconfigured the Zyxel router to Bridge mode, using RFC 1483 Encapsulation and LLC multiplexing. I'm in the UK and my ISP is Demon Internet. As I've been given a static IP, I've configured that within hostname.pppoe0. OpenBSD is 4.4-CURRENT i386 snapshot from 2008-12-27.

The Issue: It seems to take quite some time (~5 minutes) for the OpenBSD box to establish the ADSL connection via the Zyxel router. Once up, it is fine and seems to be stable, but it seems strange that it should take so long to establish the link.

# ifconfig pppoe0
        priority: 0
        dev: fxp0 state: session
        sid: 0xdb69 PADI retries: 6 PADR retries: 0 time: 00:01:56
        sppp: phase network authproto chap authname "YYYYYY@XXXXXXX.demonadsl.co.uk"
        groups: pppoe egress
        inet6 fe80::215:e9ff:feaa:d589%pppoe0 ->  prefixlen 64 scopeid 0x6
        inet MY.STATIC.IP.ADD --> netmask 0xffffffff
# cat /etc/hostname.pppoe0
pppoedev fxp0 authproto chap \
authname 'YYYYYY@XXXXXXX.demonadsl.co.uk' authkey 'ZZZZZZ' up
!/sbin/route add default -ifp pppoe0
# cat /etc/hostname.fxp0
# dmesg
OpenBSD 4.4-current (GENERIC) #1638: Wed Dec 24 01:42:31 MST 2008
cpu0: Intel(R) Pentium(R) 4 CPU 1.70GHz ("GenuineIntel" 686-class) 1.70 GHz
real mem  = 536309760 (511MB)
avail mem = 510357504 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/02, BIOS32 rev. 0 @ 0xeaa30, SMBIOS rev. 2.3 @ 0xf8dcc (50 entries)
bios0: vendor Compaq version "686Y2 v3.04" date 07/29/2002
bios0: Compaq Evo D500
acpi0 at bios0: rev 0
acpi0: wakeup devices PCI0(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3) USB2(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (HUB_)
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc0000/0x9800 0xc9800/0x1800 0xe2600/0x7600!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x12
pci2 at ppb1 bus 2
skc0 at pci2 dev 4 function 0 "D-Link Systems DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 8 int 16 (irq 5)
sk0 at skc0 port A: address 00:15:e9:aa:d5:89
eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5
fxp0 at pci2 dev 8 function 0 "Intel 82562" rev 0x03, i82562: apic 8 int 20 (irq 5), address 00:08:02:50:e7:49
inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0
ral0 at pci2 dev 9 function 0 "Ralink RT2561S" rev 0x00: apic 8 int 18 (irq 10), address 00:0e:2e:c5:7e:7c
ral0: MAC/BBP RT2561C, RF RT2527
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x12
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x12: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: <ST3400832A>
wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <PIONEER, DVD-RW DVR-115D, 1.06> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x12: apic 8 int 19 (irq 5)
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x12: apic 8 int 23 (irq 11)
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x12: can't map codec i/o space
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
Any ideas on how to improve the situation?

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to internet via adsl router michaelrmgreen FreeBSD General 3 9th August 2009 12:29 PM
Transparent bridge performance with PF northwoods FreeBSD General 3 30th January 2009 09:48 AM
firewall for 2 adsl milo974 OpenBSD General 2 13th October 2008 05:03 PM
ftp-proxy on transparent bridge mswall OpenBSD Security 4 7th July 2008 01:30 PM
Modem PPPoE vs OpenBSD PPPoE ryoken OpenBSD Security 13 15th June 2008 10:07 PM

All times are GMT. The time now is 02:47 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick