Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 14:18:31 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        freebsd-net@freebsd.org
Subject:   aironet help
Message-ID:  <20000908141831.A1202@spawn.nectar.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I just got a Cisco Aironet PC Card and a PCI card, and slapped'em into a
couple of machines here running 4.1-STABLE, ifconfig'd them, and tried to
get'em talking.  However, I'm having trouble on one of the machines (the
one with the PCI card): I can't use the interface to send packets (no
route to host).

Machine spawn:
  an0: <Aironet PCI4800> port 0xef00-0xef3f,0xec00-0xec7f mem 0xfebfdf80-0xfebfdfff irq 9 at device 20.0 on pci0
  an0: Ethernet address: 00:40:96:33:a3:e7
  an0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::240:96ff:fe33:a3e7%an0 prefixlen 64 scopeid 0x3 
        inet 10.0.2.1 netmask 0xffffff00 broadcast 10.0.2.255
        inet6 fec0:2::240:96ff:fe33:a3e7 prefixlen 64 
        ether 00:40:96:33:a3:e7

Machine ophelia:
  an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 3 slot 0 on pccard0
  an0: Ethernet address: 00:40:96:31:e6:3c
  an0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.2.2 netmask 0xffffff00 broadcast 10.0.2.255
        inet6 fe80::240:96ff:fe31:e63c%an0 prefixlen 64 scopeid 0x4 
        ether 00:40:96:31:e6:3c

Now for some reason, I get `No route to host' on machine spawn:

  spawn% ping -c 1 -q 10.0.2.1 # ping myself
  PING 10.0.2.1 (10.0.2.1): 56 data bytes

  --- 10.0.2.1 ping statistics ---
  1 packets transmitted, 1 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.127/0.127/0.127/0.000 ms

  spawn% ping -c 1 -q 10.0.2.2 # ping ophelia
  PING 10.0.2.2 (10.0.2.2): 56 data bytes
  ping: sendto: No route to host
  ^C

  spawn% ping -c 1 -q 10.0.2.255 # ping broadcast?
  PING 10.0.2.255 (10.0.2.255): 56 data bytes
  ping: sendto: No route to host
  ^C

Oddly enough, on machine ophelia I have no such trouble:

  ophelia% ping -c 3 -q 10.0.2.1 # ping spawn
  PING 10.0.2.1 (10.0.2.1): 56 data bytes

  --- 10.0.2.1 ping statistics ---
  3 packets transmitted, 0 packets received, 100% packet loss

And I can even see the packets coming in on machine spawn!

  spawn% tcpdump -n -i an0 
  tcpdump: listening on an0
  14:12:27.479190 10.0.2.2 > 10.0.2.1: icmp: echo request
  14:12:28.483487 10.0.2.2 > 10.0.2.1: icmp: echo request
  14:12:29.493505 10.0.2.2 > 10.0.2.1: icmp: echo request

What could have gone wrong?  The routing table looks right to
me:

  spawn% netstat -rn | grep ^10.0.2
  10.0.2/24          link#3             UC          0        0      an0 =>
  10.0.2.1           0:40:96:33:a3:e7   UHLW        0       10      lo0
  10.0.2.2           link#3             UHLW        0        1      an0 =>
  10.0.2.255         ff:ff:ff:ff:ff:ff  UHLWb       0        5      an0

Manually adding to the arp table doesn't change the symptoms.

Does someone have a clue I could borrow? :-)
-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000908141831.A1202>