EvilZone
General Tech => Networking => : @rjun June 07, 2015, 02:15:14 PM
-
Hey guys! :)
The Scenario:
I have my server on my desktop connected to my router. While i want to serve it over my WLAN to wireless clients(phones,laptops) as it is less costly(no ethernet).
But i don't know why when i enter my desktop's IP and access it through wireless clients, i'm not able to access it. Although it works fine if i'm on LAN.
Any help please?
I know its silly but i don't how what to google, any specific terms for it.
-
I think I do not understand your question. Can you please explain what you are trying to do in a more detailed way?
-
Sorry :(
I have a website that i want my wireless clients to access, but the main problem is that they are not able to access it. I don't know why.
Important thing is that this website is being served by my desktop which is connected via ethernet hence it is in LAN.
While my wireless clients form WLAN, am i right?
So somehow these wireless clients are unable to access website.
I am using a single router for forming my network which has 4 ethernet ports(one of them is used for my desktop server) and it also provides wireless access for mobiles,laptops,etc. (sorry for being so naive but i want to bring every bit to you)
Just a general question: Is it possible for any mobile or laptop, which is connected wireless to a router, access webserver that is setup on Desktop via ethernet, i.e LAN.
If no, then how can i bridge devices on LAN and WLAN?
-
Can you please tell me:
1. which web server do you use and is it installed locally or in a virtual machine running on your desktop (maybe add a config file from the server)?
2. Are your wireless clients located in the same subnet as your wired clients?
3. Are your wireless clients able to access any other resource provided by a wired client?
Short answer to your question: Yes
Long answer: if your wireless clients are located in a different subnet as your wired clients you need to have the correct routes set up on your routing device. If the traffic from one to the other subnet is filtered by a firewall you would have to allow the necessary requests (its the same with the firewall running on your desktop). Last but not least, your web server needs to be configured to accept request from the subnet your wireless clients are located in.
-
1. Webserver=Apache httpd, installed locally
2.Wireless clients are connected to same subnet 255.255.255.0
screenshot is attached below.
3. No, they are not able to access any other service, be it ftp,ssh,telnet,etc.
-
Can you post the results of "ifconfig" or "ipconfig" (depends if you are on linux or windows) from your desktop PC (guess that one is running mint) and a wireless client?. Based on the image I can't guess which router you are using. Could you tell me the vendor and model?
-
Thats a dlink router, some of them have a client-isolation or ap-isolation function which can spoil the party.
If the devices on the network are on the same 'LAN' , they should have IP addrs that look very similar , they should be able to contact each other with a ICMP Ping.
Basically as rba aks give IP addr of both the devices.
Forget about services show us you can or cannot ping.
-
When you say you can access it from lan, do you mean the Desktop it is hosted on? Try from another device on lan if so.
-
Thats a dlink router...
That might be the reason why I could not guess the vendor.. lol. I do not like dlink devices. Cheap crap.. lol
-
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:23:5a:95:76:e0
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:5aff:fe95:76e0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1684605 errors:0 dropped:0 overruns:0 frame:0
TX packets:1543866 errors:0 dropped:0 overruns:0 carrier:52
collisions:0 txqueuelen:1000
RX bytes:1586734131 (1.5 GB) TX bytes:238107877 (238.1 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4178147 errors:0 dropped:0 overruns:0 frame:0
TX packets:4178147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:415643806 (415.6 MB) TX bytes:415643806 (415.6 MB)
wlan0 Link encap:Ethernet HWaddr 00:22:fa:a2:b4:52
UP BROADCAST MTU:1500 Metric:1
RX packets:3194916 errors:0 dropped:0 overruns:0 frame:0
TX packets:3109874 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2878275219 (2.8 GB) TX bytes:793555985 (793.5 MB)
ping results:
1. to server at 192.168.1.34:
PING 192.168.1.34 (192.168.1.34) 56(84) bytes of data.
From 192.168.1.99 icmp_seq=9 Destination Host Unreachable
From 192.168.1.99 icmp_seq=10 Destination Host Unreachable
From 192.168.1.99 icmp_seq=11 Destination Host Unreachable
^C
--- 192.168.1.34 ping statistics ---
13 packets transmitted, 0 received, +3 errors, 100% packet loss, time 12087ms
pipe 3
2.from server(connected via ethernet) to client(connected wirelessly):
exactly same as above, says "Destination Host Unreachable"
3.ping to common gateway:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.44 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=7.61 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=3.05 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=3.05 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=3.05 ms
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.444/3.643/7.615/2.081 ms
is there some firewall in between?
Also i have reserved 192.168.1.99 for my laptop through DHCP Reservation.But still my phone is again not able to access the server.
Thanks for so much concern.
-
That might be the reason why I could not guess the vendor.. lol. I do not like dlink devices. Cheap crap.. lol
Embarrassed ::) :-[
Hey guys i think i found something: http://superuser.com/questions/701156/d-link-router-wifi-and-lan-segment (http://superuser.com/questions/701156/d-link-router-wifi-and-lan-segment)
this is exactly my problem. Anyway would love to hear from you all on this issue. It's pure knowledge. ;D :D
But i got it solved through there. It was MultiAP isolation, that was turned on.
Again thanks for bringing that to me. ;D ;)
-
Embarrassed ::) :-[
Hey guys i think i found something: http://superuser.com/questions/701156/d-link-router-wifi-and-lan-segment (http://superuser.com/questions/701156/d-link-router-wifi-and-lan-segment)
this is exactly my problem. Anyway would love to hear from you all on this issue. It's pure knowledge. ;D :D
But i got it solved through there. It was MultiAP isolation, that was turned on.
Again thanks for bringing that to me. ;D ;)
Thats a dlink router, some of them have a client-isolation or ap-isolation function which can spoil the party.
Sounds familliar ;)