# data[].attributes.headline
Difference between next hop and exit interface

# data[].attributes.subject
Difference between next hop and exit interface

# data[].attributes.body
Exit interface is better.

If using next hop IP, when the router receive an incoming packet:

1. Check the destination IP

2. Look up the routing table and found the static route

3. Know the next hop IP

4. Look up the routing table AGAIN to find the exit interface for that next hop IP

5. Sent the packet out of the exit interface.

If using exit interface, router can skip Step 4 - save 1 additional lookup for every packet = router can run faster :)

- Mr Lau

# data[].attributes.body
To the student who post the question

To the student who provided the answer!

- Mr Lau

# data[].attributes.body
Ya

# data[].attributes.body
Is it okay to put the next hop ip address instead of exit interface?

# data[].attributes.body
ip route 172.31.10.0 255.255.255.0 S0/0/0

ip route 172.31.20.0 255.255.255.0 S0/0/0

ip route 172.31.30.0 255.255.255.0 S0/0/0

ip route 172.31.88.0 255.255.255.0 S0/0/0

# data[].attributes.body
How to

Configure four directly attached static route on HQ to each VLANs 10, 20, 30 and 88.

# data[].attributes.body
interface GigabitEthernet0/0.99

encapsulation dot1Q 99 native

# data[].attributes.body
[Lab 6] How to configure Native Vlan for sub-interface G0/0.99?

# data[].attributes.body
Post your questions here.

Thank you!