[openbeosnetteam] Re: Interfaces

On 7/12/06, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> I was talking about the ethernet interface, not the PPP interface. As
> long as the ethernet interface is down I can't send any packets. As
> long as the ethernet interface is unconfigured (no IP) it's down.
> Thus, I can't send PPPoE packets over ethernet interfaces that don't
> have an IP address, so I have to assign some address like
> "192.168.0.1" just to be able to use PPPoE over that ethernet
> interface.

You're still managing to confuse me :-)

Heh, we can chat about it some day, if you want. :)

You never send PPPoE packets over an ethernet interface. You only send
them over an ethernet device. And it's absolutely correct that those
packets are rejected if the PPP interface (and therefore the ethernet
device) is down.
The way I think, when the IFF_AUTOUP flag is set, the interface will
try to "up" itself (which will also "up" the ethernet device) before
rejecting the packet, though.

But how can the PPP interface "up" the ethernet interface if it doesn't know which IP address to use for the ethernet interface (192.168.0.1 or 192.168.0.2 or DHCP or maybe something totally different)? The current netstack doesn't have any configuration files, so just doing an "up" on an ethernet interface won't work.

Bye,
Waldemar Kornewald

Other related posts: