This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DSL Connection/Static IP's

Hello

I am looking for help on setting up a dsl connection with astaro,
I have a 2 meg adsl connection with static ips, connection type PPPoA.
The modem i am using is a D-link DSL-300T.

The details of the ips are as follows,

IP Range = xxx.xxx.xxx.104 - xxx.xxx.xxx.111
Network address = xxx.xxx.xxx.104
Broadcast address = xxx.xxx.xxx.111
Router address = xxx.xxx.xxx.110
Subnet = 255.255.255.248
Subnet slash notation = xxx.xxx.xxx.104 / 29

What i want to do is set up the connection correctly and bind the remaining
static ip's to the interface so i can use them for my server's.

Am i right in think that i set the D-Link modem to bridge?
Then add the interface "PPTP over Ethernet (PPPoA-DSL) Connection"?


Address - "xxx.xxx.xxx.110"
Default Gateway - "xxx.xxx.xxx.110"
Modem IP Address - "xxx.xxx.xxx.110"
NIC IP Address - "xxx.xxx.xxx.105"
NIC Netmask - "255.255.255.248"
Address to Ping - "ISP DNS"
Username - "ISP Username"
Password - "ISP Password"


I am unsure of the values to be entered here above are these correct,
any help would be greatful.

I am running Astaro 5.2

Thanks Chris


