Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2006 10:55:55 +0300
From:      Alexander Motin <mav@mavhome.dp.ua>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd and vlan
Message-ID:  <452A008B.8040804@mavhome.dp.ua>
In-Reply-To: <4529C408.5070807@micom.mng.net>
References:  <1159971789.00612536.1159960802@10.7.7.3> <4524055D.7060906@mavhome.dp.ua> <4529C408.5070807@micom.mng.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Ganbold wrote:
>>> Oh, I put up my question wrong. Anyway, can mpd listen on many vlan 
>>> interfaces?
>>> Maybe something like:
>>>
>>>       set pppoe iface vlan0,vlan1,etc
>>
>> One PPPoE link can listen on the only one interface/vlan. But you can 
>> create many links to listen on many interfaces/vlans. Create one or 
>> more link for each interface.
>>
> You mean something like this that I have in my mpd.conf:

I mean something like this:

default:
        load server1
        load server2
        load server3
...
pppoe_standard:
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
        set pppoe service "*"
        set pppoe disable originate
        set pppoe enable incoming
...
server1:
        new -i ng1 pppoe1 pppoe1
        set ipcp ranges x.x.x.x/32 y.y.y.y/24
        load pppoe_standard
server2:
        new -i ng2 pppoe2 pppoe2
        set ipcp ranges x.x.x.x/32 y.y.y.y/24
        load pppoe_standard
server3:
        new -i ng3 pppoe3 pppoe3
        set ipcp ranges x.x.x.x/32 y.y.y.y/24
        load pppoe_standard
...

mpd.links file:
pppoe1:
        set link type pppoe
        set pppoe iface vlan0
pppoe2:
        set link type pppoe
        set pppoe iface vlan1
pppoe3:
        set link type pppoe
        set pppoe iface vlan2
...

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452A008B.8040804>