[cisco-bba] PPPoE with Routed Subnet
Andy Saykao
andy.saykao at staff.netspace.net.au
Mon Jan 12 19:06:55 EST 2009
You could probably set up your ethernet interface to use the IP assigned
to the dialer interface with "ip unnumbered dialer0" and still have the
private IP as secondary.
interface Ethernet0
ip unnumbered dialer 0
ip address 192.168.1.1 255.255.255.0 secondary
ip nat inside
Thats what comes to mind now :)
Cheers.
Andy
________________________________
From: Patrick Wu [mailto:pwu828 at gmail.com]
Sent: Tuesday, 13 January 2009 9:49 AM
To: Andy Saykao
Cc: cisco-bba at puck.nether.net
Subject: Re: [cisco-bba] PPPoE with Routed Subnet
Hi Andy,
The configuration you have suggested would be a typical PPPoE setup, but
I'm faced with a situation where the IP assignment is something like:
Static IP assigned via Service Provider: 203.40.50.61/32
Routed Subnet: 203.40.50.60/29
RADIUS would probably have a Framed-Route attribute of something like
Framed-Route="203.40.50.60/29 203.40.50.61 1"
Meaning the the dialer interface (or bridged interface or whatever that
interface might be) will have .61 and other usable IPs in that subnet
will be used for hosts behind that router.
Any ideas?
Thanks again.
cheers,
Patrick
On Tue, Jan 13, 2009 at 8:03 AM, Andy Saykao
<andy.saykao at staff.netspace.net.au> wrote:
It's a pretty straight forward set up.
Eg:
203.10.20.30/32 (Static IP assigned via Service Provider)
203.40.50.60/29 (Routed subnet)
On your Ethernet or FastE interface:
interface Ethernet0
ip address 203.40.50.61 255.255.255.248
All your devices on that LAN segment will use 203.40.50.61 as
their
gateway. This is the typical set up if your devices on the LAN
side are
using IP's from the routed subnet. Eg: web server 203.40.50.62,
mail
server 203.40.50.63, etc
For your local PC's are using private IP's (eg: 192.168.1.0/24),
you can
use the same ethernet interface and add in a secondary IP
address to act
as the gateway for the local PC's.
interface Ethernet0
ip address 203.40.50.61 255.255.255.248
ip address 192.168.1.1 255.255.255.0 secondary
ip nat inside
Because you have atleast 6 IP's to use from your routed subnet
(203.40.50.61-66), you can also use static nat so that your
local PC's
might go out to the Internet with a public IP from your routed
subnet
instead of the PPPoE assigned IP.
HTH.
Cheers.
Andy
This email and any files transmitted with it are confidential
and intended
solely for the use of the individual or entity to whom they are
addressed.
Please notify the sender immediately by email if you have
received this
email by mistake and delete this email from your system. Please
note that
any views or opinions presented in this email are solely those
of the
author and do not necessarily represent those of the
organisation.
Finally, the recipient should check this email and any
attachments for
the presence of viruses. The organisation accepts no liability
for any
damage caused by any virus transmitted by this email.
_______________________________________________
cisco-bba mailing list
cisco-bba at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-bba
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-bba/attachments/20090113/6bec280f/attachment.html>
More information about the cisco-bba
mailing list