Questions tagged [route]
Command line tool for manipulating and listing the routing table.
634 questions
0
votes
1
answer
123
views
Route update on gateway IP address change
I have a server running Linux with two network cards, eth1 and eth2. These two interfaces are connected to gateway1 and gateway2, respectively, and there are two default routes.
For a specific host, I ...
1
vote
0
answers
47
views
First marked packet by iptables doesn't trigger correct routing, but subsequent ones do
I have configured multiple routing tables and iptables rules to manage traffic, but I am facing an issue where the first marked packet is not routed correctly according to the specified table. However,...
0
votes
0
answers
98
views
Why does OUTPUT-marked traffic hit PREROUTING again?
I'm implementing TPROXY with the following rules:
ip rule add fwmark 1 table 100
ip route add local 0.0.0.0/0 dev lo table 100
iptables -t mangle -N pre_tproxy
iptables -t mangle -A pre_tproxy -p tcp -...
0
votes
1
answer
99
views
Servers and clients in two subnets, how to make the traffic go direct but not through gateway?
We have VLAN 101 with clients and assigned 192.168.1.0/24 with gateway 192.168.1.1.
VLAN 102 with Servers and assigned 192.168.2.0/24 with gateway 192.168.2.1.
A router with two interfaces in VLAN 101 ...
0
votes
2
answers
191
views
Static Route between VLANs [closed]
I understand some basics of networking, but I am new to VLANs and routing. The network is given in the image below.
A Fritzbox 4060 connected to the Internet functioning as DHCP for the main subnet (...
1
vote
0
answers
66
views
Multi IP cameras with multi IP/routes cross a proxy-server
I've this kind of architecture with many cameras with several network connection interfaces : 4/5G, Wifi, Wifi Mesh, Ethernet, Starlink...
For each interface, each camera get a different fixed IP (192....
2
votes
1
answer
339
views
Some details of the route matching algorithm
To find a matched entry in the route table, a bitwise AND will be applied to the destination IP and the netmask in the route table. I wonder if the bitwise AND will ALSO be applied to the "...
0
votes
2
answers
3k
views
Add default route on physical interface using `systemd-networkd`
In /lib/systemd/network/10-eth0.network on my client, I am failing to configure anything that can translate my manual command:
sudo ip route add default via 192.168.7.1 dev eth0
where 192.168.7.1 is ...
0
votes
1
answer
636
views
Persist a manually added WireGuard IP route in Asus RT-AX58U Router
I have a couple of Asus RT-AX58U routers with a WireGuard VPN between them. Router "B" connects to router "A". The LAN address for Router "B" is 192.168.50.1/24, while ...
0
votes
1
answer
114
views
Can I solve this with a static route?
Environment Summary
I have 2 VM's with the following, they are on different HOST
VM #1 has 2 NICs
IP Address 172.31.154.100 with a gateway of 172.31.154.1
IP Address 172.31.177.200 with a gateway ...
0
votes
1
answer
720
views
How to "force" a route?
Linux kernel would allow me to add routes with gateways that were merely reachable, since there's no issue with them in practice. But nowadays i get "Error: Nexthop has invalid gateway" ...
0
votes
0
answers
78
views
No route to loopback IP through IPsec subnets
No route to loopback IP through IPsec subnetsFirst of all, please note that I do not have access to the remote equipment, i.e., the remote IPsec connection point. The communication has been ...
0
votes
1
answer
94
views
GoogleCloud Networking BYOIP with part of subnet advertised from on-site via VPN tunnel
I have a public IP subnet that I currently use onsite for our public facing servers and I would like to take them step-by-step to google cloud using their BYOIP support.
For testing I brought one ...
1
vote
0
answers
368
views
Apisix kubernetes Discovery not work
I am using official helm chart to install the APISIX in my Kubernetes.
I only override the following values from the official helm chart:
useDaemonSet-> true
serviceAccount -> set create to ...
0
votes
1
answer
92
views
2 OpenVPN connections routing to forwarded port only works when 1 connection is down
I have a home network with a DSL router. One machine on the network opens a openvpn connection to a third party vpn provider. This machine then acts as a router for all machines on my network that ...