Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Tech Support Problem with unifi fix IP

views
     
TSShahriar-b
post Dec 3 2013, 10:41 AM, updated 13y ago

New Member
*
Junior Member
25 posts

Joined: Dec 2012
Broadband provider
ISP/package: Unifi 10 Biz 1 Fix Ip
Location:
Have you called your ISP's helpline?: Yes, not helpful

Personal equipment
Modem:
Router: L7NR2000
Firewall used: No

Problem details
First occurence of problem: Always
Problem frequency: Always
Problem description:

So we got unifi 10 with 1 fix ip for our office and everything work fine if we use dynamic ip settings in our router but since we need to assign the static IP to our server as we change the settings to static IP from router only 1 computer/server can connect through lan although the wlan connection is up and working fine giving local ip addresses to wlan devices. but any other computer than the 1 which already got static ip cannot connect through lan DHCP or anyother settings. what we need is to just have this static ip on 1 computer and other computers can get the local ip like wlan. however i haven't seen any related options on this matter on this router.
btw port forwarding is not an option for us as we need to use the ip directly on server.

thank you
Nickimaru
post Dec 3 2013, 06:26 PM

Getting Started
**
Junior Member
58 posts

Joined: Feb 2009
From: Kuala Lumpur, Malaysia


Hi Shahriar-b,

Are you trying to get your network to be something like the diagram below?
» Click to show Spoiler - click again to hide... «


dkk
post Dec 3 2013, 09:43 PM

10k Club
Group Icon
Elite
11,400 posts

Joined: Jan 2003
QUOTE(Shahriar-b @ Dec 3 2013, 10:41 AM)
Broadband provider
ISP/package: Unifi 10 Biz 1 Fix Ip
Location:
Have you called your ISP's helpline?: Yes, not helpful

Personal equipment
Modem:
Router: L7NR2000
Firewall used: No

Problem details
First occurence of problem: Always
Problem frequency: Always
Problem description:

So we got unifi 10 with 1 fix ip for our office and everything work fine if we use dynamic ip settings in our router but since we need to assign the static IP to our server as we change the settings to static IP from router only 1 computer/server can connect through lan although the wlan connection is up and working fine giving local ip addresses to wlan devices. but any other computer than the 1 which already got static ip cannot connect through lan DHCP or anyother settings. what we need is to just have this static ip on 1 computer and other computers can get the local ip like wlan. however i haven't seen any related options on this matter on this router.
btw port forwarding is not an option for us as we need to use the ip directly on server.

thank you
*
Isn't the static IP you're assigned supposed to be for your modem/router and not for your PC?
TSShahriar-b
post Dec 4 2013, 12:10 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(Nickimaru @ Dec 3 2013, 06:26 PM)
Hi Shahriar-b,

Are you trying to get your network to be something like the diagram below?
» Click to show Spoiler - click again to hide... «

*
Hello
its similar to this except we need to assign the wan static ip to the server. all other computers connected through lan and wlan needs to get an IP from DHCP or some ip from local network.
TSShahriar-b
post Dec 4 2013, 12:12 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(dkk @ Dec 3 2013, 09:43 PM)
Isn't the static IP you're assigned supposed to be for your modem/router and not for your PC?
*
in fact the point for getting a static IP is to set it directly on your server or computer and not using port forwarding option from router.
Nickimaru
post Dec 4 2013, 02:49 PM

Getting Started
**
Junior Member
58 posts

Joined: Feb 2009
From: Kuala Lumpur, Malaysia


QUOTE(Shahriar-b @ Dec 4 2013, 12:10 AM)
Hello
its similar to this except we need to assign the wan static ip to the server. all other computers connected through lan and wlan needs to get an IP from DHCP or some ip from local network.
*
Alright, understood.

