Search Linux Wireless

mac80211_hwsim: Problem setting up communication

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

 



Hi,

I want to use mac80211_hwsim (from kernel 2.6.30-rc6) for some testing,
but I can't get the two interfaces to communicate with each other.

I've done the following:

# hostapd -B hostapd.conf
Configuration file: hostapd.conf
Using interface wlan0 with hwaddr 02:00:00:00:00:00 and ssid 'mac80211 test'
# iwconfig wlan1 essid "mac80211 test"
# ifconfig wlan0 10.0.0.1 up
# ifconfig wlan1 10.0.0.2 up

wlan1 can successfully associate, but I can't reach any interface via
the other:

# ping -I wlan0 10.0.0.2
PING 10.0.0.2 (10.0.0.2) from 10.0.0.1 wlan0: 56(84) bytes of data.
>From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
# ping -I wlan1 10.0.0.1
PING 10.0.0.1 (10.0.0.1) from 10.0.0.2 wlan1: 56(84) bytes of data.
>From 10.0.0.2 icmp_seq=1 Destination Host Unreachable

With tcpdump I can see ARP requests on both interfaces:
09:43:28.687273 ARP, Request who-has 10.0.0.2 tell 10.0.0.1, length 28

But there is no answer or other traffic.

Did I forget soemthing in the setup?


Thanks for your help.
Regards,

Reiner
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux