<HTML>
<HEAD>
<TITLE>Re: [rbak-nsp] binding to a multibind interfaces</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Vladislav,<BR>
<BR>
If you would use the following commands on your vlan:<BR>
<BR>
port ethernet 1/3<BR>
no shutdown<BR>
encapsulation dot1q<BR>
dot1q pvc 112 <BR>
bind subscriber frans@falco<BR>
!<BR>
<BR>
And your context would have something like:<BR>
<BR>
context falco<BR>
! <BR>
interface subscribers-1 multibind<BR>
ip address 85.203.4.1/25<BR>
ip arp proxy-arp<BR>
!<BR>
interface subscribers-2 multibind<BR>
ip address 10.0.0.1/24<BR>
dhcp server 10.0.0.1<BR>
ip pool 10.0.0.0/24<BR>
!<BR>
subscriber name frans<BR>
dhcp max-addrs 100<BR>
ip interface name subscribers-2<BR>
!<BR>
...<BR>
<BR>
Than you can serve the addresses through one or the other interface, be aware that the max number of dhcp addresses is limited to 100 as I could see through the configuration commands.<BR>
<BR>
You can run the whole configuration by radius and using CCOD (Circuit Creation On Demand) at the port to get this config running out of a database, probably the same that serves the addresses of your connected subscribers / phones.<BR>
<BR>
Kind regards,<BR>
<BR>
<BR>
Frans.<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Vladislav Vasilev <<a href="vvasilev@vvasilev.net">vvasilev@vvasilev.net</a>><BR>
<B>Date: </B>Tue, 9 Mar 2010 12:40:01 +0000<BR>
<B>To: </B>Frans Legdeur <<a href="frans@falco-networks.com">frans@falco-networks.com</a>><BR>
<B>Cc: </B><<a href="redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a>><BR>
<B>Subject: </B>Re: [rbak-nsp] binding to a multibind interfaces<BR>
<BR>
Hi Frans!<BR>
<BR>
Here is what I am actually trying to achieve:<BR>
<BR>
1. I have a DATA service in VLAN x<BR>
2. I have a Voice service in VLAN y<BR>
<BR>
The BRAS acts as a DHCP server in this setup and I have one DHCP pool per service. I want all PCs to be binded to the DATA service and all voice CPE's to be binded to the Voice service. One solution would be (I've successfully tested it) to match by OUI in the MAC address and to associate it with a particular multibind interface by sending the "IP-Interface" Radius attribute. Then the request will be served by the appropriate DHCP pool. But what if the MAC addresses of my Voice CPE are not the same. The best solution would be to match the request by incoming VLAN id. Then I wouldn't need a Radius server or any static config per subscriber.<BR>
<BR>
<BR>
Thank you!<BR>
<BR>
Regards,<BR>
V.Vasilev<BR>
<BR>
On Tue, Mar 9, 2010 at 11:33 AM, Frans Legdeur <<a href="frans@falco-networks.com">frans@falco-networks.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Vladislav,<BR>
<BR>
That would be easy, if the subscribers IP address is matching the IP range of your multibind interface, the binding will be done for you:<BR>
Either, in case of DHCP, you can mention the name of the interface, or you assign the IP address in which case the matching interface will be found automatically.<BR>
<BR>
Do you use radius or all by straight config?<BR>
<BR>
<BR>
Kind regards,<BR>
<BR>
<BR>
Frans.<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Vladislav Vasilev <<a href="vvasilev@vvasilev.net">vvasilev@vvasilev.net</a> <<a href="http://vvasilev@vvasilev.net">http://vvasilev@vvasilev.net</a>> ><BR>
<B>Date: </B>Tue, 9 Mar 2010 11:00:08 +0000<BR>
<B>To: </B><<a href="redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a> <<a href="http://redback-nsp@puck.nether.net">http://redback-nsp@puck.nether.net</a>> ><BR>
<B>Subject: </B>[rbak-nsp] binding to a multibind interfaces<BR>
<BR>
<BR>
Hello!<BR>
<BR>
I've got a SE 1200. Does anyone know how I can bind subscribers to a particular multibind interface based on an incoming VLAN id? Is it possible at all?<BR>
<BR>
<BR>
Thanks!<BR>
<BR>
Regards,<BR>
V.Vasilev<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:12pt'>_______________________________________________<BR>
redback-nsp mailing list<BR>
<a href="redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a> <<a href="http://redback-nsp@puck.nether.net">http://redback-nsp@puck.nether.net</a>> <BR>
<a href="https://puck.nether.net/mailman/listinfo/redback-nsp">https://puck.nether.net/mailman/listinfo/redback-nsp</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>