5
Routing
92
When
an
IP
packet
is
received
on
any
of
the
interfaces,
the
list
of
active
flows
is
consulted
to
see
if
there
is
an
already
a
flow
for
which
the
received
packet
belongs.
If
an
existing
flow
is
found,
the
flow
information
includes
where
to
route
the
packet
so
there
is
no
need
for
lookups
in
the
routing
table.
This
is
far
more
efficient
than
traditional
routing
table
lookups,
and
is
one
reason
for
the
high
forwarding
performance
of
the
SEG.
If
an
established
flow
cannot
be
found,
then
the
routing
table
is
consulted.
Note
that
the
route
lookup
is
performed
before
any
of
the
various
policy
rules
get
evaluated
(for
example,
IP
rules).
Consequently,
the
destination
interface
is
known
at
the
time
the
SEG
decides
if
the
flow
should
be
allowed
or
dropped.
This
design
allows
for
a
more
fine
‐
grained
control
in
security
policies.
SEG route notation
The
SEG
uses
a
slightly
different
way
to
describe
routes
than
most
other
systems,
which
simplifies
its
use
and
makes
errors
less
likely.
Many
other
products
do
not
use
the
specific
interface
in
the
routing
table,
but
specify
the
IP
address
of
the
interface
instead.
The
routing
table
below
is
from
a
Microsoft
Windows
XP
workstation:
===================================================================
Interface
List
0x1
...........................
MS
TCP
Loopback
interface
0x10003
...00
13
d4
51
8d
dd
......
Intel(R)
PRO/1000
CT
Network
0x20004
...00
53
45
00
00
00
......
WAN
(PPP/SLIP)
Interface
===================================================================
Active
Routes:
Network
Destination
Netmask
Gateway
Interface
Metric
0.0.0.0
0.0.0.0
192.168.0.1
192.168.0.10
20
10.0.0.0
5.0.0.0
10.4.2.143
10.4.2.143
1
10.4.2.143
255.255.255.255
127.0.0.1
127.0.0.1
50
10.255.255.255
255.255.255.255
10.4.2.143
10.4.2.143
50
85.11.194.33
255.255.255.255
192.168.0.1
192.168.0.10
20
127.0.0.0
255.0.0.0
127.0.0.1
127.0.0.1
1
192.168.0.0
255.255.255.0
192.168.0.10
192.168.0.10
20
192.168.0.10
255.255.255.255
127.0.0.1
127.0.0.1
20
192.168.0.255
255.255.255.255
192.168.0.10
192.168.0.10
20
224.0.0.0
240.0.0.0
10.4.2.143
10.4.2.143
50
224.0.0.0
240.0.0.0
192.168.0.10
192.168.0.10
20
255.255.255.255
255.255.255.255
10.4.2.143
10.4.2.143
1
255.255.255.255
255.255.255.255
192.168.0.10
192.168.0.10
1
Default
Gateway:
192.168.0.1
===================================================================
Persistent
Routes:
None