NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
netbsd 6.0.1 amd64 / IPv4 issues with out-of-net gateway using hostroute
hi everybody,
i have trouble configuring a netbsd-6.0.1-amd64 using a hostroute to an
out-of-network gateway with a /32 "network". since this is a hosted server, i
cannot influence the network config in any way. The machine also does not want
to boot at all unless i disable ACPI (-2). the config is
X.Y.132.210/255.255.255.255 via X.Y.128.1 (where X and Y are constant), which
is applied using:
# ifconfig wm0 inet X.Y.132.210 netmask 255.255.255.255 up
# route add -host X.Y.128.1 -link wm0 -iface -expire 1
# route add default X.Y.128.1 -ifp wm0
i know that the upstream router is the next hop, so -expire 1 should be OK.
leaving it out does not change the behaviour. all commands return without
errors, just that i cannot get any v4 traffic in or out of the machine. tcpdump
does not show anything. the same happens when using 6.1-RC1 and -current.
am i missing something obvious or is it supposed to work? i need help at this
point.
attached are text files with ping, ifconfig, netstat and dmesg outputs.
thanks in advance,
flo
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 6.0.1 (GENERIC)
total memory = 2030 MB
avail memory = 1956 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
FUJITSU SIEMENS D2461-C1 ( )
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (nVIDIA C51-MCP51 )
cpu0 at mainbus0 apid 0: Dual-Core AMD Opteron(tm) Processor 1212 HE, id 0x40f33
cpu1 at mainbus0 apid 1: Dual-Core AMD Opteron(tm) Processor 1212 HE, id 0x40f33
mpbios: bus 0 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type ISA
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
mpbios: can't find ioapic 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
cpu1 at mainbus0 apid 1: Dual-Core AMD Opteron(tm) Processor 1212 HE, id 0x40f33
mpbios: bus 0 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type ISA
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
mpbios: can't find ioapic 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vendor 0x10de product 0x02f0 (RAM memory, revision 0xa2) at pci0 dev 0 function
0 not configured
vendor 0x10de product 0x02fa (RAM memory, revision 0xa2) at pci0 dev 0 function
1 not configured
vendor 0x10de product 0x02fe (RAM memory, revision 0xa2) at pci0 dev 0 function
2 not configured
vendor 0x10de product 0x02f8 (RAM memory, revision 0xa2) at pci0 dev 0 function
3 not configured
vendor 0x10de product 0x02f9 (RAM memory, revision 0xa2) at pci0 dev 0 function
4 not configured
Skipping broken PCI header on 0:0:5
vendor 0x10de product 0x02ff (RAM memory, revision 0xa2) at pci0 dev 0 function
5 not configured
vendor 0x10de product 0x027f (RAM memory, revision 0xa2) at pci0 dev 0 function
6 not configured
vendor 0x10de product 0x027e (RAM memory, revision 0xa2) at pci0 dev 0 function
7 not configured
ppb0 at pci0 dev 2 function 0: vendor 0x10de product 0x02fc (rev. 0xa1)
ppb0: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 3 function 0: vendor 0x10de product 0x02fd (rev. 0xa1)
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci0 dev 5 function 0: vendor 0x10de product 0x0241 (rev. 0xa2)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x10de product 0x0270 (RAM memory, revision 0xa2) at pci0 dev 9 function
0 not configured
pcib0 at pci0 dev 10 function 0: vendor 0x10de product 0x0260 (rev. 0xa3)
nfsmbc0 at pci0 dev 10 function 1: vendor 0x10de product 0x0264 (rev. 0xa3)
nfsmb0 at nfsmbc0 SMBus 1
iic0 at nfsmb0: I2C bus
nfsmb1 at nfsmbc0 SMBus 2
iic1 at nfsmb1: I2C bus
ohci0 at pci0 dev 11 function 0: vendor 0x10de product 0x026d (rev. 0xa3)
ohci0: interrupting at ioapic0 pin 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 11 function 1: vendor 0x10de product 0x026e (rev. 0xa3)
ehci0: interrupting at ioapic0 pin 7
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 8 ports each: ohci0
ehci0: EHCI version 1.0
ehci0: companion controller, 8 ports each: ohci0
usb1 at ehci0: USB revision 2.0
viaide0 at pci0 dev 13 function 0: NVIDIA nForce430 IDE Controller (rev. 0xf1)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel ignored (disabled)
viaide1 at pci0 dev 14 function 0: NVIDIA nForce430 Serial ATA Controller (rev.
0xf1)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
viaide1: using ioapic0 pin 5 for native-PCI interrupt
atabus1 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus2 at viaide1 channel 1
viaide2 at pci0 dev 15 function 0: NVIDIA nForce430 Serial ATA Controller (rev.
0xf1)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
viaide2: using ioapic0 pin 10 for native-PCI interrupt
atabus3 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus3 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus4 at viaide2 channel 1
ppb2 at pci0 dev 16 function 0: vendor 0x10de product 0x026f (rev. 0xa2)
pci3 at ppb2 bus 4
pci3: i/o space, memory space enabled
wm0 at pci3 dev 7 function 0: Intel i82541PI 1000BASE-T Ethernet (rev. 0x05)
wm0: interrupting at irq 11
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:1b:21:0a:e3:c9
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
nfe0 at pci0 dev 20 function 0: vendor 0x10de product 0x0268 (rev. 0xa3)
nfe0: interrupting at ioapic0 pin 10
nfe0: Ethernet address 00:19:99:1a:f2:2e
rgephy0 at nfe0 phy 1: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
pchb0 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb1 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb2 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
pchb3 at pci0 dev 24 function 3: vendor 0x1022 product 0x1103 (rev. 0x00)
amdtemp0 at pchb3: AMD CPU Temperature Sensors (K8: core rev JH-F3, socket AM2)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pckbc0 at isa0 port 0x60-0x64
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer0: attached to pcppi0
powernow0 at cpu0: AMD PowerNow!
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
viaide1 port 0: device present, speed: 3.0Gb/s
viaide1 port 1: device present, speed: 3.0Gb/s
wd0 at atabus1 drive 0
wd0: <Hitachi HDT725025VLA380>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus2 drive 0
wd1: <Hitachi HDT725025VLA380>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
netbsd# ifconfig wm0
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
enabled=0
address: 00:1b:21:aa:bb:cc
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet X.Y.132.210 netmask 0xffffffff broadcast X.Y.132.210
netbsd# netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default X.Y.128.1 UGS 0 2 - wm0
X.Y.128.1 link#1 UHLS 1 12 - wm0
X.Y.132.210/32 link#1 UC 0 0 - wm0
127.0.0.1 127.0.0.1 UH 0 56 33648 lo0
netbsd# ping -c 3 X.Y.128.1
PING X.Y.128.1 (X.Y.128.1): 48 data bytes
----X.Y.128.1 PING Statistics----
3 packets transmitted, 0 packets received, 100.0% packet loss
Home |
Main Index |
Thread Index |
Old Index