[openbeosnetteam] Re: Interfaces

  • From: Nathan Whitehorn <nathanw@xxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 12 Jul 2006 11:12:49 -0500 (CDT)



On Wed, 12 Jul 2006, Waldemar Kornewald wrote:

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.

FreeBSD, at the least, allows interfaces to be "up" without assigned addresses in any family. The state of being up is logically independent from having an address -- it merely implies that the device is available to send packets.
-Nathan


Other related posts: