{"action":"created","issue":{"url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/194","repository_url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi","labels_url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/194/comments","events_url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/194/events","html_url":"https://github.com/intrig-unicamp/mininet-wifi/issues/194","id":372296949,"node_id":"MDU6SXNzdWUzNzIyOTY5NDk=","number":194,"title":"can not ping from station to host (staX ping hY)","user":{"login":"hdm0511","id":39071614,"node_id":"MDQ6VXNlcjM5MDcxNjE0","avatar_url":"https://avatars1.githubusercontent.com/u/39071614?v=4","gravatar_id":"","url":"https://api.github.com/users/hdm0511","html_url":"https://github.com/hdm0511","followers_url":"https://api.github.com/users/hdm0511/followers","following_url":"https://api.github.com/users/hdm0511/following{/other_user}","gists_url":"https://api.github.com/users/hdm0511/gists{/gist_id}","starred_url":"https://api.github.com/users/hdm0511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdm0511/subscriptions","organizations_url":"https://api.github.com/users/hdm0511/orgs","repos_url":"https://api.github.com/users/hdm0511/repos","events_url":"https://api.github.com/users/hdm0511/events{/privacy}","received_events_url":"https://api.github.com/users/hdm0511/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-21T09:44:00Z","updated_at":"2018-10-21T14:00:02Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nPlease help me with the following issue. Thank you very much\r\nI have this scenario built with the help of VND: \r\nsta5<------wirelessChannel------>AP2<-------utp----->Switch3<--------utp-------->h4\r\n                                                        \\                              /\r\n                                                          \\                          /\r\n                                                           |_____C1_____| \r\nI can not ping from sta5 to h4, or from h4 to sta5.\r\n++++++++++\r\n*** Creating nodes\r\n*** Creating links\r\n*** Starting network\r\n*** Configuring nodes\r\n*** Running CLI\r\n*** Starting CLI:\r\nmininet-wifi> nodes\r\navailable nodes are: \r\nap2 c1 h4 s3 sta5\r\nmininet-wifi> sta5 ping h4\r\nPING 10.0.0.4 (10.0.0.4) 56(84) bytes of data.\r\nFrom 10.0.0.5 icmp_seq=1 Destination Host Unreachable\r\nFrom 10.0.0.5 icmp_seq=2 Destination Host Unreachable\r\nFrom 10.0.0.5 icmp_seq=3 Destination Host Unreachable\r\nFrom 10.0.0.5 icmp_seq=4 Destination Host Unreachable\r\nFrom 10.0.0.5 icmp_seq=5 Destination Host Unreachable\r\nFrom 10.0.0.5 icmp_seq=6 Destination Host Unreachable\r\n^C\r\n++++++++++\r\n\r\n+++++++++++here is ifconfig:++++++++++++\r\n~/myApps$ ifconfig\r\nap2-eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet6 fe80::54cd:dfff:feb7:434f  prefixlen 64  scopeid 0x20<link>\r\n        ether 56:cd:df:b7:43:4f  txqueuelen 1000  (Ethernet)\r\n        RX packets 342  bytes 18704 (18.7 KB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 327  bytes 26443 (26.4 KB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nap2-wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet6 fe80::ff:fe00:100  prefixlen 64  scopeid 0x20<link>\r\n        ether 02:00:00:00:01:00  txqueuelen 1000  (Ethernet)\r\n        RX packets 23  bytes 1454 (1.4 KB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 65  bytes 8817 (8.8 KB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\ndocker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\r\n        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255\r\n        ether 02:42:2a:e9:33:a7  txqueuelen 0  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 0  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nlo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536\r\n        inet 127.0.0.1  netmask 255.0.0.0\r\n        inet6 ::1  prefixlen 128  scopeid 0x10<host>\r\n        loop  txqueuelen 1000  (Local Loopback)\r\n        RX packets 99420  bytes 12091372 (12.0 MB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 99420  bytes 12091372 (12.0 MB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\ns3-eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet6 fe80::4000:57ff:fe02:ab2a  prefixlen 64  scopeid 0x20<link>\r\n        ether 42:00:57:02:ab:2a  txqueuelen 1000  (Ethernet)\r\n        RX packets 327  bytes 26443 (26.4 KB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 342  bytes 18704 (18.7 KB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\ns3-eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet6 fe80::e875:62ff:fe5a:68b5  prefixlen 64  scopeid 0x20<link>\r\n        ether ea:75:62:5a:68:b5  txqueuelen 1000  (Ethernet)\r\n        RX packets 29  bytes 1794 (1.7 KB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 357  bytes 21030 (21.0 KB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nvirbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500\r\n        inet 192.168.123.1  netmask 255.255.255.0  broadcast 192.168.123.255\r\n        ether 52:54:00:64:a7:ef  txqueuelen 1000  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 0  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nvmnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 192.168.255.1  netmask 255.255.255.0  broadcast 192.168.255.255\r\n        inet6 fe80::250:56ff:fec0:1  prefixlen 64  scopeid 0x20<link>\r\n        ether 00:50:56:c0:00:01  txqueuelen 1000  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 1916  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nvmnet8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 172.16.149.1  netmask 255.255.255.0  broadcast 172.16.149.255\r\n        inet6 fe80::250:56ff:fec0:8  prefixlen 64  scopeid 0x20<link>\r\n        ether 00:50:56:c0:00:08  txqueuelen 1000  (Ethernet)\r\n        RX packets 0  bytes 0 (0.0 B)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 1910  bytes 0 (0.0 B)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\nwlp58s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 192.168.1.10  netmask 255.255.255.0  broadcast 192.168.1.255\r\n        inet6 fe80::bbc7:1da4:8d30:eee0  prefixlen 64  scopeid 0x20<link>\r\n        inet6 fdc8:5195:5353:2c00:b238:20b8:964c:b98f  prefixlen 64  scopeid 0x0<global>\r\n        ether a0:88:69:eb:68:d3  txqueuelen 1000  (Ethernet)\r\n        RX packets 144922  bytes 138235099 (138.2 MB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 104857  bytes 23278438 (23.2 MB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n++++++++++++++++++++++++++++++++++\r\n\r\n++++++here are the code++++\r\n`from mn_wifi.net import Mininet_wifi\r\nfrom mn_wifi.cli import CLI_wifi\r\nfrom mininet.node import RemoteController\r\nfrom mininet.log import setLogLevel, info\r\n\r\ndef topology():\r\n    \"Create a network.\"\r\n    net = Mininet_wifi( controller=RemoteController )\r\n\r\n    info(\"*** Creating nodes\\n\")\r\n    c1 = net.addController( 'c1', ip='127.0.0.1', port=6633 )\r\n    ap2 = net.addAccessPoint( 'ap2', ssid='new-ssid2', mode='g', channel='1', \r\n        position='216.2,141,0', range=100, protocols='OpenFlow10' )\r\n    s3 = net.addSwitch( 's3', protocols='OpenFlow10', listenPort=6674, mac='00:00:00:00:00:03' )\r\n    h4 = net.addHost( 'h4', mac='00:00:00:00:00:04', ip='10.0.0.4/8' )\r\n    sta5 = net.addStation( 'sta5', wlans=1, mac='00:00:00:00:00:05', ip='10.0.0.5/8', \r\n        position='165.25,141,0', range=18 )\r\n\r\n    info(\"*** Creating links\\n\")\r\n    net.addLink(ap2, s3)\r\n    net.addLink(s3, h4)\r\n\r\n    info(\"*** Starting network\\n\")\r\n    net.configureWifiNodes()\r\n\r\n    net.plotGraph(min_x=50, min_y=50, max_x=599, max_y=599)\r\n\r\n    net.build()\r\n    c1.start()\r\n    s3.start( [c1] )\r\n    ap2.start( [c1] )\r\n\r\n\r\n    info(\"*** Running CLI\\n\")\r\n    CLI_wifi( net )\r\n\r\n    info(\"*** Stopping network\\n\")\r\n    net.stop()\r\n\r\nif __name__ == '__main__':\r\n    setLogLevel( 'info' )\r\n    topology()\r\n`\r\n++++++++++\r\n"},"comment":{"url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/comments/431671231","html_url":"https://github.com/intrig-unicamp/mininet-wifi/issues/194#issuecomment-431671231","issue_url":"https://api.github.com/repos/intrig-unicamp/mininet-wifi/issues/194","id":431671231,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTY3MTIzMQ==","user":{"login":"hdm0511","id":39071614,"node_id":"MDQ6VXNlcjM5MDcxNjE0","avatar_url":"https://avatars1.githubusercontent.com/u/39071614?v=4","gravatar_id":"","url":"https://api.github.com/users/hdm0511","html_url":"https://github.com/hdm0511","followers_url":"https://api.github.com/users/hdm0511/followers","following_url":"https://api.github.com/users/hdm0511/following{/other_user}","gists_url":"https://api.github.com/users/hdm0511/gists{/gist_id}","starred_url":"https://api.github.com/users/hdm0511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdm0511/subscriptions","organizations_url":"https://api.github.com/users/hdm0511/orgs","repos_url":"https://api.github.com/users/hdm0511/repos","events_url":"https://api.github.com/users/hdm0511/events{/privacy}","received_events_url":"https://api.github.com/users/hdm0511/received_events","type":"User","site_admin":false},"created_at":"2018-10-21T14:00:02Z","updated_at":"2018-10-21T14:00:02Z","author_association":"NONE","body":"it seems pox dont install forwarding rules automatically when i change the node h6--->sta5; s1--->ap2"}}
{"actor":{"display_login":"hdm0511"}}