Skip to main content

Questions tagged [ip-routing]

0 votes
0 answers
87 views

Configuring Proxmox SDN to provide DHCP, but not routing

OK, so I have a Proxmox host that's configured with multiple virtual networks (configured as Simple Zones). I've configured it to provide DHCP, and to register hosts using PowerDNS, this works fine. ...
Adam Luchjenbroers's user avatar
0 votes
1 answer
62 views

Routing between two chained VPN connections

I'm trying to setup the following network: Host1 ---(VPN1)--- Host2 ---(VPN2)--- Host3 Where Host1 has IP 10.0.0.1/16 on interface tun-vpn1; Host2 has IPs 10.0.0.2/16 on interface tun-vpn1, and 10.1....
user1250852's user avatar
0 votes
2 answers
270 views

Dual IP Source Based Routing on Server

I have struggled in an enterprise environment with IP changes (moving VLANS) of servers. Temporary dual homing would be an ideal solution, but after trying on and off for a year, I have always had ...
MadHatter's user avatar
  • 101
0 votes
1 answer
116 views

How can I give a Linux routing table an alphabetic name?

The ip command only allows numeric table names. But I see that some default tables exist with alphabetic names (local, main). Is there a way to give it an alphabetic alias?
slowcoder's user avatar
0 votes
1 answer
200 views

How do I keep priority on my rule?

I have the following code run on my server to allow me to SSH into my server even when the server is connected to a VPN. The code below runs as a service after startup. ip addr add 192.168.1.113 dev ...
slowcoder's user avatar
2 votes
1 answer
322 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 "...
William's user avatar
  • 151
0 votes
1 answer
85 views

VPN & changing outbound interface per user - correct source IP but wrong interface

I am connected through a VPN and I want some user accounts to bypass it. VPN interface is tap0 (IP is 172.16.x.x), the main one is wlan0 (IP is 192.168.10.3). All regular traffic goes to the Internet ...
filo's user avatar
  • 431
0 votes
0 answers
497 views

linux ip rules for vrf VS ip rules for policy routing table

i have found my self a bit confused about how ip rules differ between VRF and policy routing table =============== policy routing table part =============== here i have an example that is ...
Edgar's user avatar
  • 1
1 vote
0 answers
44 views

Strongswan- Configuration required from mutiple network connectivity

On-Prem -------------------------- AWS ------------------------------ GCP (192.168.x.x) (172.10.x.x) (10.10.x.x) (Strongswan VM) Hi Friends I have configured ...
user170039's user avatar
0 votes
2 answers
2k views

How to connect two Wireguard networks

I have two Wireguard servers in an internal network and clients connected to them. The servers are in network (192.168.XX.XX) and can access each other. Clients are in an external network and can only ...
Andrey Egorov's user avatar
2 votes
1 answer
1k views

How to setup routing to the tun interface from an interface that is receiving tagged frames

I am configuring a Raspberry Pi to route traffic from a specific VLAN through a VPN, but I am encountering routing issues. Here’s an overview of my setup and the problems I'm facing: Setup: Raspberry ...
Aleksei's user avatar
  • 21
-1 votes
2 answers
3k views

Unable to access Url from Internet through WireGuard VPN tunnel

I am trying to access a router settings web page from Internet. I have setup a WireGuard VPN on AWS EC2. The handshake between the router and the WireGuard server looks good, but I am not able to ...
TechGuy's user avatar
0 votes
0 answers
160 views

Reply on same interface from which the request came?

Virtual machine with two network interfaces. Both interfaces have a default gateway. One is connected to the Intranet. The other is connected to the Internet. ...
Qmails's user avatar
  • 41
1 vote
1 answer
288 views

SNAT and DNAT port forwarding to a linked subnet

I am having some issues with the classic problem of DNAT/SNAT port forwarding, with the added complexity of multiple networks and subnets being involved. I want to forward a port from a VPS server of ...
John Tate's user avatar
  • 229
0 votes
1 answer
87 views

How to route traffic from private LAN to specific public remote host via alternate gateway?

Overview I am trying to deal with the following scenario: +------+ (Internet) 50.a.b.c +---------+ | edge + eth0 <-----------------------------> + outpost | +--+---+ 25.u.v.w ...
risclr's user avatar
  • 1
-1 votes
1 answer
94 views

whitelisted VLANs with L3 Managed Switch routing

I have a basic setup for self-learning purposes. I'm a developer but trying to also understand the other side of IT managing networks. I mean learning case I have a single managed L3 switch. To it are ...
tacoshy's user avatar
  • 101
0 votes
1 answer
130 views

Windows can't reach IP host through two routes

Problem: Windows 10 can't reach an IP host behind two routers, where the path is specified in static routes. Windows has the following setup: Windows Host (192.168.3.1/24 for the local LAN with ...
Thomas's user avatar
  • 111
-1 votes
1 answer
304 views

Behavior of longest prefix matching in Windows routing

