[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Routing problems



I'm running 3.4 on a machine with 2 fxp interfaces. The kernel is
GENERIC with RAID and DUMMY_NOPS enabled (that's it).

I had fxp0 plugged in and everything was running fine. I then decided to
use fxp1 instead. So I moved hostname.fxp0 to hostname.fxp1 and
rebooted. Same network cable (different NIC), same IP, etc.

After that, I now get "No route to host" for every tcp connection I try
to make (icmp and udp work fine). For example:

# ftp 129.128.5.191
ftp: connect: No route to host
ftp>


However:
# ping 129.128.5.191
PING 129.128.5.191 (129.128.5.191): 56 data bytes
64 bytes from 129.128.5.191: icmp_seq=0 ttl=239 time=34.350 ms
--- 129.128.5.191 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 34.350/34.350/34.350/0.000 ms
#


Any ideas? I'm thinking I missed something when I moved NICs, but I'm
pretty sure this doesn't make sense.

I've even tried explicitly adding a route going 129.128.5.191 -> router
and I still get the same behaviour.


# ifconfig -A
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:d0:b7:a9:0f:41
        media: Ethernet autoselect (none)
        status: no carrier
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:d0:b7:1b:32:b1
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.121.92 netmask 0xffffff00 broadcast 192.168.121.255
        inet6 fe80::2d0:b7ff:fe1b:32b1%fxp1 prefixlen 64 scopeid 0x2
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
pfsync0: flags=0<> mtu 1896
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
vlan0: flags=0<> mtu 1500
        address: 00:00:00:00:00:00
vlan1: flags=0<> mtu 1500
        address: 00:00:00:00:00:00
gre0: flags=9010<POINTOPOINT,LINK0,MULTICAST> mtu 1450
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280



(IPv6 output removed):

# netstat -rn
Routing tables
 
Internet:
Destination      Gateway          Flags   Refs   Use   Mtu  Interface
default          192.168.121.1    UGS       1     30     -  fxp1
127/8            127.0.0.1        UGRS      0      0 33224  lo0
127.0.0.1        127.0.0.1        UH        1      0 33224  lo0
192.168.121/24   link#2           UC        2      0     -  fxp1
192.168.121.1    0:10:db:22:9e:a0 UHLc      1      0     -  fxp1
192.168.121.123  0:1:2:c6:6f:ae   UHLc      1    446     -  fxp1
224/4            127.0.0.1        URS       0      0 33224  lo0


# route get 129.128.5.191
   route to: openbsd.sunsite.ualberta.ca
destination: default
       mask: default
    gateway: 192.168.121.1
  interface: fxp1
      flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec   rttvar hopcount     mtu     expire
      0        0        0        0        0        0        0        0

#


# dmesg
OpenBSD 3.4 (GAK) #0: Fri Feb  6 14:05:08 MST 2004
    root@gak:/usr/src/sys/arch/i386/compile/GAK
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 846 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SIMD
real mem  = 536391680 (523820K)
avail mem = 491028480 (479520K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7a) BIOS, date 06/06/00, BIOS32 rev. 0 @
0xfd7e3
pcibios0 at bios0: rev. 2.1 @ 0xfd680/0x980
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdf00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:18:0 ("Intel 82371FB PCI-ISA" rev
0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x5800 0xcd800/0x1000
0xce800/0x1000 0xe4000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82440BX PCI-AGP" rev 0x00
ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 15 function 0 "DEC 21150-BC PCI-PCI" rev 0x06
pci2 at ppb1 bus 2
ahc1 at pci0 dev 12 function 0 "Adaptec AIC-7896/7 U2" rev 0x00: irq 11
ahc1: aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 0 synchronous at 40.0MHz, offset = 0x7f
ahc1: target 0 using tagged queuing
sd0 at scsibus0 targ 0 lun 0: <MAXTOR, ATLAS10K4_36WLS, DFV0> SCSI3
0/direct fixed
sd0: 35074MB, 49070 cyl, 2 head, 731 sec, 512 bytes/sec, 71833096 sec
total
ahc1: target 1 synchronous at 40.0MHz, offset = 0x7f
ahc1: target 1 using tagged queuing
sd1 at scsibus0 targ 1 lun 0: <MAXTOR, ATLAS10K4_36WLS, DFV0> SCSI3
0/direct fixed
sd1: 35074MB, 49070 cyl, 2 head, 731 sec, 512 bytes/sec, 71833096 sec
total
ahc2 at pci0 dev 12 function 1 "Adaptec AIC-7896/7 U2" rev 0x00: irq 11
ahc2: aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/255 SCBs
scsibus1 at ahc2: 16 targets
fxp0 at pci0 dev 14 function 0 "Intel 82557" rev 0x08: irq 10, address
00:d0:b7:a9:0f:41
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
fxp1 at pci0 dev 16 function 0 "Intel 82557" rev 0x08: irq 5, address
00:d0:b7:1b:32:b1
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
pcib0 at pci0 dev 18 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 18 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <ASUS, CD-S520/A, 1.6K> SCSI0 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 18 function 2 "Intel 82371AB USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 18 function 3 not
configured
vga1 at pci0 dev 20 function 0 "Cirrus Logic CL-GD5480" rev 0x23
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
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
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4c40 netmask 4c60 ttymask 4ce2
Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition on opcode 0x0
    SENSE KEY: Not Ready
     ASC/ASCQ: Medium Not Present
raid0 (root): (RAID Level 1) total number of sectors is 306944 (149 MB)
as root
raid1 (root): (RAID Level 1) total number of sectors is 2096384 (1023
MB)
raid2 (root): (RAID Level 1) total number of sectors is 1023232 (499 MB)
raid3 (root): (RAID Level 1) total number of sectors is 9437056 (4607
MB)
raid4 (root): (RAID Level 1) total number of sectors is 3146112 (1536
MB)
raid5 (root): (RAID Level 1) total number of sectors is 8388864 (4096
MB)
raid6 (root): (RAID Level 1) total number of sectors is 3146112 (1536
MB)
raid7 (root): (RAID Level 1) total number of sectors is 43959296 (21464
MB)
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
rootdev=0x1300 rrootdev=0x3600 rawdev=0x3602





Thanks,
Chris

-- 
Chris Cameron
UpNIX Internet Administrator
ardvark.upnix.net
bitbucket.upnix.net
--
http://www.upnix.com