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

adsl setup

Hi
Perhaps I have a weird ADSL-Configuration.... I hope someone can put me on the right path.
My provider has routed the subnet xxx.xxx.144.132/30 to my ADSL Bridge.
Now when i log in with pppoe I get my WAN-IP-Adress assigned. (xxx.xxx.141.33)
How do I add now 'my' Subnet to Astaro?
I have two internal machines, one should get xxx.xxx.144.133 and one should get xxx.xxx.144.134 (Acessible from outside)

Roman


This thread was automatically locked due to age.
Parents
  • That  is kind of evil, having the same networks on two different interfaces. In my opinion, the easiest solution would be to work with host  routes, the "proper" solution would require a transfer network and a bit of help from your ISP.
  • Are you depending on official IPs for those 2 hosts?
    If not, you could just define those 2 IPs on the external interface of ASL and make DNAT-Rules, everything or just the port you need is redirected to those hosts having internal IPs.
  • At now, I have changed back the ADSL modem to handle himself the pppoe and added xxx.xxx.144.132/30 as external interface. Now I connect to the net with xxx.xxx.144.132 (the network-address of the subnet)

    An idea:
    Can I change the external interface to 132/32 and add 133, 134, 135 as virtual ethernet devices?
    Then i could define the outgoing/incoming ip-adress via iptables rules?
    Something like masquerading. If internal ip = x, rewirte to external 133.
    if external packet for 133, rewrite to internal x.

    Ok, i know, it's everything else as nice  [;)]t works......
  • Yes, add the extra IP's to the external interface, then use DNAT rules to forward to servers internally.  Probably the simplest way of dealing with this.
Reply Children
No Data