ip address is of 192.168. hostname is comaqs domain name is domo.netB B dmesg is as follows, with this configuaration the nic which doesn't work is the vr0
B OpenBSD 4.8 (GENERIC) #136: Mon Auf 16 09:06:23 MDT 2010 B B B B B B B dera...@i386.opendsb.org:/usr/src/arch/i386/compile/GENERICB cpu0: AMD Duron(tm) processor (bAuthenticAMDb 686-class, 64KB L2 cache 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,S SE real mem = 536379392 (511MB) avail mem = 517648384 (493MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/10/03, BIOS rev. 0 @ 0xfb3b0, SMBIOS rev. 2.2 @0xf0800 (34 entries) bios0: vendor Phoenx Technologies, LTD version b6.00 PCb date 09/10/2003 bios0: VIA Technologies, Inc. VT8367-8235 apm0 at bios0: PowerManagement spec V1.2 (slowidle) lapm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0: at bios0: rev. 2.1 @0xf0000/0xdf74 pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdec0/176 (9 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 12 pcibios0:Interrupt Router at 000:17:0 (bVIA VT82C596A ISAb rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0x0000/0xb000 cpu at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 bVIA VT8366 PCIb rev 0x00 viaagp0 at pchb: v2 agp0 at viaagp0: aperture at 0xd0000000, size 0x10000000 ppb0 at pci0 dev 1 function 0 bVIA VT8366 AGPb rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 bATI Radeon VEb rev 0x00 wsdisplay0 at vga1 mux 1:console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 re0 at pci0 dev 9 function 0 bRealtek 8169b rev 0x10: RTL8169/8110SB (0x1000), irq 10, address 74:ea:3a:81:f0:95 rgephy at re0 phy 7: RTL8169S/811oS PHY rev. 3 uhci0 at pci0 dev 16 function 0 bVIA VT83C572 USBb rev 0x80: irq 11 uhci1 at pci0 dev 16 function 1 bVIA VT83C572 USBb rev 0x80: irq 10 uhci2 at pci0 dev 16 function 2 bVIA VT83C572 USBb rev 0x80: irq 12 ehci0 at pci0 dev 16 function 3 bVIA VT6202 USBb rev 0x82: irq 5 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 bVIA EHCI root hubb rev 2.00/1 addr 1 viapm0 at pci0 dev 17 function 0 bVIA VT8235 ISAb rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x52: 512MB DDR SDRAM non parity PC2700CL2.5 pciide0 at pci0 dev17 function 1 bVIA VT82C571 IDEb rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct15 20> wd0: 16-sector PIO, LBA, 19470MB, 39876480 sectors wd1 at pciide0 channel 0 drive 1: <QUANTUM FIREBALLlct15 20> wd0: 16-sector PIO, LBA, 19470MB, 39876480 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0:<TSSTcorp, CD/DVDW TS-H552B, TS03> ATAPI 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets cd0 at scsibus0 targ 0 lun 0:<RICOH, CD-R/RW MP7080A, 1.10> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 vr0 at pci0 dev 18 function 0 bVIA Rhinell-2b rev 0x74: irq 11, address 00:0d:87:98:c3:61 ukphy0 at vr0 phy 1: GENERIC IEEE802.3u media interface, rev. 9: t usb1 bOUI 0x004063, model 0x0032 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 bVIA UHCI root hubb rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 bVIA UHCI root hubb rev 1.00/1.00 addr 1 usb1 at uhci2: USB revision 1.0 uhub3 at usb3 bVIA UHCI root hubb rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4; 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 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f8/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ff6d netmask ff6d ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b B B rancor <theran...@gmail.com> hat am 28. Juli 2011 um 14:27 geschrieben: > Well, it would be nice to have some more info like dmesg, hostname.? and other > info to help you solve the problem. > // rancor > > Den 28 jul 2011 12:51 skrev "wp10596728-4" <khaeberl...@cmq-kh.de > [mailto:khaeberl...@cmq-kh.de] >: > > Hi all, > > B > > I have a machine with 4.8 OpenBSD, which I want to use as a gateway. > > But I can not get any traffic on the 2nd nic. > > Forwarding for inet and inet6 is set =1 > > It is not a problem of the nics. If I install nic2 first then it works and > > nic1 > > doesn't work. > > It is also not a problem of PF, which disabled for testing. > > B > > Can anybody tell me what else do I need to mlook at? > > B > > B > > Klaus