After reading the D-Link DIR-615 User Guide (I used this guide since the L7-N-R2000 is a rebrand of the D-Link DIR-614, and their admin interface might be the same), I noticed that the Static PPPoE configuration page has an option called Dual LAN Enable (see image below, image source: https://www.tm.com.my/Home/Broadband/unifi/...ser%20Guide.pdf):
» Click to show Spoiler - click again to hide... «

Basically with this option enabled, it will allow you to use the static WAN IP for your server, however it seems that you will have to sacrifice the use of your router's LAN ports in order to use the static WAN IP (since the guide mentions that it will use LAN ports 1-3, and with LAN port 4 being reserved for the IPTV). Good news is that the wireless interface of the router is unaffected, so it will still be able to serve DHCP IP addresses to your wireless devices and connect to the Internet.

In my opinion, I believe that you will have the following options to achieve your network requirements:

Option 1
You will need to get another wireless router that is capable of being configured to perform in wireless client mode. The setup will then be something like this:
» Click to show Spoiler - click again to hide... «

Option 2
You can try using another router with firmware that supports UniFi to achieve your network requirements. So far in the forums, there seems to be one forumer who has been able to achieve what you are trying to do, although his post is from two years ago.
Link to topic: https://forum.lowyat.net/topic/1966766/all

Hope this helps.
abubin
post Dec 4 2013, 02:58 PM

10k Club
********
All Stars
10,429 posts

Joined: Jan 2003



This is a simple case of misconfiguration.

You can try one of this method:

Set to internal lan using router's dhcp. Then put the range of 100-255. This means anything below 100 will be untouched and it's static ip. Connect all your devices using dynamic ip and it will work. Configure your server to us one of the static ip and it will work. If doesnt work then your router configuration is wrong. If not mistaken this is standard config done by TM.
TSShahriar-b
post Dec 4 2013, 03:24 PM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(Nickimaru @ Dec 4 2013, 02:49 PM)
Alright, understood.

After reading the D-Link DIR-615 User Guide (I used this guide since the L7-N-R2000 is a rebrand of the D-Link DIR-614, and their admin interface might be the same), I noticed that the Static PPPoE configuration page has an option called Dual LAN Enable (see image below, image source: https://www.tm.com.my/Home/Broadband/unifi/...ser%20Guide.pdf):
» Click to show Spoiler - click again to hide... «

Basically with this option enabled, it will allow you to use the static WAN IP for your server, however it seems that you will have to sacrifice the use of your router's LAN ports in order to use the static WAN IP (since the guide mentions that it will use LAN ports 1-3, and with LAN port 4 being reserved for the IPTV). Good news is that the wireless interface of the router is unaffected, so it will still be able to serve DHCP IP addresses to your wireless devices and connect to the Internet.

In my opinion, I believe that you will have the following options to achieve your network requirements:

Option 1
You will need to get another wireless router that is capable of being configured to perform in wireless client mode. The setup will then be something like this:
» Click to show Spoiler - click again to hide... «

Option 2
You can try using another router with firmware that supports UniFi to achieve your network requirements. So far in the forums, there seems to be one forumer who has been able to achieve what you are trying to do, although his post is from two years ago.
Link to topic: https://forum.lowyat.net/topic/1966766/all

Hope this helps.
*
Hello,

Dual lan was enabled. Option 1 seem to be problem solving but not the best one, however i can go for option 2 if any good router with reasonable price is out there...

Thanks for the reply

TSShahriar-b
post Dec 4 2013, 03:26 PM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(abubin @ Dec 4 2013, 02:58 PM)
This is a simple case of misconfiguration.

You can try one of this method:

Set to internal lan using router's dhcp. Then put the range of 100-255. This means anything below 100 will be untouched and it's static ip. Connect all your devices using dynamic ip and it will work. Configure your server to us one of the static ip and it will work. If doesnt work then your router configuration is wrong. If not mistaken this is standard config done by TM.
*
Hello,
We need to assign the public WAN IP to our server. the issue is not to assign local ip to any machine but it is how to have both local lan and wan ip at the same time.

WaCKy-Angel
post Dec 4 2013, 03:41 PM

PeACe~~
*********
All Stars
21,963 posts

Joined: Dec 2004
From: KL



QUOTE(Shahriar-b @ Dec 4 2013, 03:26 PM)
Hello,
We need to assign the public WAN IP to our server. the issue is not to assign local ip to any machine but it is how to have both local lan and wan ip at the same time.
*
U should port forward the external IP to your internal server IP.

All the other computers may get DHCP directly from the router or DHCP server if you have one.
TSShahriar-b
post Dec 4 2013, 04:12 PM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(WaCKy-Angel @ Dec 4 2013, 03:41 PM)
U should port forward the external IP to your internal server IP.

All the other computers may get DHCP directly from the router or DHCP server if you have one.
*
Referring to my original post, port forwarding is not our solution.

Thank you
WaCKy-Angel
post Dec 4 2013, 04:25 PM

PeACe~~
*********
All Stars
21,963 posts

Joined: Dec 2004
From: KL



QUOTE(Shahriar-b @ Dec 4 2013, 04:12 PM)
Referring to my original post, port forwarding is not our solution.

Thank you
*
Any reason why port forwarding is not solution?

We have more than 20 servers here but non of them are using external IP directly.
asellus
post Dec 4 2013, 04:40 PM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


QUOTE(Shahriar-b @ Dec 4 2013, 03:26 PM)
Hello,
We need to assign the public WAN IP to our server. the issue is not to assign local ip to any machine but it is how to have both local lan and wan ip at the same time.
*
First, configure your server network card's TCP/IP stack to use a static RFC1918 IP address that is outside your DHCPv4 IP pool. Then click the 'Advanced' button, go to 'IP settings' tab, and then add the static IP provided to you there.
TSShahriar-b
post Dec 4 2013, 11:52 PM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(asellus @ Dec 4 2013, 04:40 PM)
First, configure your server network card's TCP/IP stack to use a static RFC1918 IP address that is outside your DHCPv4 IP pool. Then click the 'Advanced' button, go to 'IP settings' tab, and then add the static IP provided to you there.
*
If we set the router settings for static ip, DHCP won't work for LAN network and it only works for wlan. and if we set for dynamic then do the method you mentioned system won't accept the second ip we assign as wan static ip....
please advice
TSShahriar-b
post Dec 5 2013, 12:07 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
I hope someone can also introduce a good router which is compatible with unifi and can also do the settings mentioned by Nickimaru.

thank you
asellus
post Dec 5 2013, 12:09 AM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


QUOTE(Shahriar-b @ Dec 4 2013, 11:52 PM)
If we set the router settings for static ip, DHCP won't work for LAN network and it only works for wlan. and if we set for dynamic then do the method you mentioned system won't accept the second ip we assign as wan static ip....
please advice
*
What do you mean by the sentence bolded above? If both the LAN switch and the wireless interface are bridged, that should not be a problem. If the server has its Ethernet interface configured manually with a RFC1918 IP address, it shouldn't affect the operations of the router at all.

Why would the other computers connected to the LAN switch failed to get their RFC1918 IP address automatically from the DHCP server just because one of them has a static RFC1918 IP address? If this is what really what happening you should post your network diagram here.


TSShahriar-b
post Dec 5 2013, 12:19 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(asellus @ Dec 5 2013, 12:09 AM)
What do you mean by the sentence bolded above? If both the LAN switch and the wireless interface are bridged, that should not be a problem. If the server has its Ethernet interface configured manually with a RFC1918 IP address, it shouldn't affect the operations of the router at all.

Why would the other computers connected to the LAN switch failed to get their RFC1918 IP address automatically from the DHCP server just because one of them has a static RFC1918 IP address? If this is what really what happening you should post your network diagram here.
*
This is the router settings done by unifi:

CODE

Address Mode: Static IP
Dual LAN : Checked  
Disable NAT : Not Checked    
IP Unnumbered Address :   aaa.bbb.ccc.41    
IP Unnumbered Gateway :   aaa.bbb.ccc.41  
IP Unnumbered Netmask :   255.255.255.252  
LAN Start IP :            aaa.bbb.ccc.42    
LAN End IP :              aaa.bbb.ccc.42


with these settings wifi works just fine and wifi users get IP by DHCP (192.168.0.100-200)
lan connection from lan 1 is connected to a switch which later goes to all computers connected through LAN including server. however only 1 computer can get the static ip settings set on its TCP/IP settings by DHCP or manually, other computers connected via lan cannot get access to internet.

but changing the above settings to dynamic all works fine except we cannot have the static IP assigned to any computer since all the network is getting IP from local addresses (192.168.0.*)

This post has been edited by Shahriar-b: Dec 5 2013, 12:20 AM
asellus
post Dec 5 2013, 12:33 AM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


QUOTE(Shahriar-b @ Dec 5 2013, 12:19 AM)
This is the router settings done by unifi:

CODE

Address Mode: Static IP
Dual LAN : Checked  
Disable NAT : Not Checked    
IP Unnumbered Address :   aaa.bbb.ccc.41    
IP Unnumbered Gateway :   aaa.bbb.ccc.41  
IP Unnumbered Netmask :   255.255.255.252  
LAN Start IP :            aaa.bbb.ccc.42    
LAN End IP :              aaa.bbb.ccc.42


with these settings wifi works just fine and wifi users get IP by DHCP (192.168.0.100-200)
lan connection from lan 1 is connected to a switch which later goes to all computers connected through LAN including server. however only 1 computer can get the static ip settings set on its TCP/IP settings by DHCP or manually, other computers connected via lan cannot get access to internet.

but changing the above settings to dynamic all works fine except we cannot have the static IP assigned to any computer since all the network is getting IP from local addresses (192.168.0.*)
*
With that setting above, in the server's network interface, try manually putting aaa.bbb.ccc.42 as its address, gateway being aaa.bbb.ccc.41 and netmask 255.255.255.252. Then in the 'IP settings' tab, add a static RFC1918 IP address there (192.168.0.201) and a gateway that is 192.168.0.1.
TSShahriar-b
post Dec 5 2013, 10:42 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(asellus @ Dec 5 2013, 12:33 AM)
With that setting above, in the server's network interface, try manually putting aaa.bbb.ccc.42 as its address, gateway being aaa.bbb.ccc.41 and netmask 255.255.255.252. Then in the 'IP settings' tab, add a static RFC1918 IP address there (192.168.0.201) and a gateway that is 192.168.0.1.
*
Tried this before didn't work either. only 1 computer can get internet.
asellus
post Dec 5 2013, 10:46 AM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


QUOTE(Shahriar-b @ Dec 5 2013, 10:42 AM)
Tried this before didn't work either. only 1 computer can get internet.
*
And that computer is the one that gets the static TM IP?
TSShahriar-b
post Dec 5 2013, 10:50 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(asellus @ Dec 5 2013, 10:46 AM)
And that computer is the one that gets the static TM IP?
*
Yes true.
asellus
post Dec 5 2013, 10:53 AM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


Then try changing 'LAN Start IP" and 'LAN Stop IP' with 192.168.0.100 and 192.168.0.200 respectively.
TSShahriar-b
post Dec 5 2013, 11:05 AM

New Member
*
Junior Member
25 posts

Joined: Dec 2012
QUOTE(asellus @ Dec 5 2013, 10:53 AM)
Then try changing 'LAN Start IP" and 'LAN Stop IP' with 192.168.0.100 and 192.168.0.200 respectively.
*
since its not match with our wan ip gatway .41 it is not possible to do such thing and can only assign it between .41 and .42 due to limitation by last bit of our netmask (252)
asellus
post Dec 5 2013, 01:52 PM

#gompusas
Group Icon
Elite
4,541 posts

Joined: Jan 2003
From: BSRPPG51 Access Concentrator


Then the only other thing to do is to set the PPPoE to dynamic mode, then manually assign the static IP to the server's network interface and then add a static route too there.
internet
post Mar 5 2014, 09:18 AM

Getting Started
**
Junior Member
70 posts

Joined: May 2005
Okay, I was having the same problem not able to connect via LAN but able to connect via wireless, and DHCP was assigned to wLAN. Weird.

Anyway, in case anyone else had this same problem I solved this by selecting Dynamic PPPoE instead of Static. (eventhough we have static).

TM Support will advise you to use Static PPPoE. Use Dynamic PPPoE. You will still be using your assigned static IP when you connected.

Just to expand, this are the things you don't have to do from the discussion here:

DON"T DO THESE
1) U should port forward the external IP to your internal server IP.
2) First, configure your server network card's TCP/IP stack to use a static RFC1918 IP address that is outside your DHCPv4 IP pool. Then click the 'Advanced' button, go to 'IP settings' tab, and then add the static IP provided to you there (gibberish, no need to do this)

