I am trying to understand the Windows XP routing table and how the routing is done. For example:
I understand the basic concepts in the headers (destination, mask, gateway, interface, metric). What I am trying to understand is how the routing algorithm is implemented based on that table.
I see the order of the table is by destination but in what order are the lines evaluated? Does the order of the lines affect the routing? Several lines (rules) might apply to one single destination. How are they chosen? I know lower metric is chosen over higher metric.
What I would like to do in the end is have two (or more) network adapters and design the routing table myself. For example, maybe, one network adapter for Internet traffic and another adapter for the LAN.
ETA: Furthermore, even though it lists the table then any attempt to edit it gives an error:
Why is this?
Code:
Active Routes:
Network Destination Netmask Gateway Interface Metric
1) 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 30
2) 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
3) 192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100 30
4) 192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1 30
5) 192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100 30
6) 224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100 30
7) 255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100 1
Default Gateway: 192.168.1.1
I see the order of the table is by destination but in what order are the lines evaluated? Does the order of the lines affect the routing? Several lines (rules) might apply to one single destination. How are they chosen? I know lower metric is chosen over higher metric.
What I would like to do in the end is have two (or more) network adapters and design the routing table myself. For example, maybe, one network adapter for Internet traffic and another adapter for the LAN.
ETA: Furthermore, even though it lists the table then any attempt to edit it gives an error:
Code:
C:\Documents and Settings\A>route delete 224.0.0.0
The route specified was not found.
C:\Documents and Settings\A>route delete 224.*
The route deletion failed: The parameter is incorrect.
Last edited: