Wifi internet sharing via router - networking

I have the following scenario.
I have a laptop with wifi internet . I connected my laptop to Netgear router via ethernet cable.
I want to get the laptop wifi internet to be shared with those who connect to router.
Is it possible.

First of all, rather than using a router (Netgear router), you should have used switch.
Now, since you have used a router, you have to write a static route in your netgear router which would say 0.0.0.0 0.0.0.0 (a packet heading towards internet) have to go to the IP address which is configured on the interface of your laptop where you have plugged Ethernet cable.

Related

Wifi router with DHCP enabled to a network

I have this very cheap all in one machine (modem + wifi router) provided by my service provider. I have disabled the wifi on it and bought a netgear nighthawk. Now i am trying to set it up that some devices are connected to wifi and some are connected using wire to the modem. I am trying to figure out how i can have DHCP enabled on both machine and also have access to machines connected to modem. So my setup is as follow.
Modem has 4 LAN ports and have 3 devices and the the nighthawk wifi router connected to it. The access IP of the modem is 192.168.1.1 and starting IP is 192.168.1.2 with subnet mask 255.255.255.0 and have DHCP enabled to provide IPs to everything connected to it.
The WIFI router access IP is IP 192.168.0.1 has starting IP 192.168.0.2 with subnet mask 255.255.255.0 and DHCP enabled to provide IP to everything connected to it.
I would like devices connected to WIFI router to have access to devices connected to Modem and vice versa.
Can someone help me figure this out.
On your configuration you have 2 NAT one from the ISP and another one from your access point/router (nighthawk). Meaning that you have 2 networks with different IP ranges.
This is how I configure the LAN when I have multiple routers to extend the coverage.
Assign an IP address to the nighthawk on the range of 192.168.1.x/255.255.255.0 ex 192.168.1.2
Disable the DHCP on the nighthawk
Connect your ISP router to a LAN interface on the Nighthawk.
What will happen is that your nighthawk will be just an access point, all the DHCP will be at the ISP router meaning that all ips will be on the same range. If you connect your ISP to the Nighthawk WAN interface it is going to go nowhere because some of them are programmed to do a NAT between the Lan an Wan interfaces.
I also configure the DHCP to assign ip's from 192.168.1.100 to 192.168.1.200 range, all devices from 1 to 99 are routers, access points, servers, cameras, printers or devices that need an static ip address. Then I have segments ex. routers are 1-9, printers 10-29, etc etc. By doing this I will now what device is or their purpose on the network.
Hope it helps.

WDS Router doesn't forward DHCP packets

Recently I have followed this link to setup a wireless router into an access point in my home.
Our current network components are as follows:
Main router (192.168.1.1): a Sercomm router configured by the ISP, with DHCP enabled for address 192.168.1.30 onwards.
AP router (192.168.1.2): a TP-Link WD8970 router on the bridge mode, with WDS turned on (on the same SSID, mode and channel as the main router) and DHCP turned off. However, this AP is configured to broadcast a different SSID to indicate a different storey.
Devices (182.168.1.xx): desktop or mobile clients that could connect to both SSIDs.
(click here for the topology image)
The problem is that:
Most of the time, devices connected to AP router's SSID is given 169.254.x.x IP addresses and could not reach the internet
Devices that is configured with a dynamic IP and connected to the main router's SSID could reach only devices connected to the main router's SSID
Devices that is configured with a static IP and connected to AP router's SSID could reach both routers (the main router at 192.168.1.1 and the AP router at 192.168.1.2, respectively)
DHCP packets are not forwarded from the main router (192.168.1.1) to the AP router (192.168.1.2), while other types of packets could flow through
How would you advice on configuring this home network differently, to make it more stable and usable?
I had the same issues in past days. I fixed checking the flag "DHCP RELAY". As soon as I checked it all went fine. All devices connected to the wireless router have received the IP address form DHCP server.
https://www.tp-link.com/us/support/faq/1630/ (the real configuration page on Archer D7 is slightly different form what stated in the link).
This was my network: I have a small usb powered 4G modem/router connected to internet. I wanted to share the internet with several devices located far from the 4G modem/router, so I decided to extend the coverage by means a TP-LINK Archer D7 ADSL modem/router used as Wifi access point. I connected the 4G modem to AP through WDS. The pc's and printers connected to Archer D7 (AP) were fine, security camera, smartphones etc.. no IP from DHCP. After the setting DHCP RELAY everything went fine.
Most of the time, devices connected to AP router's SSID is given 169.254.x.x IP addresses and could not reach the internet
This issue has to do with the WDS connection and poor connection from the AP to the main router. As a wifi expert (ok, expired CWNA) it's never a good idea to use WiFi extenders or WDS in your case. It increases interference, adds an extra hope, and rarely helps. While it's easy to think of these as a signal booster the wifi network protocol isn't setup for these types of connections. Only some commercial APs with parabolic antennas can truly benefit from wifi extenders.
Test with a cable connected from the main router to the AP and use the interfaces instead of wifi. It's possible you have DHCP issues with your wifi issue so first test with static IPs.
If this works then you should leave the cable in place. Understandably this isn't always possible so replacing your main router with a quality wifi router would be my 2nd choice. Sorry I don't know any good consumer grade APs but they are out there.

