Koozali.org: home of the SME Server

ipoe..

Offline cattledog

  • ***
  • 70
  • +0/-0
ipoe..
« on: April 13, 2016, 12:03:29 AM »
Hi, is there anyway to get ipoe to work with sme? Instead of ppoe in set up?

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: ipoe..
« Reply #1 on: April 13, 2016, 05:45:59 AM »
I think the answer is yes but theres more to it than that see this discussion:  https://forums.contribs.org/index.php?topic=50288.0
--
qui scribit bis legit

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #2 on: April 13, 2016, 10:07:33 AM »
Thanks Terry...but have already been there and unable to get it to go....I am thinking that the modem is not going into full bridge mode to allow the sme to do its thing.... :sad:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #3 on: April 15, 2016, 08:21:55 PM »
cattledog

From re-reading what I said previously, you may need to select Static IP mode when you run the Configure this server option from the Console menu.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #4 on: April 16, 2016, 12:27:35 AM »
cattledog

From re-reading what I said previously, you may need to select Static IP mode when you run the Configure this server option from the Console menu.

Hi Janet...well I have tried this using the following information....

LAN IPv4 Address:    192.168.0.1
WAN IPv4 Address:    106.71.124.147
Default Gateway:    106.71.0.1
Primary DNS Server:    211.29.132.12
Secondary DNS Server: 198.142.0.51
Mac Address:       90:72:82:31:ab:fb
ConfigId:               F5350_Optus_10.conf

As you can see I have the relevant ip needed and guessing that the wan ipv4 is the static ip given but buy doing what you said it still requires a user name ie: my email address and password.  Is there a place that this can be placed in .config file some where?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #5 on: April 16, 2016, 05:32:17 AM »
cattledog

The modem is where you configure the ipoe login client details, as SME server cannot handle that protocol.
The static IP will be the IP of the modem on the network.

Reread those earlier posts

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #6 on: April 27, 2016, 09:57:10 AM »
Yes Janet....I realise that I wanted to bridge and do it with sme...any chance that this provision will be in sme in the future?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #7 on: April 27, 2016, 10:57:49 AM »
cattledog

Quote
..any chance that this provision will be in sme in the future?

Unlikely I expect, as it has never been added in for the last 16 years.
Maybe if you pay a developer it will be added.

Using the login client configured in the modem & selecting Static IP works fine.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #8 on: April 27, 2016, 01:11:55 PM »
Haven't any money so I will beg........ :grin:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ipoe..
« Reply #9 on: April 27, 2016, 01:37:05 PM »
well.. try to do it yourself..
I mean.. as long as you find the related services and conf, you can create your db entries and template fragments..
once you manage in making it work, open a NFR in bugzilla and share your code.. in this way it can be reviewed and improved by anyone interested.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #10 on: April 28, 2016, 01:16:35 AM »
cattledog

Quote
Haven't any money so I will beg........ :grin:

Beg for as long as you like, but as I said
"Unlikely I expect, as it has never been added in for the last 16 years."

This is probably a feature that is not used by many people, so therefore the need to add it to SME server was never considered important or could justify the time needed to create the code, & that is apart from the practicality & reality of SME server actually supporting that protocol etc.
It might be something that is not practical to implement, & that is why it has not been done.

The workaround provided works fine, so if you really want to do it, there is an existing answer.
Otherwise use a different ISP who supports protocols that SME server supports (with modem in bridged mode & SME acting as router/login client/DHCP/gateway/firewall etc).

The best approach is to open a bug, request a new feature be added (NFR), & see what the response is from developers.
I have recollections that it (ipoe) has already been raised, so search bugzilla first.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #11 on: April 29, 2016, 08:37:19 AM »
cattledog

Unlikely I expect, as it has never been added in for the last 16 years.
Maybe if you pay a developer it will be added.

Using the login client configured in the modem & selecting Static IP works fine.

By doing it this way I assume you are saying the inside ip and would I in-turn turn of DHCP and DNS in the modem/router?

Offline janet

  • *****
  • 4,812
  • +0/-0
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #13 on: July 09, 2016, 02:52:20 AM »
1: Updated firmware to Vigor130_v3.7.9_modem4
2: Turned on MPoA (enabled)
3: No user or password (is this correct? as I require one with optus modem.)
4: Disabled DHCP (using my home sme server)
5: Name of home server is xxx.yyy
6: IP for server is 192.168.1.234
7: Subnet equals 255.255.0.0
8: Set server as server/gateway
9: Selected static ip given for external eth0 192.168.1.2 subnet of 255.0.0.0
10: Gateway ip of 192.168.1.1 (vigor130)
11: Provide DHCP on server
12: Starting range of ip 192.168.1.2-192.168.1.233 on server
13: No username or password given as using static ip

