# OpenWrt: LAN connectivity issue

**URL:** <https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882>\
**Category:** Installing and Using OpenWrt\
**Created:** [April 15, 2024, 12:28pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882 "2024-04-15T12:28:11Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 12:28pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/1 "2024-04-15T12:28:11Z")

</div>

Hello all,

I have installed the OpenWrt 22.03 on the GL-XE300 Puli router. Router has 2 ports (WAN, LAN). WAN cable is connected to the switch for the network and LAN cable is connected to my PC. I am able to get the network for the router from the switch using WAN, but I am not able to get the internet connectivity to the PC connected with the LAN of the router.

Can someone help me to resolve this issue?

Network configuration for the LAN is as attached:

![image](https://forum.openwrt.org/uploads/default/original/3X/c/1/c12914a1e03bac30668a0d199a940c00d6df4b38.png)

Let me know if you require more information.

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 12:40pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/2 "2024-04-15T12:40:38Z")

</div>

what are the LAN and WAN subnets ?  
LAN is obviously 192.168.2, but WAN ?

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 12:50pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/3 "2024-04-15T12:50:10Z")

</div>

@frollic,

Router is getting the IP from the main network in the range 192.168.1.\*

WAN - 192.168.1

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 12:53pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/4 "2024-04-15T12:53:50Z")

</div>

ok, and what IP and DNS IPs does your PC get from the router ?

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 12:55pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/5 "2024-04-15T12:55:52Z")

</div>

Attached is the info of the IP that is getting from the router.

 ![image](https://forum.openwrt.org/uploads/default/original/3X/f/8/f8e14dbf3441fd9fa60c895e04fd188db7ce4585.png)

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 12:57pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/6 "2024-04-15T12:57:00Z")

</div>

that's a self assigned IP, you're not getting any IP from the router.

have you done any (re)configuration ?

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 12:59pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/7 "2024-04-15T12:59:00Z")

</div>

Exactly, no IP is assigned to the PC.

Initially, there was no configuration for the LAN. Then I added the configuration as attached:

![image](https://forum.openwrt.org/uploads/default/original/3X/c/1/c12914a1e03bac30668a0d199a940c00d6df4b38.png)

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 12:59pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/8 "2024-04-15T12:59:47Z")

</div>

there should always be a LAN port.  
how did you log on to the device if there's no LAN port configured ?

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 1:02pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/9 "2024-04-15T13:02:46Z")

</div>

This is customized firmware and initial phase of development. So, it was not included earlier.

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 1:06pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/10 "2024-04-15T13:06:29Z")

</div>

you're not answering the question.

customized by whom ?

install the final version instead [https://firmware-selector.openwrt.org/?version=23.05.3&target=ath79%2Fnand&id=glinet\_gl-xe300](https://firmware-selector.openwrt.org/?version=23.05.3&target=ath79%2Fnand&id=glinet_gl-xe300) ?

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 15, 2024, 1:11pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/11 "2024-04-15T13:11:51Z")

</div>

I have GL.inet latest firmware installed on the router and on top of that I have compiled my customized firmware (which includes other packages) based on OpenWrt and upgraded the router. So, with these changes, the LAN changes may not reflected.

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 15, 2024, 1:13pm UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/12 "2024-04-15T13:13:00Z")

</div>

It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by [OpenWrt.org](http://OpenWrt.org)). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

1. Install an official version of OpenWrt, if your device is supported (see [https://firmware-selector.openwrt.org](https://firmware-selector.openwrt.org)).
2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 17, 2024, 4:22am UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/13 "2024-04-17T04:22:46Z")

</div>

@frollic,  
Can you please let me know the difference in Snapshot build and other stable builds in OpenWrt?

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [April 17, 2024, 5:24am UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/14 "2024-04-17T05:24:43Z")

</div>

Snapshots are development betas.

[https://openwrt.org/releases/snapshot](https://openwrt.org/releases/snapshot)

---

<div class="post-metadata">

**Author:** ![bobch](https://forum.openwrt.org/letter_avatar/bobch/32/5_5575768a8748004e209b776fc1b2916d.png) [@bobch](https://forum.openwrt.org/u/bobch)\
**Post date:** [April 17, 2024, 6:44am UTC](https://forum.openwrt.org/t/openwrt-lan-connectivity-issue/194882/15 "2024-04-17T06:44:32Z")

</div>

Thanks @frollic for the information.
