Page 1 of 1
AT&T Static IP Setup DSL pppoe
Posted: Tue Oct 01, 2013 11:37 pm
by JamesC
I am having trouble getting my AT&T DSL connection setup correctly. I have a block of static IPs (8 assigned, 5 usable). I have the DSL modem in bridge mode. I created a pppoe client on interface ether1 and it connects just fine.
The IP address assigned by AT&T to the pppoe interface is not one of my static IPs and it changes every time I connect.
I read, and posted, in an older thread here
http://forum.mikrotik.com/viewtopic.php?f=2&t=25595. The other thread seems to apply only to a single static IP rather than the block of IPs I have.
Can someone provide instructions on getting AT&T DSL working with a block of IPs?
Thank you,
James
Re: AT&T Static IP Setup DSL pppoe
Posted: Wed Oct 02, 2013 2:33 am
by lunchboxrts
The way we setup ATT static is bind the static ip's to the pppoe interface and set the route to the pppoe interace (disable "Add default route" on pppoe). Then on your src-nat make sure you set the out interface to the pppoe
I am having trouble getting my AT&T DSL connection setup correctly. I have a block of static IPs (8 assigned, 5 usable). I have the DSL modem in bridge mode. I created a pppoe client on interface ether1 and it connects just fine.
The IP address assigned by AT&T to the pppoe interface is not one of my static IPs and it changes every time I connect.
I read, and posted, in an older thread here
http://forum.mikrotik.com/viewtopic.php?f=2&t=25595. The other thread seems to apply only to a single static IP rather than the block of IPs I have.
Can someone provide instructions on getting AT&T DSL working with a block of IPs?
Thank you,
James
Re: AT&T Static IP Setup DSL pppoe
Posted: Thu Oct 03, 2013 2:36 pm
by JamesC
Thanks for the info lunchboxrts.
I am working remotely through a backup connection and do not want to lose it before I am ready to set the default route to the PPPoE connection.
Here is my static block x.x.x.176/28
.177 - Router/modem address
.178 - First usable
.182 - Last usable
I tried creating a new PPP Profile. In the new profile I assigned the first usable address to the local IP. I set the router address as the remote address. When I try to ping out I get several redirects before a TTL error. This does not appear to be the correct setup.
I changed my PPP profile to use the first IP in the subnet (.177) as my local address with no remote address listed. This appears to be what I need. I created a route to the /8 network that contains my IP block. I can ping other hosts in the /8 network. I have other sites within that network and can see the connections coming from the .177 IP.
I think I am ready to set the default route through the PPPoE interface and check connectivity.
Is this how you have your sites configured?
Thank you,
James
Re: AT&T Static IP Setup DSL pppoe
Posted: Thu Oct 03, 2013 3:36 pm
by JamesC
The setup described in my previous post is not correct.
The PPPoE connection uses the IP I assigned for the local address, but receives its remote IP from the AT&T PPPoE server.
I moved the src-nat rule for pppoe interface above my src-nat rule for the backup connection.
As soon as the rules changed I lost the connection to the RB.
At this point, I am not sure what to try next. Can anyone provide a more detailed explanation on setting up AT&T DSL with a block of static IPs?
Thank you,
James
[Working!!!] Re: AT&T Static IP Setup DSL pppoe
Posted: Thu Oct 03, 2013 7:57 pm
by JamesC
So I have it working now!!! Yay!
I have two connections to this RB. The one that has been working for sometime is a wireless (using a NetBridge cellular to ethernet bridge) connection on ether2.
I added an AT&T DSL modem (in bridge mode) on ether1. My DSL connection had a /28 IP block. 8 IPs total, with 6 usable.
I create a new PPP profile and assigned the first IP in my range as the Local Address.
I created a new pppoe-client on the ether1 interface. The user/password are what I configured when I first setup the account with AT&T. "Add Default Route" is not checked. The profile is the new one I created.
At this point I could enable the PPPoE interface and /ping src=my_sttaic_ip pppoe_remote_ip and it worked.
Any connections from the router still went over the wireless connection. I wasted time putting the NAT (srcnat/masquerade) rules for pppoe above the rules for ether2.
The ether2 interface had a dhcp client running that received an IP from the netbridge (actually from the wireless carrier and passed through to the RB). The DHCP client was adding a default route for the ether2 connection.
The final step was adding a static default route to use the pppoe connection.
/ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe scope=30 target-scope=10
Make sure it was the first route and now all traffic goes over the DSL connection.
I have not tried (nor do I need) to get the other 5 IP addresses working. Other posts have mentioned needing different MAC addresses for each IP. I do not know.
The modem I have for this connection is a NetGear (was Westell) 6200.
Hope this helps someone else.
Thank you,
James Crow
Re: AT&T Static IP Setup DSL pppoe
Posted: Mon Dec 01, 2014 7:30 pm
by sixtycyclehum
I have a very similar situation, James. I'm also working on it remotely at the moment, so I can't test yet. The DSL connection in question in my situation is from Frontier, but the details from there are essentially the same. I have a static IP that their network is not assigning me. I have tried this in the same location (but different connection, also with static IP) with a DD-WRT router without issue. Will report back and give results once I can be there in person to tweak things.
Joe
Re: AT&T Static IP Setup DSL pppoe
Posted: Fri Apr 29, 2016 8:44 am
by Bohatyaor
I wasted time putting the NAT (srcnat/masquerade) rules for pppoe above the rules for ether2.???