NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
lerbis
Aug 30, 2021Follower
Creating an internet facing interface
I am having some issues configuring my switch so that I can have all devices recive internet access.
There is currently the network I am configuring and a company network with internet access. I want to send all traffic out of port 50 to the internet and the network.
At the moment I have setup an interface on Port 50 with dhcp enabled.It was assigned (172.16.0.125) from a dhcp server on the other side.
I have vlan 1 set with its routing interface as 192.168.1.1.
All devices on vlan 1 have 192.168.0.x addresses with the default gateway as 192.168.1.1 and they can ping 172.16.0.125.
They cannot ping anything on the internet however I have tried 8.8.8.8, 172.16.0.1 (co network default gateway) , and 1.1.1.1.
Please let me know what I am doing wrong.
2 Replies
- LaurentMaNETGEAR Expert
Hi lerbis ,
Thank you for reaching out to the Community, may it serve other users this way!
Your 192.168.0.0/24 devices on VLAN 1 can send packets to your 172.16.0.1 router, but does your router know how to route to your VLAN 1 network in return? When it receives a packet for 192.168.1.0/24 IP addresses, it needs to know where to forward it. I believe you should have one static route on your router like this:
Destination IP Address: 192.168.1.0
IP Subnet Mask: 255.255.255.0
Gateway IP Address: 172.16.0.125 (this is the Layer 3 IP interface on the switch, your Port 50)
Metric: 2
Next thing to check is the DNS service for your 192.168.1.0/24 devices in VLAN 1, they certainly need 172.16.0.1 DNS Server in their DCHP configuration, or any other reachable DNS service of your choice.
I hope this helps, please let us know!
Regards,
- schumakuGuru - Experienced User
lerbis wrote:
I have vlan 1 set with its routing interface as 192.168.1.1.
All devices on vlan 1 have 192.168.0.x addresses with the default gateway as 192.168.1.1 ....
If we talk of a 192.168.0.x/24 (255.255.255.0) subnet network - im my understanding these can't reach the 192.168.1.1 default gateway because it's outside of the VLAN 1 subnet.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!