wiki:ip_route_issue_with_local_addresses
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:ip_route_issue_with_local_addresses [2021/04/22 10:38] – created walkeradmin | wiki:ip_route_issue_with_local_addresses [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
<color darkorange> | <color darkorange> | ||
\\ | \\ | ||
Line 6: | Line 6: | ||
---- | ---- | ||
- | When you perform an action from the command line, it gets executed just once. So if you type <color # | + | I was having some issues with Teaming interfaces being able to ping outside of the local LAN. When I started to look at the issue I noticed a lot of routes |
\\ | \\ | ||
\\ | \\ | ||
---- | ---- | ||
- | ==== Using Watch ==== | + | ==== Routes |
- | Using < | + | To see the routes just use: |
+ | \\ | ||
+ | ip route | ||
+ | \\ | ||
+ | When doing this I observed the following: | ||
+ | < | ||
+ | ip route | ||
+ | |||
+ | default via 192.168.1.1 dev mngt | ||
+ | 10.0.0.0/8 dev eth2 proto kernel scope link src 10.0.154.2 | ||
+ | 10.0.0.0/8 dev eth3 proto kernel scope link src 10.0.154.3 | ||
+ | 11.0.0.0/8 dev eth4 proto kernel scope link src 11.0.154.4 | ||
+ | 11.0.0.0/8 dev eth5 proto kernel scope link src 11.0.154.5 | ||
+ | 169.254.0.0/ | ||
+ | 169.254.0.0/ | ||
+ | 169.254.0.0/ | ||
+ | 169.254.0.0/ | ||
+ | 169.254.0.0/ | ||
+ | </ | ||
+ | So the default root is fine (via mngt) mngt is my team for the two management interfaces (eth0 and eth1). The rest of the interfaces (eth2-eth5) are for data and are not teamed. | ||
+ | \\ | ||
+ | \\ | ||
+ | What concerned me was the list of 169.254.0.0 addresses on eth2, eth3, eth4 and eth5. These interfaces have static addresses, dhcp is not configured and the DEFROUTE is set to no. | ||
+ | \\ | ||
+ | \\ | ||
+ | To be honest, I don't think they were causing any issues, but I wanted them gone, so here is what we did. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | ==== Remove Routes ==== | ||
+ | I wasn't able to remove the routes by using < | ||
+ | \\ | ||
+ | \\ | ||
+ | Edit the file <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Add the line <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Now reboot the server. | ||
+ | \\ | ||
+ | \\ | ||
+ | After this, performing an <color # | ||
+ | \\ | ||
+ | < | ||
+ | ip route | ||
+ | |||
+ | default via 192.168.1.1 dev mngt | ||
+ | 10.0.0.0/8 dev eth2 proto kernel scope link src 10.0.154.2 | ||
+ | 10.0.0.0/8 dev eth3 proto kernel scope link src 10.0.154.3 | ||
+ | 11.0.0.0/8 dev eth4 proto kernel scope link src 11.0.154.4 | ||
+ | 11.0.0.0/8 dev eth5 proto kernel scope link src 11.0.154.5 | ||
+ | 192.168.1.0/ | ||
+ | </ | ||
+ | |||
+ | All of the 169.254.0.0 reference are gone. | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ |
wiki/ip_route_issue_with_local_addresses.1619084306.txt.gz · Last modified: 2023/03/09 22:35 (external edit)