%
% x-kernel v3.3
%
% Copyright (c) 1996,1993,1991,1990  Arizona Board of Regents
%

\begin{verbatim}
    set ip = ip, ip vnet, vnet eth arp, arp eth, eth ethd, ethd sim;
    set buf = 50;
    set db = db.out;
    set delay = 10ms;
    set megTime = 30;
    set time = 90;
    set rbuf = 15;

    #
    # Define hosts
    #
    host h1n1;
      protocols = megtest rtcp, rtcp $ip;
      args = -c192.0.2.1 -buf=$buf -tcpTrace=60000 
             -db=$db -delay=$delay -megTime=$megTime;
 
    host h2n1;
      protocols = traffic rtcp, rtcp $ip;
      args = -hosts 1 192.0.2.2 -cit=30 -db=$db -trafficTime=$time 
             -trafficTrace=60000 -ethdTraceOut -reset=10;

    host h1n2;
      protocols = megtest rtcp, rtcp $ip;
      args = -s;
 
    host h2n2;
      protocols = traffic rtcp, rtcp $ip;
      args = -s;

    #
    # Define routers
    #
    router FCFS r1;
      rtable = 192.0.1.0 192.0.1.0, 192.0.2.0 192.0.3.2;
      args = buf=$rbuf, shortTrace=10000, traceQueue=192.0.3.1, 
             traceOut=192.0.3.1;
 
    router FCFS r2;
      rtable = 192.0.2.0 192.0.2.0, 192.0.1.0 192.0.3.1;
      args = buf=$rbuf, shortTrace=10000, traceIn=192.0.2.100, 
             traceQueue=192.0.3.2;

    # 
    # Define networks, connectivity
    #
    net ETH 192.0.1.0;
      connections = r1 192.0.1.100, h1n1 ethd 192.0.1.1, h2n1 ethd 192.0.1.2;
      args = collisions=off;
 
    net ETH 192.0.2.0;
      connections = r2 192.0.2.100, h1n2 ethd 192.0.2.1, h2n2 ethd 192.0.2.2;
      args = collisions=off;

    net PP 192.0.3.0;
      connections = r1 192.0.3.1, r2 192.0.3.2;
      args = rate=200KB, delay=10ms;
\end{verbatim} 