two routers in one network; one as gateway, one as DHCP server

My ISP changed their network configuration and now my home setup is not working anymore. I had one Asus router which features like QoS and parental control, my physical network consists of UTP, powerlan and wifi.
In the new setup I'm required to run a new router (functionally crippled) to handle IPTV and telephone, but I would still like to run all my LAN traffic through my Asus for the additional functionality it provides. Not a problem I thought, until it turned out that the IPTV units are required to be connected directly to the new router. Which means all other systems using the powerlan (a.o. a Wifi Access Point) also bypass the Asus. Parental control is useless.
Is there anyway I can setup the new router to only function as a gateway, and let everything go though the Asus?
This setup did not work: internet <-> [extern IP] newrouter [192.168.2.254] <-> [192.168.2.253] Asus [192.168.2.1] <-> LAN [192.168.2.100-199]
The new router has 254 as its LAN IP
The Asus has a static WAN ip of 253, and its LAN IP to 1 (with 254 as the gateway).
DHCP hands out IP configs with 1 as the gateway
Theoretically this means any LAN device getting an IP will send to the Asus on IP 1, it forwards that via 253 to the new router at 254, which pushes it out to the internet.
But alas. Any suggestions if this can be made to work?
I cannot change the subnet on the new router, it is blocked to 255.255.255.0.
I do want wat to run switches everywhere to setup a VLAN.
You could just use a different subnet for your asus router.
e.g. use the 192.168.2.1 address for your asus router and configure DHCP to hand out IPs of that network (192.168.2.x). Then configure your new Router to have the IP 192.168.1.1.
Now add a static route from your asus router to your new router and the other way round. That way every device in the 192.168.2.x network has to go through your asus router.
Of course that does only work if you can configure routes on your new router.

Connect Multiple Devices Using Static Address on LAN

Here is my problem. At our place LAN port is used to connect every system with a static IP address(subnet mask,default gateway,dns server address).
I have a wireless router with me. Now how can I connect multiple devices using this router?
Thank You All
Just connect the LAN port of "your place" to the WAN port of the router.
Configure the IP-adress etc. on the router.
Easiest way to do that is to connect your computer to the router LAN port and log in through the web interface, assuming it's a home-router.
There should be a setup guide shipped with the router, otherwise google is your friend ;)

Wifi to be like pc?

Is it possible to make wifi router with openWRT to be like an computer ? I mean, that admin of network (where wifi is connected) couldn't recognize, that any wifi router is connected.
1) Increase TTL of forwarded packets using iptables.
2) Change WAN MAC to MAC of PC's copper NIC.
3) Do not publish services on WAN.

Resources