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

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin wrote:
> 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:

default:
        load server1
        load server2
        load server3
...
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
        set pppoe iface bge1
#       set pppoe iface vlan0
        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 enable incoming
        set pppoe disable originate
pppoe2:
        set link type pppoe
        set pppoe enable incoming
        set pppoe disable originate
pppoe3:
        set link type pppoe
        set pppoe enable incoming
        set pppoe disable originate
...

Ganbold




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4529C408.5070807>