{"id":1243,"date":"2016-11-15T11:22:56","date_gmt":"2016-11-15T11:22:56","guid":{"rendered":"http:\/\/10sa.com\/sql_stories\/?p=1243"},"modified":"2016-11-15T11:22:56","modified_gmt":"2016-11-15T11:22:56","slug":"os-x-routing-changed-by-cisco-anyconnect","status":"publish","type":"post","link":"http:\/\/10sa.com\/sql_stories\/?p=1243","title":{"rendered":"OS X routing changed by Cisco AnyConnect"},"content":{"rendered":"<p>If you connect via VPN Cisco client, the routing table is changed.<br \/>\nYou can see the actual routes with following command:<\/p>\n<pre lang=bash>\r\nnetstat -nr | grep \"192.168\"\r\n\r\n# this is my result:\r\n192.168.0\/16       10.0.255.208       UGSc            1        0   utun1\r\n192.168.191        link#17            UCS             2        0   utun1\r\n192.168.191.255    link#17            UHWIi           2        2   utun1\r\n192.168.203        link#17            UCS             2        0   utun1\r\n192.168.203.16\/32  link#4             UCS             1        0     en0\r\n192.168.203.254\/32 link#17            UCS             2        0   utun1\r\n192.168.203.254    link#17            UHWIi           2       14   utun1\r\n192.168.203.255    link#17            UHWIi           1        2   utun1\r\n<\/pre>\n<p>Due to the conflict with my networks from virtualization my networks stopped working properly.<br \/>\nI tried to change the routing however it was in vain, the route has been recreated each time.<br \/>\nI could observed what was happening with:<\/p>\n<pre lang=bash>\r\nroute -n monitor &\r\n<\/pre>\n<pre lang=bash>\r\nroute -n delete -net 192.168.0\/16 -interface utun1\r\n\r\n# change does work neither\r\n# route -n change -net 192.168.0\/16 192.168.191.1\r\n\r\ngot message of size 132 on Tue Nov 15 12:02:03 2016\r\nRTM_DELETE: Delete Route: len 132, pid: 1203, seq 1, errno 0, flags:<GATEWAY,DONE,STATIC,PRCLONING,CONDEMNED>\r\nlocks:  inits: \r\nsockaddrs: <DST,GATEWAY,NETMASK>\r\n 192.168.0.0 10.0.255.208 (255) ffff ffff\r\n\r\ngot message of size 140 on Tue Nov 15 12:02:03 2016\r\nRTM_ADD: Add Route: len 140, pid: 58, seq 125, errno 0, flags:<UP,GATEWAY,DONE,STATIC>\r\nlocks:  inits: \r\nsockaddrs: <DST,GATEWAY,NETMASK>\r\n 192.168.0.0 10.0.255.208 255.255.0.0\r\n<\/pre>\n<p>The solution was to change <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you connect via VPN Cisco client, the routing table is changed. You can see the actual routes with following command: netstat -nr | grep &#8220;192.168&#8221; # this is my result: 192.168.0\/16 10.0.255.208 UGSc 1 0 utun1 192.168.191 link#17 UCS 2 0 utun1 192.168.191.255 link#17 UHWIi 2 2 utun1 192.168.203 link#17 UCS 2 0 utun1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/1243"}],"collection":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1243"}],"version-history":[{"count":2,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/1243\/revisions"}],"predecessor-version":[{"id":1245,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/1243\/revisions\/1245"}],"wp:attachment":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1243"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}