Description I face a scenario in which longest prefix matching does not occur. Setup On my lab machine, I have a virtual nic VMnet11 (VMWare) with the ip address 181.0.0.10/8. I have a physical nic ...
F.I.V's user avatar
  • 139
1 vote
1 answer
542 views

Does anyone know of a program or script to show which route is being used for an IP address?

In Windows (say Windows 10), I'd like to put in an address, and then the relevant line from the routing table is shown (if any). So, pretend you are pinging an address and the computer processes the ...
Roman's user avatar
  • 445
3 votes
1 answer
142 views

How to route an IP address?

I am trying to route an IP address (camera sensor) to an edge server through a 5G network. The camera sensor is connected to a 5G Modem. The camera IP address is 10.45.3.1, the 5G link IP address is ...
HSHATA's user avatar
  • 31
0 votes
1 answer
7k views

Connect to a postgres running internally within a cluster through a kubernetes pod

I've got a kubernetes pod myapp-2390458f-kfjgd I can get access to with kubectl and an instance of a PostgreSQL that can be accessed from within the kubernetes cluster by the name mypos.tgres.com, but ...
Some Name's user avatar
  • 140
0 votes
1 answer
379 views

How to use DSR load balnce from two different network?

I have a server (A) which clients connect to it throw internet and its ip is 195.45.10.2 it route trafic to server (B) and its ip is 85.10 20.2 . So now I want to use some thing like dsr to let server ...
Ehsan Hosseini's user avatar
0 votes
1 answer
1k views

Linux: Automatically remove routing reference when next-hop is unreachable

I'm setting up the routing for my site-to-site wireguard VPN. Everything seems to be working fine but I have noticed that if a remote destination (next-hop) becomes unreachable the Linux kernel doesn'...
rs232's user avatar
  • 125
-1 votes
1 answer
641 views

Wireguard custom routes lost after suspend

I am running wireguard client on Ubuntu 22.04 from a Lenovo laptop using a WiFi connection, to connect to my home network. The configuration leads all traffic through my home network and it all works ...
storestyggeulv's user avatar
0 votes
1 answer
282 views

Injected packets using libPCAP library is not seen from python socket sniffer and netcat

I am using libpcap to transmit packets between two VETH pairs {veth1, veth1peer} and {veth2, veth2peer} and using each others peer to inject packets upwards to veth1 or veth2 and disabled "rp-...
Mazin Roushdy's user avatar
0 votes
1 answer
556 views

Use a virtual Network in PFsense to redirect packages to device in another network

I'm using PFsense and i have this situation: Network Example I have a Pfsens already connected with "Site1" through OpenVPN. I can acess the "Device" normally in Pfsense network. ...
FelipeFonsecabh's user avatar
3 votes
1 answer
1k views

WireGuard over udp2raw routing issues for the tcp port on server

I have successfully made a connection to wireguard through TCP using udp2raw. The abstract is: My local MAC Server Via TCP Wireguard On the Server 127.0.0.1:3333 (UDP) <-...
Steve Moretz's user avatar
0 votes
1 answer
1k views

Using a External VPS server to act as a firewall / proxy server for a locally hosted server

TL;DR I am trying to use one of my linode servers as firewall / proxy server for a locally hosted game server (using 28015 udp and 28082 tcp) so that the ip of the locally hosted server is not exposed ...
CJ-5's user avatar
  • 11
1 vote
0 answers
470 views

Server with multiple public IPs - pointopoint configuration, bridge, KVM

I am in the process of configuring a server at the provider Hetzner with several individual IP addresses. On the server should run later several VMs via KVM. For the configuration I have to use ...
phanaz's user avatar
  • 962
0 votes
0 answers
524 views

Is is possible to use OpenVPN client as default network gateway (OpenWRT)?

Usually, when using a VPN, you can route all client traffic(s) through a VPN tunnel with a exit point on the VPN server. Is there a reverse possibility: to organize an exit point to the WWW on the ...
Alex A.'s user avatar
  • 101
0 votes
0 answers
142 views

Tracert hop of a L2TP vpn client shows unknown subnet

This isn't really a problem, I more than anything am trying to understand. The network I inherited and work on with another tech who built it is primarily Meraki. There are about 35 sites that ...
russtoleum's user avatar
0 votes
0 answers
770 views

Route Docker outside communication through specific route

My host has 2 IP addresses. One main (management) IP and one that is used for services and whitelisted. The service IP has no gateway but goes through the gateway of the management IP. My netplan ...
Ybrin's user avatar
  • 111
0 votes
1 answer
2k views

Routed IPv6 on internal bridge with virtualized OPNsense router

I'm struggling with adding IPv6 to the internal bridge of my setup, here is what I have: ┌────────────────────────────────────────────────────────────────────────────────────────────────────...
Andreas Piening's user avatar
0 votes
1 answer
2k views

Routing traffic from a bridge to a specific interface

