cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5071
Views
0
Helpful
7
Replies

Anyconnect and Airplay/AirTunes

madxdog123
Level 1
Level 1

At home I often stream music from my Macintosh laptop (OS 10.7.1) to my sound sytem usinf AirPlay/AirTunes. On my local LAN, the AirPlay device is located at 10.0.1.3 . Baseline Netwoork State established

I then connect to my university network using AnyConnect client (3.0.3054). University policy disallows local LAN access during VPN connectoins, so AirPlay device disconnects and is not reachable. Device dissappears from iTunes "Select Speakers" menu. OK, I accept that. Network stae has changed

I then disconnect VN and terminate AnyConnect client application. Airplay devices reapear in

iTunes "Select Speakers" menu. But clicking on the connect box has no effect. AirPlay device 10.0.1.3 is mising from routing tables. Network state has not returned to Baseline. Only way to recover appears to be system reboot.

What's gone wrong?

7 Replies 7

Herbert Baerten
Cisco Employee
Cisco Employee

Hi Wesley,

can you please clarify "10.0.1.3 is mising from routing tables" ?

What does your routing table ("netstat -rn") look like before and after the vpn connection?

Can you ping 10.0.1.3?

Is it in your arp table ("arp -a")?

Herbert

On my LAN, 10.0.1.3 is the address of my Apple Airport Express, an AirPlay receiver device.

After fresh reboot of MacBook Pro, Netstat displays:

Internet:

Destination        Gateway            Flags        Refs      Use   Netif Expire

default            10.0.1.1           UGSc            8        0     en1

10.0.1/24          link#5             UCS             3        0     en1

10.0.1.1           f8:1e:df:f7:3d:70  UHLWIi         23       80     en1   1188

10.0.1.6           127.0.0.1          UHS             0        2     lo0

10.0.1.255         ff:ff:ff:ff:ff:ff  UHLWbI          0       29     en1

10.37.129/24       link#9             UC              2        0   vnic1

10.37.129.2        0:1c:42:0:0:9      UHLWIi          1        2     lo0

10.37.129.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        6   vnic1

10.211.55/24       link#8             UC              2        0   vnic0

10.211.55.2        0:1c:42:0:0:8      UHLWIi          1        2     lo0

10.211.55.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        6   vnic0

127                127.0.0.1          UCS             0        0     lo0

127.0.0.1          127.0.0.1          UH              3      375     lo0

169.254            link#5             UCS             0        0     en1

Start iTunes, connect to AirPlay device

Internet:

Destination        Gateway            Flags        Refs      Use   Netif Expire

default            10.0.1.1           UGSc           13        0     en1

10.0.1/24          link#5             UCS             3        0     en1

10.0.1.1           f8:1e:df:f7:3d:70  UHLWIi         29      285     en1   1073

10.0.1.3           0:11:24:5d:da:f5   UHLWIi          1        6     en1   1175

10.0.1.6           127.0.0.1          UHS             0        2     lo0

10.0.1.255         ff:ff:ff:ff:ff:ff  UHLWbI          0       32     en1

10.37.129/24       link#9             UC              2        0   vnic1

10.37.129.2        0:1c:42:0:0:9      UHLWIi          1        2     lo0

10.37.129.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        6   vnic1

10.211.55/24       link#8             UC              2        0   vnic0

10.211.55.2        0:1c:42:0:0:8      UHLWIi          1        2     lo0

10.211.55.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        6   vnic0

127                127.0.0.1          UCS             0        0     lo0

127.0.0.1          127.0.0.1          UH              3      335     lo0

169.254            link#5             UCS             0        0     en1

Start VPN

Internet:

Destination        Gateway            Flags        Refs      Use   Netif Expire

default            utun0              UCS             7        0   utun0

default            10.0.1.1           UGScI           2        0     en1

10.0.1/24          link#5             UCS             2        0     en1

10.0.1.1           f8:1e:df:f7:3d:70  UHLS            5       11     en1

10.0.1.2           link#5             UHLWIi          1       13     en1

10.0.1.6           127.0.0.1          UHS             0        2     lo0

10.0.1.6/32        132.198.40.142     UGSc            0        0   utun0

10.0.1.255         ff:ff:ff:ff:ff:ff  UHLWbI          0       18     en1

10.37.129/24       link#5             UCS             0        0     en1

10.211.55/24       link#5             UCS             0        0     en1

17.151.16.22       utun0              UHWIi           1        1   utun0

17.172.237.224     utun0              UHWIi           1       17   utun0

127                127.0.0.1          UCS             0        0     lo0

127.0.0.1          127.0.0.1          UH              6     1325     lo0

