Em 15-01-2014 06:20, Martijn Rijkeboer escreveu:
>>> Is it possible to create an IP unnumbered setup with PPPoE on OpenBSD?
>> And what the heck you mean by "unnumbered"? If it is wildcard address,
>> and by it, that the pppoe access concentrator provides the ip addres,
>> then yes, it works. For us to help you we need a little more than this.
> Sorry for not providing enough information. "IP unnumbered" seems to mean
> that both the pppoe physical device and the pppoe device don't have an
> IP-address. Only the internal interface has an IP-address. The following
> is a Cisco configuration that shows such a configuration.
>
> interface FastEthernet0/0
> description LAN klant
> ip address 123.123.123.1 255.255.255.128
> duplex auto
> speed auto
> no keepalive
> !
> interface FastEthernet0/1
> description WAN
> no ip address
> duplex full
> speed 100
> pppoe enable
> pppoe-client dial-pool-number 1
> !
> interface Dialer0
> ip unnumbered FastEthernet0/0
> encapsulation ppp
> ip tcp adjust-mss 1452
> dialer pool 1
> dialer idle-time
> dialer-group 1
> no cdp enable
> ppp authentication pap callin
> ppp pap sent-username <username>@solcon.net password <password>
> !
> ip route 0.0.0.0 0.0.0.0 Dialer0 permanent
>
>
> Kind regards,
>
>
> Martijn Rijkeboer
>
My setup is exactly like this. The physical interface do not have an ip
address and the pppoe also do not have an ip address until the
concentrator provides one:
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev <physical_dev> authproto pap \
authname 'user' authkey 'pass' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
--
Giancarlo Razzolini
GPG: 4096R/77B981BC