Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all. I am sorry for my poor english. My problem is this: I have a 32 IP internet connection with a local ISP. The ISP has assigned me the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    2

    PPPoE Server Problems


    Hi all. I am sorry for my poor english.
    My problem is this: I have a 32 IP internet connection with a local ISP. The ISP has assigned me the subnet 213.xxx.xxx.128/255.255.255.224.
    My network is composed as:

    Code:
    ISP -> (192.168.16.170) ROUTER ADSL (192.168.255.1) -> (192.168.255.2) -> PPPoE Concentrator (213.xxx.xxx.129) -> (PPPoE 213.xxx.xxx.n) Client n
    (I hope that it is undestandable)

    On the ADSL router there is a static route that say to internet packet "if you want to reach 213.xxx.xxx.128/255.255.255.224 subnet, you have to pass via the PPPoE concentrator (192.168.255.2), via the ADSL router's ethernet interface".
    The default gateway of the PPPoE concentrator is, obviously, 192.168.255.1.

    The good news is that the PPPoE concentrator works, but the bad is that if it isn't PPPoE clients connected, the PPPoE concentrator can't reach internet because it exit to internet with the IP 192.168.255.2, and not like 213.xxx.xxx.129.

    I have fixed it with iptables and SNAT, rewriting packets from 192.168.255.2 to 213.xxx.xxx.129, but now I have a problem with ip_conntrack, and I have to remove it from the PPPoE concentrator.
    Is there a method to say to the kernel that the default IP is 213.xxx.xxx.129 and not 192.168.255.2???

    Thank you.
    Daniele.

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    2
    PPPoE concentrator is a Centos 4 distro with 2 ethernet interfaces, eth0 where listen the PPPoE server, and eth1 with IP 192.168.255.2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •