Questions tagged [routing]
the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.
3,761
questions
0
votes
0
answers
53
views
ROS Routing Procedure
Good afternoon,
Trying to figure out a routing issue and wondering if anyone can help with procedure or idea behind it.
I have two Mikrotiks via a Wireguard Interface both as PPPoE dial outs, ...
-1
votes
1
answer
99
views
VLAN or different option? [closed]
I have a problem and a request for a solution. I have four network devices, each with the same IP address 169.254.1.1.
These network devices have DHCP enabled from 169.254.1.4 - 20. I can also connect ...
0
votes
1
answer
80
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
0
answers
58
views
Why are internal resources accessed via NPM arriving from my public IP address?
Situation: I have a domain, let's say mydomain.com.
On a server in my local network, I have a few services running, including Nginx Proxy Manager.
In NPM, I have configured various hosts such as ...
0
votes
1
answer
41
views
Masqueraded response is wrong?
Description
My goal is to ping Machine C (10.223.0.7) from Machine A (10.101.0.40)
I have 2 networks and 3 machines
Network A : 10.223.0.0/24
Network B : 10.101.0.0/16
Machine A (the "pinger&...
1
vote
1
answer
79
views
Solved - Fedora host, Windows guest (QEMU/KVM): NAT'd virtual bridges work except this one (USB/Ethernet)
Quick overview of the situation
I have a Fedora host on which there are multiple NICs and VMs (QEMU/KVM/LibVirt). Each guest accesses the internet via a virtual bridge that operates in NAT mode and ...
0
votes
1
answer
82
views
using multiple tables to route ips from TWO ISPs
I need to configure my router (Ubuntu Server 24/ NNFTables) so that computers connected to the lan1 and lan2 interfaces can browse the internet using the wan1 or wan2 interfaces, depending on the ...
0
votes
2
answers
50
views
Connect two networks over a VPN connection linux
I need to connect two networks over a VPN. On each network I have a linux machine that connects to a VPN server on the Internet.
Client A:
local 192.168.5.5
vpn: 10.0.0.5
Client B:
local 192....
-1
votes
1
answer
38
views
openVPN doesn't route into Azure
I installed a centos machine in Azure and its ip address is 10.5.0.4 then I installed an openVPN machine in Azure and its private address is 10.6.0.4 .I did peering between centOS and openVPN networks ...
0
votes
0
answers
11
views
Dnsmasq: exclude certain subdomains from custom routing
I'm using Dnsmasq to route the names of services hosted on a server to localhost, so it doesn't reach out through the internet to them. I had done so like this:
address=/.sub.ourdomain.com/127.0.0.1
...
0
votes
0
answers
25
views
Unable to reach remote container port behind VPN - Linux
I have a small server which acts as an OpenVPN server and a ZNC server, among other things. The ZNC server runs in a docker container and is accessible locally via the server host IP.
Server IP: 172....
0
votes
2
answers
82
views
How to configure ports and ensure proper traffic flow in a Layer 2 switch snake test
I am trying to perform a Layer 2 switch test using a snake test. My topology is as follows:
There are two computers and four switch ports.
Port 1 and Port 2 are in VLAN 10.
Port 3 and Port 4 are in ...
0
votes
2
answers
103
views
Why is the Windows routing registry value IPEnableRouter = 2 no longer working?
In Windows 11 Version 23H2 (Build 22631.4037) the IPEnableRouter key no longer working.
If you set the following registry value to enable routing in Windows, then the key disappears after a reboot and ...
0
votes
1
answer
36
views
What could explain missing packets between two servers on the same subnet?
Server A:192.168.100.10 Server B:192.168.100.61 Server C:10.1.11.171
Server B makes a request to server C (via server A):
telnet 10.1.11.171 7777
A tcpdump -i ens4 port 7777 on server A shows the ...
-1
votes
1
answer
32
views
Can't see my public IP in traceroute [closed]
From this traceroute:
% traceroute google.com
traceroute to google.com (142.250.201.78), 64 hops max, 40 byte packets
1 192.168.1.1 (192.168.1.1) 5.003 ms 3.689 ms 3.323 ms
2 100.64.128.1 (100....
0
votes
0
answers
46
views
How to connect gns3 simulated network to my physically existed network
I have a VM existing in one network and a c3660 R1 router in a different network within GNS3. I would like to establish connectivity between router R1 and my VM.
The details for the VM and gns3 R1 ...
0
votes
1
answer
68
views
A handful of ip addresses at a specific hosting company are not accessible from one location
I am reaching out here to see if anyone has ideas as to what might be happening on our network.
My assumption is that it is a routing issue at our ISP but, since that is a neigh impossible problem to ...
2
votes
1
answer
190
views
Routing multiple devices through a single Wireguard connection/IP
I have a Wireguard connect to a cloud server that I do not control, and I was granted only one IP address to use when connecting to that server. However, I would like to allow multiple clients to ...
0
votes
0
answers
40
views
Server with 2 ip address change outgoing ip address
I have a server with a single eth port the primary ip address is assigned by dhcp.
I have a secondary ip address (failover ip) that I want to add and configure as outgoing ip address.
This is the ...
0
votes
2
answers
107
views
IPv4 packets coming from the VPN interface are sent back correctly, but not IPv6
I have a Wireguard VPN set up to forward packets (with iptables) received on a VPS to a server, which works great. However, the automatic configuration of the eno2 interface (of the server) by Debian ...
0
votes
1
answer
56
views
Windows Server strange routing behaviour
I have a virtual machine running Windows Server 2019, which is a terminal server with many network interfaces. It is actually a trunk, which is being configured for many vlan interfaces, leading to ...
0
votes
0
answers
31
views
Link-local IPv6 address unpingable through guest VM
We have multiple virtualizor based KVM VM provisioning hosts and none of the VMs can ping link-local IPv6 Addresses. To simplify:
VM <--> VM Host: working
VM <--> VM: not working
VM <--&...
0
votes
0
answers
25
views
How to correctly route the packets through host and namespaces?
I am trying to route the packets from Client [Host], through namespaces [Demo0 -> Demo1], to Server [Host]. The packets should be routed to tun device 10.0.3.2, from where the black-box process ...
1
vote
2
answers
183
views
Linux: Cannot ping interface while other interface is active
So I have a RHEL server which I plan to use for facility monitoring. It has 2 network interfaces on different subnets. For the sake of brevity these would be the result of an 'ifconfig' and I'll call ...
0
votes
0
answers
27
views
Network Transfer Speed Discrepancy between Servers Using SCP / Rsync
I'm experiencing significantly slower SCP transfer speeds between two of my servers, despite both having the same bandwidth capacities. Here are the details of the setup:
Source Server X (Slow)
IP: ...
0
votes
1
answer
53
views
OpenVPN: can't reach client network from server
I have two servers, beta and alpha; beta is an OpenVPN server. Both runs FreeBSD. Both runs jails.
OpenVPN network is 192.168.25.0/24. Beta's network for jails is 192.168.24.0/24. Alpha's one is 192....
3
votes
2
answers
642
views
DHCP assigned addresses following devices/users and routing
We have three campuses and two data centers.
We are considering assigning IP addresses to devices based on the department, so people can move between campuses and those campuses connect to ...
1
vote
0
answers
56
views
Forwarding issue: no ping from IPSec subnet via Wireguard subnet
Problem: i1NN-clients are not able to reach hosts in remote networks like (yc1-subnet).
wireguard-peer {y} connects to {p} and receives 172.27.0.21/24 IP address in the (wireguard-subnet)
{y} is ...
1
vote
1
answer
157
views
How do I route an IP address "into" a WireGuard tunnel?
I have two machines A and B. A is a VPS that has globally routable IPv4 and IPv6 addresses, B is a physical server behind a carrier-grade NAT:
A:
IPv4 addresses A1 and A2 (on-link);
IPv6 prefix A3::/...
0
votes
0
answers
47
views
NAT table is never hit
I am trying to hit the nat table in my host1. For that I am logging the hits:
root@host1:~# iptables-save -t nat
# Generated by iptables-save v1.8.4 on Wed Jul 3 16:08:26 2024
*nat
:PREROUTING ACCEPT ...
1
vote
1
answer
126
views
224.0.0.0/4 In IPv4 Routing Table
Has anyone seen this before, I noticed some weirdness and ran a netstat -r and found this atypical IP address I have never seen before:
Active Routes:
Network Destination Netmask ...
0
votes
0
answers
27
views
Reach a raspberri pi from a docker container
I have an Ubuntu host with two ethernet interfaces, one connected to the internet, the other connected to a Raspberri Pi.
Goal: reach the Raspberri Pi from my container (ping 169.254.1.25). I can not ...
1
vote
0
answers
40
views
Routing traffic to a WSL2 VM. What am I missing?
HOST_IP = 192.168.0.132/24
VM_IP = 172.30.110.54/20
(different subnets)
The HOST computer is able to reach the WSL2 VM, but I don't understand the process that makes that possible.
I was assuming that ...
1
vote
0
answers
19
views
Opevpn Routes are not adding to the server when client is connecting
Can't find out why routes are not adding.
Here's my configs
cat /etc/openvpn/ccd/kostroma
ifconfig-push 192.168.200.38 255.255.255.0
iroute 10.1.0.0 255.255.255.0
iroute 10.1.3.0 255.255.255.0
iroute ...
0
votes
0
answers
70
views
Nginx custom locations for multiple app access (different ports) on Synology
I am really new in this topic.
What i want to achieve: I have different tools that i use on my synology.
Instead of connecting to all of the different tools with subdomains I want to use one domain ...
0
votes
1
answer
55
views
How to route around a passthrough switch
I'm not experienced with networks, so please be patient if I use incorrect terminology. I tried to google, but due to the lack of words to exactly describe my problems I didn't find anything useful.
I ...
0
votes
0
answers
61
views
I tried installing pfsense as a virtual machine on hyper-V , however i am not able to connect it over LAN to other Vms on the hyper-V
I set up a WAN and LAN for PFsense and LAN on other windows virtual machine. I gave the pfsense LAN as gateway address of Virtual LAN. I am not able to connect to internet over LAN.
I set IP Address ...
0
votes
0
answers
80
views
Using Linux server to interconnect 25Gbps and 1Gbps LAN segments
A local network 192.168.1.0/24 that I administrate, was operated at 1Gbps Ethernet. Recently, we got some new switches and machines capable of 25Gbps Ethernet (all DACs). The new 25Gbps switch does ...
1
vote
3
answers
286
views
Change source IP address, send over eth0 instead of lo
If a packet is sent using TCP and source address 127.1.1.1 (lo) and destination port 80, I want to be sent over eth0 and source address a.b.c.d instead.
How can I get this working?
I tried:
iptables -...
0
votes
1
answer
77
views
VLAN routing on L3 switch, can't set IP address on SVI
I'm currently working on a project that requires connecting 2 different networks together to rout data between them. We have multiple physically separate networks, and I need to find a way to connect ...
0
votes
0
answers
31
views
Default route fallback by looking at pings
I'm having a Ubuntu server connected with single interface to multiple routers. These routers are not co-located, so a single router with bunch of fallback WANs does not work AFAIK.
I can set default ...
0
votes
0
answers
66
views
Packet marking not working for ICMP and UDP
For context, I'm configuring a VPN on a web proxy server (let's call it "SERVER1") using policy-based routing and iptables. I have two interfaces on SERVER1:
eth0 for local network -- local ...
0
votes
1
answer
85
views
How do I NAT different clients into different public IP addresses?
Scenario
ClientA and ClientB are both connected via VPN to ServerA
Goal
All traffic of ClientA that goes into Internet through ServerA should use the public IP 192.0.2.1, and ClientB should use ...
0
votes
0
answers
238
views
WireGuard tunnel on Mikrotik working "one way"
I have two remote locations.
Location 1: MKT-KRK - Mikrotik with public IP (11.12.13.14)
Location 2: MKT-BRZ - Mikrotik - no public IP
R1 - BRZ - public IP (15.16.17.18)
Network diagram below:
...
0
votes
0
answers
53
views
In BIRD , Duplicate Routing Entries for the Same Network
My server is using Bird to get routing from the top switch. ( it has ecmp arch)
# birdc s route protocol routing1
BIRD 1.6.3 ready.
0.0.0.0/0 via 10.171.1.2 on p1 ! (100)
10.171.10.0/24 ...
2
votes
1
answer
55
views
How to prevent IP conflicts on a portable Linux box with multiple network interfaces?
The setup
I have a box with two computers inside (Main and Secondary), both running linux (debian based). The Main has three network interfaces. One is for a wireless connection and the others are for ...
0
votes
1
answer
171
views
How to reliably route traffic for specific websites over different gateways in OPNsense?
I have specific websites I want going out through WAN_DHCP, and all other traffic going out through Mullvad_Wireguard. I can get it working unreliably, but if the host name does not resolve to the ip ...
0
votes
0
answers
32
views
how to route 2 wiregurds over 2 connections at the same time (eth0/wlan0)
The setup I have:
wg0 should go over eth0 and wg0-client should go over wlan0 interface.
Wireguard and interfaces are connected without a problem, but what is happening is that traffic on wg0-client ...
0
votes
2
answers
130
views
Route all local traffic through another openVPN client behind a NAT
So I'm working on a very simple problem,
There is a web based cloud infra behind a VPN (openvpn), Lets call it A
ANd then there is an openvpn client inside my office (behind NAT ofc) with no ...
0
votes
1
answer
72
views
Cannot bind program to OpenVPN interface to use VPN
I have my Ubuntu 22.04 server setup with an OpenVPN client, I only want one program on this server to use the OpenVPN network. To prevent all traffic from automatically getting routed through the vpn ...