Questions tagged [routing-table]
56 questions
7
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
- 213
7
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…
William
- 691
5
votes
3 answers
routing LAN connections among clients on same ISP router device
Trying to understand why I cannot reach other LAN devices on a ISP modem. WiFi is off. I'm using two of the 4 LAN ports on the back.
I have one ISP modem at 192.168.1.1 (LAN), WAN is not relevant, as it is the public IP, let's say 1.2.3.4. Already…
gcb
- 5,442
- 13
- 62
- 86
4
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
- 143
3
votes
1 answer
Routing table behaviour coupled with bound sockets - unexpected behaviour
Problem
I am experiencing some rather odd behavior where a seemingly unrelated default gateway route is having unexpected side-effects. I managed to replicate this issue with a minimal example. The aim here is mostly educational and I stumbled upon…
kvnnap
- 33
3
votes
2 answers
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…
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,080
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
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
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…
anon
2
votes
1 answer
I can ping from a PC to another PC on different subnet but the reverse is not
I had set up my LAN like this.
I can ping from the laptop to PC, but I can't ping from PC to laptop. The result:
PING 192.168.11.25 (192.168.11.25) 56(84) bytes of data.
From 192.168.2.123 icmp_seq=1 Destination Host Unreachable
I have the Routing…
Davuz
- 827
- 1
- 8
- 9
1
vote
1 answer
Creating a virtual network interface and; how would I route traffic for specific IP addresses to a virtual network interface (Ubuntu 22.04.5 LTS)
I have three IPs assigned to a single interface (modified results of netstat /rn):
2: eno1: mtu 1500 qdisc mq state UP group default qlen 1000
link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff
altname…
Shopgeek
- 11
1
vote
1 answer
Change default route preference among connections
I have a Windows 10 machine which, for reasons, must be connected to a LAN and a WiFi simultaneously, most of the time, and only to one of them on occasion. Now, I would like the WiFi to be the default route, and the LAN to only be used for…
einpoklum
- 10,666
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