MPD pppoe access concentrator name and service name

ovidiu ene ovidiue at unixware.ro
Fri Sep 29 13:02:58 PDT 2006


Marcin Jessa wrote:

>On Friday 29 September 2006 18:36, ovidiu ene wrote:
>  
>
>>I've been trying for a while to setup a mpd pppoe server to have a
>>access concentrator name and a service name and is not working.
>>I understand that access concentrator name is given by hostname, but
>>what about service name?
>>    
>>
>
>You can give the native PPPoE a try. 
>man(8) pppoed explains how to do it. Take a look at this example:
>pppoed_flags="-d -P /var/run/pppoed.pid -a "yazzy.org" -l "default" "
>
>  
>

I've been using pppoed in the past but i've migrated to mpd because i 
had problem with broken pppoe clients from lan which break pppoed 
server, making pppoe server unusable.

>  
>
>>I've used pppoe server for a year now and at service name i have *
>>wildcard. If i use set pppoe service "test" instead of "*" after i start
>>mpd, from a windows client i cannot see the service. Any ideea howto fix
>>that? I've googled for a while without success.
>>    
>>
>
>AFAIR you can tell windows what service name to chose. There is also a free
>pppoe client - http://www.raspppoe.com/ which you can use to "browse" your 
>network for pppoe broadcast packets.
>
>  
>
Yes, I'm using rasppoe on client side but if instead of "*" service I 
assign a name to the service, raspppoe is unable to find the pppoe service.

This is a tcpdump for 2 situations: with "*"  as service name in mpd and 
with an assigned name instead of "*"


this is the case with a service name

   1.
      22:41:09.081502 PPPoE PADI [Service-Name] [Host-Uniq
      0x5253504500000000E0D3063307E4C601]


this is the case with "*" service name (working version)

   1.
      22:47:18.170867 PPPoE PADI [Service-Name] [Host-Uniq
      0x5253504500000000609A050F08E4C601]
   2.
      22:47:18.175976 PPPoE PADO [AC-Name "wanna"] [Service-Name]
      [Service-Name "*"] [Host-Uniq 0x5253504500000000609A050F08E4C601]
      [AC-Cookie 0x006942C6]

The problem with * is that if i have 2 pppoe servers, users connects 
randomly to one or other server, I want some of customers to go to a 
server, some to other, that's why I don't want to use *


>_______________________________________________
>freebsd-isp at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
>
>  
>


More information about the freebsd-isp mailing list