Wifi router with DHCP enabled to a network - networking

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.

Related

Can't route VLAN with UCOPIA

I'm writing to you because I can't solve a problem with a client.
My client has an infrastructure with the following characteristics:
2 ISP routers
1 fortigate firewall
1 dedicated router that broadcasts a UCOPIA US250 guest portal
65 Zyxel switches (1900 - 24) and one 4600 switch (4x 24 ports for the core network)
250 WIFI LIGOWAZE NFT terminals
80 VLANs
I do not manage the first 3 equipments, it is another provider.
Today, I have to pass the VLAN dedicated to the guests.
The other provider has set up the FORTIGATE to broadcast the DHCP and the associated VLAN on the DMZ port to the OUT port of the UCOPIA.
I have to broadcast VLAN 420 from the IN port to the ZYXEL switch and to the LIGOWAVE terminals.
However, when I am connected to the UCOPIA on the IN port, I manage to get the desired IP and to reach the portal, but when I test on the ZYXEL switch, it is impossible to get the dedicated VLAN.
I put myself on another port of the ZYXEL, I TAG the VLAN in question. I have modified the ID of my VLAN on my computer in DHCP that does not work. I tried to use static IP but still nothing. I can't even ping the gateway.
The ZYXEL port to which the UCOPIA is connected is TAGGED on the dedicated VLAN. I have also tried Untagged and excluding all the other VLANs but it is impossible to get this network.
Do you have any other ideas for me?
Here, you can see my diagram network:
MyNetwork
I resolved my problem.
I configured Switch like that:
Untagged dedicated VLAN
But i forgot to change the PVID VLAN.
I changed it and that work !

Wireless not working with different subnet

1.Internet Router ip 192.168.0.1 (LAN) - There are 3 more computers connect to this router (ip 192.168.0.2, 192.168.0.3, 192.168.0.4) .
Wireless Router connected to the internet router with ip 192.168.0.5 . The wireless Router send out DHCP ip range 192.168.1.1-100
Wireless printers connected to wireless router 192.168.1.1 .
All 3 computers can't add the printers !!! why ? thanks
I recommend changing the router mode on the wireless router from NAT mode to access point mode if it is possible. The clients on the wired network cannot access the printer behind the wireless router because of NAT or firewall policies.

Accessing connected devices to a local network wirelessly

Hello Everyone!
I want to know that is there any way to access a photocopier machine which is connected to a computer through Ethernet wire and that computer is connected to my WiFi network?
P.S: What if I don't know the IP assigned to that Photocopier machine?
If the wireless network is part of the wired network you should have any problem reaching the photocopier.
If you don't know the IP address, you can reach it by host name if the DHCP and DNS are working properly. If you are on an Active Directory infrastructure and DHCP and DNS are integrated it should be transparent.
If you are on your home with a "home" router they usually do the hostname to IP resolve (DNS).
You can nslookup hostname in your machine to see if your dns is resolving the ip address. you can also ping hostname or ping ip address to test that you can reach the desired host. Some hosts block ping (ICMP) requests, please note that ping is ping does not respond is not a definitive solution.
Please note that in your home router you should use your router or default gateway to be the DNS also, and then add the google public DNS or your ISP.
Also when connecting the access point to an existing network you may have 2 DHCP servers providing IP addresses to hosts, you should disable DHCP on the Access Point and connect the AP to the network using the switch port and not the WAN port (the WAN port will try to do NAT and assign a different set of IP addresses).

VLAN Subnetting Ruckus and Fortigate and Cisco

This is an easy solution, I just don't have it, so please help!
I have 6 Ruckus R500 WAP, connected into 2 Cisco SG300's, which are then connected to FortiGate 200D.
On the WAP, I have 5 SSID, one of which is set to VLAN 2.
The ports which the WAP connect to on the SG300's have VLAN 2 added to them, trunk mode.
In the FortiGate200D:
All ports are in LAN HW Switch.
IP: 10.3.7.210/255.255.252.0
DHCP 10.3.4.1-10.3.5.254
I have a VLAN sub created on the LAN, with an Id of 2.
IP: 10.3.9.1/255.255.255.0
DHCP 10.3.9.2-254
There are "auto" routes created for 10.3.9.0/24 --> 0.0.0.0
When I connect to the VLAN 2 SSID, I am unable to pull an IP. If I set static IP, I am unable to ping. Where am I messed up? Is it because my LAN HW Switch subnet does not contain 10.3.9.xxx ? What would the best way to overcome this be, perhaps change LAN HW Switch to 10.3.0.0/21?
Basically the end goal is 10.3.4.0 and 10.3.5.0 for normal connections. And then a separate subnet for VLAN2, could be 10.3.8.0 or 10.3.9.0 or whatever, even 192.168.1.0.
This was solved by Zac67. I had to correct tagging, then open up traffic to WAN and DHCP kicked in just fine. Thanks Zac67

How to setup DD-WRT between two routers with NAT

I have two networks.
Network A has both wired and wireless clients and is connected to the internet. DHCP ENABLED (10.0.0.1 with subnet 255.255.255.0)
Network B has both wired and wireless clients and is NOT connected to internet. DHCP ENABLED (192.168.1.1 with subnet 255.255.255.0) This means the WAN port of this network is not connected.
I need to connect the WAN port of Network 2 WIRELESSLY to Network A such that Network B shows up as nothing but a client in Network A. Since BOTH networks have wireless clients it's to assume that WPA is used for security.
Can anyone tell me how to set this up using DD-WRT.
Thanks
you should connect your network B device to network A device and add a static route to route client on router B reach to internet , and config router B DHCP to get the user the new gateway which is the router A ip address.

Resources