Fundamental question about routing in Ubuntu 20.04. I have a baremetal setup in Hetzner which has an 11.22.33.44/32 IPV4 address along with 2a01:db8:30/64 subnet allocated to it. enp7s0 is the ...
ab_tech_sp's user avatar
0 votes
1 answer
298 views

Firewall / Ip rule issues between two hosts via vSwitch

I have two servers in play here, one is a Qemu VM host, the other being a storage box of sorts. They are hetzner machines, and I have them connected via a vSwitch. Server1 vSwitch interface: 3: local@...
omeganebula's user avatar
0 votes
0 answers
101 views

How to setup load balanced / fail-over route where there are multiple valid routes to the same subnet?

We have a situation where we have multiple EC2 instances each running a VPN. Both the remote VPN server and remote subnet are run by a third-party and we have no say in the way they are setup. We don'...
Philip Couling's user avatar
0 votes
1 answer
48 views

Routing issue between linux machine

Hi I have 3 linux servers deployed on Openstack cloud on same network. Server A -----> Server B ------> Server C Each server private IP address range is 192.168.10.x/24. All 3 servers are ...
Rohit Singh's user avatar
0 votes
1 answer
340 views

Routing between two Cisco CSR1000v instances on AWS

I'm building a lab in AWS with Cisco CSR1000v virtual routers. I've tried both the below options. In option 1, there's no way to force the traffic from linux1 or 2 to the respective CSR routers since ...
kaziman's user avatar
0 votes
1 answer
1k views

How to add a routing rule that only match "dport"?

In my OpenWrt box, I want to route only a specific protocol(tcp:1888) to a tun interface only for one PC(192.168.28.2), so I do as following: ip rule add from 192.168.28.2 dport 1888 lookup 123 ip ...
Leon's user avatar
  • 207
0 votes
0 answers
48 views

route packets from specific hosts to virtual device

PIMv2 I think the issue is with multicast. I want to create a GRE tunnel that supports multicast PIMv2. I am seeing the server sending PIMv2 Hello messages to my gre tunnel but my machine is not ...
neoh's user avatar
  • 1
1 vote
1 answer
923 views

Ubuntu UFW log shows public addresses sending traffic to my RFC1918 private address

This is really a routing question but here is the back ground: I am running Ubuntu 20.04.3 LTS with UFW. My internal network is 10.126.1.0/24. No inbound translations at the Internet edge. If I ...
Tirki's user avatar
  • 11
-2 votes
1 answer
220 views

Connectivity issues with 127.x.x.x series [closed]

Asked this in network-engineering in stack exchange and was redirected here. I have a couple of servers with the below config server1: eno1: 127.15.0.1/16 scope global eno2: 5.0.0.1/24 server2: lo: ...
RBK050's user avatar
  • 9
1 vote
0 answers
278 views

IPv4 -> IPv6 -- IPv6 -> IPv4 routing

I hope the is the right place to ask this question. I'm just looking for the correct name of the type of network routing I'm attempting to implement so I can learn and implement it. I'm using linux (...
Bill's user avatar
  • 11
1 vote
0 answers
235 views

IP Binding Issue in using GRE Tunnel

I have a issue with tunneling and am having a hard time finding a solution. I have two servers, A: Host-Server being a sever with a single IP, and B: Main-Server being the server handling all our ...
NinjaDestroyer's user avatar
0 votes
1 answer
146 views

Decoupling IP address from hosting provider

We run a service that provides on demand websites to our users as part of our offering. In order for our users to use their own domain with our website feature, we have them create an A record to our ...
Eran Galperin's user avatar
-1 votes
2 answers
976 views

Multi hop routing

I'm trying to communicate from the tx.py program to send packets (UDP) down to device 1 and device 2 shown in the picture. Currently we have OpenVPN clients running on 2 of our VMs and if I run tx.py ...
Fraggle's user avatar
  • 61
0 votes
1 answer
51 views

Super user limited to changing route table

Background: I am trying to implement dynamic routing for a system. Is it possible to create a super user that is restricted to changing the routing table? Something like a restricted sudo that can ...
user27221's user avatar
  • 111
2 votes
1 answer
4k views

proto static metric for overlapping prefixes

Can someone please clarify how the route metric is set by Centos 8 in the following situation. I have two vlans on the system, each of which has a matching route prefix defined in /etc/sysconfig/...
SlyOne's user avatar
  • 363
0 votes
0 answers
2k views

DHCPOFFER not crossing virtual bridge on Linux?

I have a physical host machine running Ubuntu 20.4LTS (fully patched) attached to my network, which retrieves it's IP address via DHCP. This works. I have a VirtualBox VM on that host attached to a ...
RabidMutant's user avatar
1 vote
0 answers
2k views

Port-Forwarding and Routing on Windows Server 2019

we run several virtualized servers (all Windows Server 2019) in a cloud environment. There is one server used as router (with a public IP and a privte IP 192.168.100.10) and two further servers have ...
DPT-Schrauber2021's user avatar

1
2 3 4 5 6