So could you tell me what or where I am going wrong?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #14 on: July 09, 2016, 04:44:40 AM »
cattledog

The modem is where you do configure the login details & pw as you need to use the log in client provided by the modem software.
The static IP you enter in sme server console, is the LAN IP of the modem (as set in the modem), which it seems is Gateway ip of 192.168.1.1 (vigor130).
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #15 on: July 09, 2016, 05:34:51 AM »
ISP FTTN BYO modem settings

Optus
Dynamic IP (IPoE)
No login required
First connection must be done with Optus supplied modem
After that, can switch to BYO modem but MUST copy Optus Modem VDSL MAC Address to your modem MAC – Most modems support this feature. (Certainly the el-cheapo TP-Link TD-W9970

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #16 on: July 09, 2016, 05:44:21 AM »
Dynamic IP (IPoE)
No login required
First connection must be done with Optus supplied modem
After that, can switch to BYO modem

Also why when I do static on server if I give it the ip 192.168.1.1 sub as 255.255.0.0
it will not then allow me to give the gateway ip as 192.168.1.1 sub as 255.255.0.0
The sequence is server domain name xxx.xxx name of server xxx ip for machine (sme) 192.168.1.234 sub net for local machines 255.255.0.0 server type server/gateway how connect dedicated server gateway then you have decided to connect with static ip please select a ip for external connection (this is not you external gate way..192.168.1.2 next sub net for you connection 255.255.0.0
then it requires gateway ip which is vigor130 192.168.1.1 and sub net 255.255.0.0 then you are required to have ip start for lan..192.168.1.3 and end ip 192.168.1.233 please reboot for settings to be set
With you just saying only one ip is needed is incorrect and confusing it will NOT except only 192.168.1.1 in both areas
« Last Edit: July 09, 2016, 01:09:39 PM by cattledog »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #17 on: July 09, 2016, 05:12:16 PM »
cattledog

Your sme server LAN IP would be 192.168.1.2
&
your modem LAN IP would be 192.168.1.1 (for modem vigor130)
& your DHCP dynamic range in sme server would be 192.168.1.3 TO 192.168.1.233

The gateway IP (in your modem) would be an external IP range (not in the 192.168.x.x range)
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: ipoe..
« Reply #18 on: July 09, 2016, 05:30:35 PM »
9: Selected static ip given for external eth0 192.168.1.2 subnet of 255.0.0.0

That would be a very unusual subnet mask for a 192.168.x.y address. 255.255.255.0 is more usual.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #19 on: July 10, 2016, 12:49:19 AM »
cattledog

Your sme server LAN IP would be 192.168.1.2
&
your modem LAN IP would be 192.168.1.1 (for modem vigor130)
& your DHCP dynamic range in sme server would be 192.168.1.3 TO 192.168.1.233

The gateway IP (in your modem) would be an external IP range (not in the 192.168.x.x range)

Janet...When you go to setup for sme server there a addresses its asks for
1:DHCP range 192.168.1.3 to 192.168.1.233
2:Server ip 192.168.1.234
3:Ip for wan/external ip....?
4:Gateway ip guessing you would use the same as modem 192.168.1.1

What I do not understand is the ip that I give the eth0 wan/external as you have stated I have exactly what you have in the quote.
Are you telling me to put in the sme server the same ip for wan/external as the modem (vigor130)?

Cheers
« Last Edit: July 10, 2016, 12:52:24 AM by cattledog »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: ipoe..
« Reply #20 on: July 10, 2016, 03:08:13 AM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cattledog

  • ***
  • 70
  • +0/-0
Re: ipoe..
« Reply #21 on: July 18, 2016, 10:22:19 AM »
Server and Gateway - Dedicated

External Interface Configuration - Use static IP (even if have dynamic IP)

Select Static IP address - This IP will be in the same subnet as the external          ethernet interface on the DSL router
e.g  router external interface 192.168.1.1
       SME external interface  192.168.1.2

Gateway IP address - This is the external ethernet IP of the DSL router.

This should get you up and running.

Janet...By doing the instructions there this will NOT allow the ip of the gateway 192.168.0.1.


What I want is this:

sme ip 192.168.0.234  subnet 255.255.255.0
ip for external Wan ?????   subnet ????
gateway ip 192.168.0.1
served ip 192.168.0.2   to   192.168.0.233

This below is setting in my router:


LAN IPv4 Address:   192.168.0.1   
WAN IPv4 Address:   106.71.127.235
Default Gateway:   106.71.0.1
Primary DNS Server:   211.29.132.12
Secondary DNS Server:198.142.0.51