Re: Stack virtualization (was: running out of mbufs?)

From: Andre Oppermann (andre_at_freebsd.org)
Date: 08/09/05

  • Next message: Brooks Davis: "Re: panic: if_attach called without if_alloc'd input()"
    Date: Tue, 09 Aug 2005 18:25:17 +0200
    To: Marko Zec <zec@icir.org>
    
    

    Marko Zec wrote:
    >
    > On Tuesday 09 August 2005 14:41, Andre Oppermann wrote:
    > ...
    > > I don't want to have non-global interface lists in the kernel.
    >
    > But sooner or later you _will_ end up with some sort of non-global
    > interface lists after all, just as you stated yourself at the beginning
    > of this tread. Of course one can still maintain all interfaces linked
    > in one list and introduce another set of separated lists on per-stack
    > basis which will be used to logically group interfaces into smaller
    > sets, but that's really just a question of coding / design style.

    I thinking more along the lines of OpenBSD's interface groups. There
    you just add another attribute called group to an interface. Claudio
    (@openbsd.org, working at next desk to me) explained it quickly to me
    after it was raised here on the list. The group name is a string but
    in the ifnet structure only an int is stored. This group name then
    is used primarily for pf firewall to create rules for interface groups.
    It handles newly arriving interfaces too.

    I haven't fully explored all applications and possible tie-ins with
    jails, virtual stacks etc. but it looks very interesting.

    For example I want to have multiple routing tables within the same
    stack. These routing tables can be opaque or fall-through and match
    on the source and destination address (not at the same time though).
    This way we get ultimate routing flexibility in using FreeBSD as
    router. An incoming packet on interface em0 with group priority
    would first match into routing table X, and if no match fall-through
    to the default routing table. Or you could create a source matching
    routing table Y sending matching packets further to table Z for
    low priority routing.

    It's hard to describe this textually to its full extent. That's why
    my upcoming paper will have mostly graphics depicting the packet flow
    and the processing options.

    -- 
    Andre
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Brooks Davis: "Re: panic: if_attach called without if_alloc'd input()"

    Relevant Pages

    • intervlan routing and policy routing C3750 or C 4948
      ... routing) and for some vlans i need different gateways. ... interface Vlan10 ... route-map, 2) routing table. ... the packet will be routed according to the routing table (standard IOS ...
      (comp.dcom.sys.cisco)
    • Re: Features that can only be provided by the implementation?
      ... specific behaviors of standard CL functions allow but not mandated ... such as an interface to sockets.) ... Built-in Functions ... Getopt Parameter lists ...
      (comp.lang.lisp)
    • Re: RFC: Package == class == object type
      ... >> I could reverse the parameter sequence so that the block type is ... Which makes the interface less flexible in the future, ... > lists, which need to be passed as references, in which case explicitly ... The idea of named parameters is worth considering as my project and therefore ...
      (perl.beginners)
    • Re: NAT implementation in an IM driver
      ... and then deliver the packet to the IP stack. ... The IP routing from TCP/IP ... Internet providers) Windows will route the packet only on one interface, ...
      (microsoft.public.development.device.drivers)
    • Re: Stage Manager/Theatre Management Software
      ... > schedules, attendance lists, cue sheets, work note sheets, cast/crew ... > design, ... It could be extended easily to cover crew, tech, performances, ... Regarding the interface. ...
      (rec.arts.theatre.stagecraft)