The configuration example examples/ingress contains the following setup:
dev a_eth0 10 Mbps host { dev b_eth0 10 Mbps dev b_eth1 10 Mbps route 10.0.0.0 netmask 255.0.0.0 b_eth1 } connect a_eth0 b_eth0 send a_eth0 PACKET
Since tcsim does not name hosts, we include the host name in interface names for clarity. The interface a_eth0 does not require a host section, because packets are enqueued directly at that interface, so no other ``local'' interface needs to be associated with it.
Figure 6.2 illustrates the configuration generated by the above example.