3) With that setting above, in the server's network interface, try manually putting aaa.bbb.ccc.42 as its address, gateway being aaa.bbb.ccc.41 and netmask 255.255.255.252. Then in the 'IP settings' tab, add a static RFC1918 IP address there (192.168.0.201) and a gateway that is 192.168.0.1. (even crazy.. what?! No, don't do this)

The solution is:
1) Then the only other thing to do is to set the PPPoE to dynamic mode, then manually assign the static IP to the server's network interface and then add a static route too there. (YUP, JUST DO THIS)

Hope this helps someone!
atty
post Mar 6 2014, 11:01 AM

Getting Started
**
Junior Member
228 posts

Joined: Jan 2003
From: PJ
QUOTE(Nickimaru @ Dec 3 2013, 06:26 PM)
Hi Shahriar-b,

Are you trying to get your network to be something like the diagram below?
» Click to show Spoiler - click again to hide... «

*
Hey yEd user! smile.gif


Anyway I'm very curious to learn, under what circumstances would someone need to use the external ip directly onto 1PC/server?
war3boy
post Mar 12 2014, 07:42 AM

Getting Started
**
Junior Member
269 posts

Joined: Aug 2011
Very very curious.
How many Public IP that you got?

From the scenario you post at first thread, you only have one Public IP and that will be your WAN IP.
If UniFi provided you another Public IP, then only you can have the IP at your server.

Unless you turn your server into Gateway, then you only need 1 Public IP.

Hmm....

This post has been edited by war3boy: Mar 12 2014, 07:44 AM

 

Change to:
| Lo-Fi Version
0.0259sec    0.65    6 queries    GZIP Disabled
Time is now: 18th December 2025 - 12:33 AM