These are my outputs from the command ip route
10.1.40.0/24 via 10.255.115.1 dev eth1
10.255.114.0/23 dev eth1 proto kernel scope link src 10.255.115.18
default via 10.1.1.1 dev eth0 metric 100
Am I understanding correctly?
- packet goes to
10.1.40.0/24
will be sent to next hop router(10.255.115.1
) via eth1? 10.255.114.0/23
will be sent via eth1 which ip is10.255.115.18
, NOT via a router?- others will be sent to next hop router(
10.1.1.1
) via eth0?
What does proto kernel scope link src
mean?