This thread was automatically locked due to age.
Parents
  • Yes, setup the modem in bridge mode.

    You probably have a primary IP assigned by the ISP?  Use that in the interface dialog.  You could also try setting them to auto-assign as usually the ISP will auto-assign a static anyway.

    Forget about the other IP addresses you have been assigned for the time being.  Get the PPPoA up first.  (Add the other IP's as additional IP's on the interface AFTER you have it setup.)

    By 'router address' I assume you mean default gateway.
  • Just an addition to Simon's answer:

    I think you even do not need to add the alias interfaces. Just create some DNATs to redirect the packets with the different destination IPs you bought to the corresponding server.

    Xeno
  • Hi
    Thanks for the views after reading abit more i have found the,

    Modem IP Address i think astaro is after is the IP hardwired to the router eg 192.168.1.1
    therefore the NIC ip will be 192.168.1.2 am i correct in saying this.

    The router IP i refered to is the IP my ISP gave me as my main Modem/Router IP.

    If i select the type PPPoE it connects no problems but i cant seem to get it too connect with PPPoA like it should.

    What is the difference between the PPPoA and PPPoE will using PPPoE be fine? I would still rather get PPPoA working if possible.


    Thanks Chris
  • Please someone help i am at a lost end [:(]
  • [ QUOTE ]
    Hi
    Thanks for the views after reading abit more i have found the,

    Modem IP Address i think astaro is after is the IP hardwired to the router eg 192.168.1.1
    therefore the NIC ip will be 192.168.1.2 am i correct in saying this.

    The router IP i refered to is the IP my ISP gave me as my main Modem/Router IP.

    If i select the type PPPoE it connects no problems but i cant seem to get it too connect with PPPoA like it should.

    What is the difference between the PPPoA and PPPoE will using PPPoE be fine? I would still rather get PPPoA working if possible.


    Thanks Chris 

    [/ QUOTE ]
    You need to talk to your dsl provider and ask them what they use.  Considering the fact you can connect using pppoe and not pppoa Ii am betting they use ppoe.  You cannot connect with PPPOA to a provider running PPPOE and vice versa unless the provider runs both.  I have not heard of a provider running both yet.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Using just the modem attached to a computer it works fine with PPPoA, I was told that if i used PPPoE there would be more overheads.

    ADVANCED DETAILS
    ----------------

    Your modem or router MAY also ask for the following configuration information:

      Connection type: PPPoA
      VPI value: 0
      VCI Value: 38  
      Encapsulation type: VC-MUX (or VC based)
      Modulation: G.DMT (or DMT)
      Authentication type: CHAP  (may be listed as "PAP or CHAP")

    I think my problems lie in the details i am putting into the setup on the PPPoA connection, the IP's, but they look right.

    Thanks Chris
  • [ QUOTE ]
    Using just the modem attached to a computer it works fine with PPPoA, I was told that if i used PPPoE there would be more overheads.

    ADVANCED DETAILS
    ----------------

    Your modem or router MAY also ask for the following configuration information:

      Connection type: PPPoA
      VPI value: 0
      VCI Value: 38  
      Encapsulation type: VC-MUX (or VC based)
      Modulation: G.DMT (or DMT)
      Authentication type: CHAP  (may be listed as "PAP or CHAP")

    I think my problems lie in the details i am putting into the setup on the PPPoA connection, the IP's, but they look right.

    Thanks Chris 

    [/ QUOTE ]
    you have to put your modem in bridge mode so that it is not doing the PPPOA negatiations..that is why you are unable to connect.  PPPOE i do not think it is going to hurt you enough to notice if anything at all.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • From what I heard PPPoE easier to use. PPPoA often differs in some details between the different ISPs. So in worst case the hardcoded PPPoA configuration of ASL is not compatible with the PPPoA of your ISP.
    I would recommend to use PPPoE. The overhead should be extremly low.

    Xeno
  • When the modem is connected to astaro it is in bridge.

    Found this error in the log when its trying to connect,

    2005:05:09-10:01:55 (none) pppoa-sh: pptpc[2684] looking for IP info in /var/run/pptp/eth0#Internet 
    2005:05:09-10:01:55 (none) pppoa-sh: pptpc[2684] /var/run/pptp/eth0#Internet not found, check ip-up script 
    2005:05:09-10:01:55 (none) pppoa-sh: pptpc[2684] shutting down pptp connection  192.168.1.1
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] removing UNIX domain socket /var/run/pptp/192.168.1.1 
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] verifying running processes 
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] pppd: : call Internet ipparam eth0#Internet failed
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] pptp: call manager or gre-gateway failed
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] one or more processes missing 
    2005:05:09-10:02:00 (none) pppoa-sh: pptpc[2684] shutting down pptp connection  192.168.1.1
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] removing UNIX domain socket /var/run/pptp/192.168.1.1 
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] encountered 1 errors so far 
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] connection terminated after 15 sec 
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] connection terminated prematurely 
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] restarting connection in 30 sec 
    2005:05:09-10:02:05 (none) pppoa-sh: pptpc[2684] 1/3 critical error threshold 

    Anyone able to see wats wrong 192.168.1.1 is the modem ip.

    Chris
  • [ QUOTE ]
    From what I heard PPPoE easier to use. PPPoA often differs in some details between the different ISPs. So in worst case the hardcoded PPPoA configuration of ASL is not compatible with the PPPoA of your ISP.
    I would recommend to use PPPoE. The overhead should be extremly low.

    Xeno 

    [/ QUOTE ]

    Thanks for that mate seems to be running fine using PPPoE, how do i go about binding my static ips to this interface?, A new "Additional address on ethernet interface" add fine but wont enable i get the following error

    "You cannot set up an interface of this type on the selected hardware, since it requirs a primary interface type (Standard or VLAN) on the same hardware."

    [:(]

    Chris
Reply
  • [ QUOTE ]
    From what I heard PPPoE easier to use. PPPoA often differs in some details between the different ISPs. So in worst case the hardcoded PPPoA configuration of ASL is not compatible with the PPPoA of your ISP.
    I would recommend to use PPPoE. The overhead should be extremly low.

    Xeno 

    [/ QUOTE ]

    Thanks for that mate seems to be running fine using PPPoE, how do i go about binding my static ips to this interface?, A new "Additional address on ethernet interface" add fine but wont enable i get the following error

    "You cannot set up an interface of this type on the selected hardware, since it requirs a primary interface type (Standard or VLAN) on the same hardware."

    [:(]

    Chris
Children
No Data