Re: ping: sendto: No route to host

2007-06-25 Thread Jeff Santos
OK...

I know I did not give enough information to allow people help.
So here are some more.

The firewall works fine running routed most of the time. It is
running 4.1-STABLE (below is a dmesg).

I see a lot of interrupts on both internal and external interfaces
sk0 and sk1. Something like 3600. This a bit odd (in my opinion)
since I have another firewall running 3.7 and routed in which the
total amount of interrupts is never above 500 (in the same place).

Now, this period of instability (in which not even ping works)
happens only once or twice a day. It lasts not longer than 10
minutes, and then everything start working again.

The other day, I noticed that the routed daemon was not running
although the RIP socket was still bound. I have a process that
periodically makes sure that the main processes are still
operational. I received this message:

ps: kvm_getproc2: Cannot allocate memory
routed: bind(rip_sock): Address already in use; giving up

from the cron daemon.

I need some ideas to help me to isolate the problem.

Thanks in advance.

Regards,

Jeff.


---
OpenBSD 4.1-stable (GENERIC) #1: Sat May 12 10:14:17 BRT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 501772288 (490012K)
avail mem = 450052096 (439504K)
using 4278 buffers containing 25210880 bytes (24620K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/17/06, BIOS32 rev. 0 @ 0xf9ed0,
SMBIOS rev. 2.3 @ 0xf (42 entries)
bios0: PCCHIPS P25G
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xce54
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcdb0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xe600
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor VIA, unknown product 0x0296 rev 0x00
pchb1 at pci0 dev 0 function 1 vendor VIA, unknown product 0x1296 rev 0x00
pchb2 at pci0 dev 0 function 2 vendor VIA, unknown product 0x2296 rev 0x00
pchb3 at pci0 dev 0 function 3 vendor VIA, unknown product 0x3296 rev 0x00
pchb4 at pci0 dev 0 function 4 vendor VIA, unknown product 0x4296 rev 0x00
pchb5 at pci0 dev 0 function 7 vendor VIA, unknown product 0x7296 rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA VT8378 VGA rev 0x01: aperture at
0xf400, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
skc0 at pci0 dev 8 function 0 D-Link Systems DGE-530T A1 rev 0x11, Yukon
(0x1): irq 10
sk0 at skc0 port A, address 00:13:46:71:f7:c7
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
skc1 at pci0 dev 10 function 0 D-Link Systems DGE-530T A1 rev 0x11, Yukon
(0x1): irq 5
sk1 at skc1 port A, address 00:13:46:71:f3:4a
eephy1 at sk1 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: SAMSUNG SP0842N
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
atapiscsi0 at pciide1 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CDW/DVD SH-M522C, TS05 SCSI0 5/cdrom
removable
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports 

ping: sendto: No route to host

2007-06-21 Thread Jeff Santos
Hi,

Other than a hardware problem (interface, switch, cabling, etc.),
What could cause such an error?

I have an OpenBSD 4.1 station configured as a firewall/router,
in which the internal interface has address 200.232.120.1/24
and the external interface has address 200.232.140.3/24.

Even when I try to ping, say 200.232.120.2, with an updated ARP
table, sometimes I get such an error, sometimes I do not. I do
not see any errors with netstat -ni.

The only process running other than the usual ones is routed.

Thanks for any hint.

Regards,

Jeff.

--
Get a Free E-mail Account at Mail.com!
Choose From 100+ Personalized Domains
Visit http://www.mail.com today