11-23-2010 03:48 PM
I'm having trouble configuring an ADSL connection on my SRX220 when it comes to the PPPoE session parameters. ATT provides us a bunch of sticky IP addresses as they call them.
When I set the pp0 unit 1 to family inet negotiate-address I get a /32 address with a remote peer also with a /32 address.
When I set it to family inet address 99.my.ip.here/29 I don't receive a peer. I'm sure I'm missing something simple here, do I need to set a static route?
11-23-2010 08:13 PM
As the pp0 interface is essentially a point-to-point type link, you can add a default route pointing to pp0 as the next hop.
set routing-options static route 0.0.0.0/0 next-hop pp0.0
Are you able to access Internet with above setting?
11-24-2010 06:48 AM
I'll try that here in a little bit, here's the routing table off the Netopia:
IP interfaces: Ethernet 100BT: ( up broadcast default rip-send v1 rip-receive v1 ) inet my.ip.goes.here netmask 255.255.255.248 broadcast my.bcast.goes.here physical address 00-0f-cc-ea-dd-f8 mtu 1500 PPP over Ethernet vcc1: ( up broadcast default rip-send v1 ) inet same.ip.as.above netmask 0.0.0.0 broadcast 255.255.255.255 physical address 00-0f-cc-ea-dd-f9 mtu 1492
11-24-2010 07:41 AM
So when I'm set to negotiate and do a show interfaces terse, we see this:
pp0.1 up up inet 184.108.40.206 --> 220.127.116.11
to me this indicates it learned a peer on the other end. When I set a static /29 address, I don't have a peer on the other end. I know what this peer should be from the Netopia's configuration, but how does that entry get made?
11-29-2010 11:05 PM - edited 11-29-2010 11:18 PM
It sounds like you have a dedicated pool based on the 18.104.22.168/29 subnet (Note that includes 22.214.171.124 if I masked that correctly).
If I am understanding you correctly you need to set negotiate-address because that allows ATT to assign the next available address from the pool.
So if you want to be able to route to any address in the 126.96.36.199/29 subnet set a static route as follows for each pp0.x interface in your organization:
set routing-options static route 188.8.131.52/29 next-hop pp0.x
That would seem to be what you were trying to accomplish and will work as long as ATT doesn't change the pool of addresses assigned to your organization.
If the goal is to simply send any address out to the Internet, then do as Richard suggests and use the following:
set routing-options static route 0.0.0.0/0 next-hop pp0.1
Note that you can type "show ppp interface pp0.1 extensive" to see all the PPP negotiated parameters (including DNS)
I hope that helps,