<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>
&nbsp;no shutdown<BR>
&nbsp;encapsulation dot1q<BR>
&nbsp;dot1q pvc 112 <BR>
&nbsp;&nbsp;bind subscriber frans@falco<BR>
!<BR>
<BR>
And your context would have something like:<BR>
<BR>
context falco<BR>
! <BR>
&nbsp;interface subscribers-1 multibind<BR>
&nbsp;&nbsp;ip address 85.203.4.1/25<BR>
&nbsp;&nbsp;ip arp proxy-arp<BR>
!<BR>
&nbsp;interface subscribers-2 multibind<BR>
&nbsp;&nbsp;ip address 10.0.0.1/24<BR>
&nbsp;&nbsp;dhcp server 10.0.0.1<BR>
&nbsp;&nbsp;ip pool 10.0.0.0/24<BR>
!<BR>
&nbsp;subscriber name frans<BR>
&nbsp;&nbsp;&nbsp;dhcp max-addrs 100<BR>
&nbsp;&nbsp;&nbsp;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 &lt;<a href="vvasilev@vvasilev.net">vvasilev@vvasilev.net</a>&gt;<BR>
<B>Date: </B>Tue, 9 Mar 2010 12:40:01 +0000<BR>
<B>To: </B>Frans Legdeur &lt;<a href="frans@falco-networks.com">frans@falco-networks.com</a>&gt;<BR>
<B>Cc: </B>&lt;<a href="redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a>&gt;<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 &quot;IP-Interface&quot; 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 &lt;<a href="frans@falco-networks.com">frans@falco-networks.com</a>&gt; 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 &lt;<a href="vvasilev@vvasilev.net">vvasilev@vvasilev.net</a> &lt;<a href="http://vvasilev@vvasilev.net">http://vvasilev@vvasilev.net</a>&gt; &gt;<BR>
<B>Date: </B>Tue, 9 Mar 2010 11:00:08 +0000<BR>
<B>To: </B>&lt;<a href="redback-nsp@puck.nether.net">redback-nsp@puck.nether.net</a> &lt;<a href="http://redback-nsp@puck.nether.net">http://redback-nsp@puck.nether.net</a>&gt; &gt;<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> &lt;<a href="http://redback-nsp@puck.nether.net">http://redback-nsp@puck.nether.net</a>&gt; <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>