About 553,000 results
Open links in new tab
  1. linux - What does the command "ip route" show - Server Fault

    Mar 17, 2017 · What does the command "ip route" show Ask Question Asked 8 years, 9 months ago Modified 1 year ago

  2. What is the difference between "route" and "ip route"?

    It's still present in many distributions for compatibility. ip route is much more powerful, it has much more functionality, and can create more specialized rules. ip route isn't needed to create a static route, but …

  3. RTNETLINK answers: Invalid argument when adding route

    Oct 30, 2020 · When adding routes with IP route, one needs to use always network addresses. 10.73.55.174/30 is not a valid network address. Network address is always the first IP address in a …

  4. Why ip route add doesn't work, but ip route add with less details and ...

    I have a problem with ip route add. Surprisingly, I can add the route then change it, but I cannot directly add it: # ip route add 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 RTNETLINK an...

  5. routing - iptables - Target to route packet to specific interface ...

    I found the ROUTE target, but that seems to only re-write the source interface (unless I'm reading it incorrectly). Is iptables capable of this? Do I have to mess around with the routing table (via ip route …

  6. From specific source IP to specific destination IP with ip route or ip ...

    May 15, 2019 · From specific source IP to specific destination IP with ip route or ip tables Ask Question Asked 6 years, 7 months ago Modified 6 years, 7 months ago

  7. iptables - list all route tables - Server Fault

    Aug 8, 2014 · I need to know how to list the IDs of all route tables. For example, I can run: ip rule add fwmark 2 table 104 ip route add dev eth0 default via 192.168.3.7 table 104 A call to ip rule list shows:...

  8. linux - Find interface for route to specific host - Server Fault

    Aug 17, 2013 · This doesn't seem to show the actual interface, at least if the default route is used. For me, asking ip route show to match 10.32.52.167 earns the response default via 10.93.20.1 dev …

  9. networking - ip route add works manually but throws "Error: an inet ...

    Sep 10, 2014 · I'm trying to run a script that should add this route to a table 11: ip route add local 10.1.3.212 dev eth1 proto kernel scope host src 10.1.3.212 table 11 If I run this command manually, it is

  10. How to find the gateway IP address in Linux - Server Fault

    Jun 24, 2009 · What command can you use to find the Gateway IP Address (ie. home router address) for eth0 in Linux? I need to get the IP address from a command line app to use in a shell script.