127.0.0.1/32       132.198.40.142     UGSc            0        0   utun0

132.198.40/24      utun0              UCS             1        0   utun0

132.198.40.142/32  127.0.0.1          UGSc            0        0     lo0

132.198.40.255     utun0              UHW3Ii          0       18   utun0   3490

132.198.47.4/32    10.0.1.1           UGSc            1        0     en1

132.198.125.146    utun0              UHWIi           1       12   utun0

132.198.201.10     utun0              UHWIi          25       40   utun0

169.254            link#5             UCS             0        0     en1

184.85.12.244      utun0              UHWIi           1      323   utun0

184.85.12.245      utun0              UHW3Ii          0       17   utun0   3530

224.0.0.251        utun0              UHmW3I          0        0   utun0   3556

Quit VPN

Internet:

Destination        Gateway            Flags        Refs      Use   Netif Expire

default            10.0.1.1           UGSc            2        0     en1

10.0.1/24          link#5             UCS             2        0     en1

10.0.1.1           f8:1e:df:f7:3d:70  UHLWIi         18       74     en1   1183

10.0.1.6           127.0.0.1          UHS             0        2     lo0

10.0.1.255         ff:ff:ff:ff:ff:ff  UHLWbI          0       17     en1

10.37.129/24       link#9             UCS             2        0   vnic1

10.37.129.255      ff:ff:ff:ff:ff:ff  UHLWbI          0       17   vnic1

10.211.55/24       link#8             UCS             2        0   vnic0

10.211.55.255      ff:ff:ff:ff:ff:ff  UHLWbI          0       17   vnic0

127                127.0.0.1          UCS             0        0     lo0

127.0.0.1          127.0.0.1          UH              4     4052     lo0

169.254            link#5             UCS             0        0     en1

arp:

? (10.0.1.1) at f8:1e:df:f7:3d:70 on en1 ifscope [ethernet]

? (10.0.1.2) at 58:55:ca:5:b7:e6 on en1 ifscope [ethernet]

? (10.0.1.9) at 0:16:cb:4:ff:62 on en1 ifscope [ethernet]

? (10.37.129.2) at 0:1c:42:0:0:9 on vnic1 ifscope permanent [ethernet]

? (10.211.55.2) at 0:1c:42:0:0:8 on vnic0 ifscope permanent [ethernet]

ping 10.0.1.3

PING 10.0.1.3 (10.0.1.3): 56 data bytes

64 bytes from 10.0.1.3: icmp_seq=0 ttl=64 time=146.652 ms

64 bytes from 10.0.1.3: icmp_seq=1 ttl=64 time=2.093 ms

64 bytes from 10.0.1.3: icmp_seq=2 ttl=64 time=1.716 ms

iTunes cannot reestablish connection to AirPort. It appears in menu, but clicking on checkbox doesn't check the box




Hi Wesley,

well, if you can ping it, I suspect that if you do an "arp -a" (or a netstat) after the ping, it will show up in the ARP table, so not sure why iTunes cannot reach it.

Actually I'm not sure how iTunes connects to the Airplay,  maybe you can run Wireshark (or any other sniffer) to see what happens exactly on the network

A) in a working situation, i.e. when you enable that checkbox before running anyconnect and

B) in the failing situation.

Herbert

Hello Wesley,

I had the same problem and I was able to solve it by disabling IPv6 on my Mac.

System Preference -> Network -> Ethernet or Airport -> Advanced -> Configure IPv6: OFF

I hope this work for you!

Jonathan

Using OS X Lion. Choices for IP6 are

  • automatic
  • manual
  • link-local only

OFF not an option. Tried link-local only, no help

Hello,

I have Snow Leopard and I have the "off" option...

If you google "turn off ipv6 in lion" I can see a few option to turn it off.

To determine that the problem was the IPv6, I've used Wireshark (http://www.wireshark.org/download.htm) and then you clearly see that the communication between the computer and the airportExpress switch to ipv6 after using using the cisco VPN.

I hope this help

Jonathan

mg.patel.tech
Level 1
Level 1

The Airplay disconnects because of "Allow all traffic over tunnel" or your home network is in your VPN network.

I was able to fix the issue. Follow these steps

1. Find out your iPad IP address (example: 10.0.0.150)

2. If you have access to the Home modem, reserve the iPad IP address

3. If not, assign a Static IP address to your iPad.

3. Add a static route of your iPad to your MacBook (sudo route -n add -net 10.0.0.150/32 10.0.0.1{Home modem Default Gateway})

NOTE: Make sure you do not have any device with same IP address as your iPad to VPN network. You can check routes in you Cisco Anyconnect App.