Questions tagged [routing-table]
48 questions
6
votes
1 answer
What does “scope” do in ip route and why it is necessary to setup static route in Linux?
If I want to replace default dhcp route rules with static ones, I have to add a rule ip route add scope link dev eth0. Or I will get an error: “Nexthop has a invalid gateway”.
Here are my questions:
Q1: What does “scope link” mean in ip…
user762750
- 511
- 2
- 7
- 18
3
votes
2 answers
How to understand the output of ip route on a mac
I asked this on networkengineering.stackexchange.com and was flagged as offtoppic but was told to ask here...so here goes:
I am on a mac, when I run ip route show I get the following output:
ip route show
default via 192.168.178.1 dev en0 -- line…
Finlay Weber
- 133
- 5
2
votes
2 answers
tracert results not matching routing table (route print)
Why would tracert 10.0.0.1 produce the following results:
Tracing route to 10.0.0.1 over a maximum of 30 hops
1 3 ms 3 ms 3 ms 192.168.0.1
2 * * * Request timed out.
3 * * * Request…
arcyqwerty
- 1,050
- 13
- 28
2
votes
2 answers
How to route default traffic to another specific IP on a TP-Link router
I have a TP-Linkk router TD-W8960N 300Mbps Wireless N ADSL2+ Modem Router, which I use to connect to the internet via PPPoE. I have a backup internet connection with its own router, connected to the tp-link one through a LAN cable.
tp-link…
Bertuz
- 123
- 1
- 7
2
votes
1 answer
Change order of routing table/move entry up or down in linux
I have a couple of interfaces in my routing table and the first one stopped working. I want to temporarily move it down to make one below it default. Do I have to delete and add it again or is there an ip/route/ifconfig command, which can just move…
Daniel Krajnik
- 43
- 1
- 6
2
votes
1 answer
Unable to send ping from host A via B to C
There is a network of three computer.
Problem: Host A (192.168.1.1) can send ping to host B (10.10.0.5, also 192.168.1.2), but can not to send C (10.10.0.6, 10.10.0.7).
Host A say: "10.10.0.6 = Destinantion Host Unreachable."
What I do wrong?
…
stacker
- 21
- 2
2
votes
1 answer
What does term metric mean?
In the ifconfig man page I encountered:
metric N
This parameter sets the interface metric.
Searched the net, but didn't find clear explanation, only something like "it sets priority of the NIC interface".
Is there definitive…
Bulat M.
- 287
- 1
- 5
- 18
1
vote
0 answers
[Mininet/Miniedit]: The hosts cant ping/reach other in a 2 router system
As a part of an experiment, my network has the following topology for two host machines connected to a router in mininet(on Ubuntu 22.04.02 Virtual Machine)
h1 - r1 - r2 - h2
The host Machine 'h1' has the following…
Toshitt Ahuja
- 11
- 2
1
vote
0 answers
pfsense routing table: link vs interface
Here is my pfsense IPv4 outing table (netatst -r):
Destination Gateway Flags Netif Expire
default 192.168.4.1 UGS em0
127.0.0.1 link#4 UH lo0
192.168.1.0/24 link#2 …
cdjc
- 131
- 4
1
vote
0 answers
Libvirt routed network - can not connect guest VMs to external Router
I am trying to build a virtual lab to test some NAS64 capabilities with Cisco ISR Routers.
The goal is to have IPv4-only and IPv6-only Guests talk to each other via a Cisco ISR 4321. The Basic idea would be something like this:
I am using KVM/QEMU…
network-dummy
- 11
- 1
1
vote
2 answers
How does a router know that it should receive the packet, if the packet was sent to a public IP address?
Let's say that I have a router that has a public IP address on one of its interfaces and a private address on one of the other interfaces, let's say 192.168.1.1/24.
Then there is a computer connected to that second interface that also has a private…
AnB
- 13
- 3
1
vote
0 answers
Why does NCSI show no connection when I eliminate the default route?
I'm experimenting with routing tables on my Windows 10 machine, to gain more control of traffic. I've noticed that the NCSI will show no internet when there is.
Specifically, if I eliminate the default route (0.0.0.0/0), then the NCSI displays "No…
ssmquasar
- 21
- 2
1
vote
1 answer
Windows On-Link
When I hear the accurate descriptions/interpretations on what the On-Link Gateway category as a result of viewing the routing table. It begs the question, isn't this a short-cut to identifying the connection as a layer 2 address? It no longer is a…
innabawks
- 11
- 1
1
vote
2 answers
Packet reaches OS but not the process
Sorry if my issue is a bit hard to summarize in the title. That is the best I could come up with.
TL;DR Version: How do I debug when packets reach OS, but not the destination process?
Explanation: I have two processes, running on two devices, and…
pooya13
- 123
- 5
1
vote
1 answer
Multiple client connections using OpenVPN
I have 2 servers running OpenVPN, let's call them server A and server B, I also have a client for both of the OpenVPN servers which is called client1, I'm trying to connect client1 to both servers on another machine which in this case I will call…
Curean Nicușor
- 11
- 4