Hey gang,
I have been trying to build an Internet gateway using a 933MHz EPIA
mainboard, and a couple of 3Com 3C905C-TX NIC cards. The gateway works
great, under low load - but has a problem with dropping connectivity
under load.

At first, I thought it might be the VIA LAN port, a vr device. However,
I put two 3Com cards in the box, and it still has problems. Both boards
are known good - they run just fine, at full loads, in other systems.

I have noticed it has a real issue when I window applications through
ssh, or use the cisco ATA (for Vonage VOIP). Sometimes it will work just
fine for hours, then just die. The router host itself is fine - it just
stops routing. I can login at the console, run ifconfig, etc. It just
won't send or receive packets.

Sometimes this causes the cable modem to hang, but other times the cable
modem appears fine. I can't tell, of course, but it is happily blinking
away as normal. I typically reboot both the router and the modem when
this occurs, so I don't know for sure if it was still "alive".

Oddly enough, sometimes this issue "self-corrects". Today, I lost
connectivity for an hour, then it came back up on its own.

Given the odd nature of the problem, I'm not sure what info I should
include - but I'll take a stab at it.

-dmesg:



Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.8-RELEASE #0: Mon Oct 20 19:32:12 EDT 2003
    [EMAIL PROTECTED]:/usr/src/sys/compile/router
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 933371982 Hz
CPU: VIA C3 Samuel 2 (933.37-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x67a  Stepping = 10
  Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX>
real memory  = 264175616 (257984K bytes)
avail memory = 253591552 (247648K bytes)
Preloaded elf kernel "kernel" at 0xc0369000.
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00fdc80
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=8601)> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <Trident model 8500 VGA-compatible display device> at 0.0 irq 10
isab0: <PCI to ISA bridge (vendor=1106 device=8231)> at device 17.0 on
pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8231 ATA100 controller> port 0xc000-0xc00f at device 17.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 9 at device
17.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uplcom0: ATEN International Serial adapter, rev 1.10/0.01, addr 2
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 9 at device
17.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
chip1: <PCI to Other bridge (vendor=1106 device=8235)> at device 17.4 on
pci0
pcm0: <VIA VT82C686A> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq
3 at device 17.5 on pci0
pcm0: <unknown ac97 codec> (id=0x56494161)
pci0: <unknown card> (vendor=0x1106, dev=0x3065) at 18.0 irq 10
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem
0xe4000000-0xe400007f irq 10 at device 19.0 on pci0
xl0: Ethernet address: 00:04:75:95:08:13
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xe000-0xe07f mem
0xe4002000-0xe400207f irq 11 at device 20.0 on pci0
xl1: Ethernet address: 00:04:75:95:07:fa
miibus1: <MII bus> on xl1
xlphy1: <3c905C 10/100 internal PHY> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem
0xc0000-0xcbfff,0xcc000-0xcffff,0xd0000-0xd97ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
joy0 at port 0x201 on isa0
IP Filter: v3.4.31 initialized.  Default = block all, Logging = enabled
ad0: 38154MB <IC25N040ATCS04-0> [77520/16/63] at ata0-master UDMA100
acd0: CDROM <QSI CD-ROM SCR-242> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a

-- i/f configuration:
ifconfig_xl0="DHCP"
ifconfig_xl1="inet 192.168.1.254  netmask 255.255.255.0"

-- sysctl settings:
net.inet.ip.forwarding=1
net.inet.ip.check_interface=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535

-- firewall settings:
# External Interface
block out on xl0 all
block in log on xl0 all

pass in quick on xl0 proto tcp from any to any port = 21 flags S keep
frags keep state
pass in quick on xl0 proto tcp from any to any port = 22 flags S keep
frags keep state
pass in quick on xl0 proto tcp from any to any port = 23 flags S keep
frags keep state
pass in quick on xl0 proto udp from any to any port = 68 keep state

pass out quick on xl0 proto tcp from any to any flags S keep frags keep
state
pass out quick on xl0 proto udp from any to any keep state keep frags
pass out quick on xl0 proto icmp from any to any keep state

# Internal Interface
pass in quick on vr0 all
pass out quick on vr0 all

pass in quick on xl1 all
pass out quick on xl1 all

# Loopback Interface
pass in quick on lo0 all
pass out quick on lo0 all

-- NAT settings:
map xl0 192.168.1.254/24 -> 0/32 proxy port ftp ftp/tcp
rdr xl0 0.0.0.0/0 port 21 -> 192.168.1.1 port 21 tcp
rdr xl0 0.0.0.0/0 port 22 -> 192.168.1.1 port 22 tcp
map xl0 192.168.1.254/24 -> 0/32 portmap tcp/udp auto
map xl0 192.168.1.254/24 -> 0/32

Lastly, when the network IS up, upload speeds are definitely subpar. I
haven't measured it yet, but it is noticeably slower than my Netgear
RT314. Download speeds, though, appear to be as fast as always.

Any help would be appreciated. Also, if it looks like it might be a
Comcast issue, that would be helpful too - though tech support is a bit
of a pain with those guys.

Thanks,
Seth Henry
jshamlet<AT>comcast.net


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to