Questions tagged [ip-routing]
The ip-routing tag has no usage guidance.
286
questions
0
votes
0
answers
13
views
AWS SSM failing after implementing IP route over one interface
I have a EC2 instance in an autoscaling group that I add an extra network interface (ENI) to because I want it to have a static private IP address (By all means if someone has a tip to do this in a ...
0
votes
0
answers
40
views
Route all traffic **except return traffic** through NAT Gateway
I am fidgeting with NAT Gateways and netplan.
I need all traffic that was initiated by the machine, so to say, to go though the nat gateway, and all return traffic in response to inbound requests to ...
2
votes
1
answer
178
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 ...
-1
votes
2
answers
614
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 ...
0
votes
0
answers
90
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.
...
1
vote
1
answer
169
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 ...
0
votes
1
answer
53
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 ...
0
votes
0
answers
257
views
converting ip to netplan
I'm trying to convert a set of ip commands to a netplan configuration. I haven't had any luck so far, and I'm not sure why.
My script for creating the bridge is:
# Create the bridge
ip link add name ...
-1
votes
1
answer
53
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 ...
0
votes
1
answer
96
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 ...
-1
votes
1
answer
184
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 ...
1
vote
1
answer
195
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 ...
3
votes
1
answer
130
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 ...
0
votes
1
answer
4k
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 ...
0
votes
1
answer
246
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 ...
0
votes
1
answer
739
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'...
-1
votes
1
answer
417
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 ...
0
votes
1
answer
204
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-...
0
votes
1
answer
496
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.
...
3
votes
1
answer
994
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) <-...
0
votes
1
answer
768
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 ...
1
vote
0
answers
289
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 ...
0
votes
0
answers
424
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 ...
0
votes
0
answers
109
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 ...
0
votes
0
answers
695
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 ...
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:
┌────────────────────────────────────────────────────────────────────────────────────────────────────...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
244
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@...
0
votes
0
answers
52
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'...
0
votes
1
answer
35
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 ...
0
votes
1
answer
284
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 ...
0
votes
1
answer
930
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 ...
0
votes
0
answers
46
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 ...
1
vote
1
answer
668
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 ...
-2
votes
1
answer
179
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: ...
1
vote
0
answers
125
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 (...
1
vote
0
answers
189
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 ...
0
votes
1
answer
121
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 ...
-1
votes
2
answers
804
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 ...
0
votes
1
answer
42
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 ...
2
votes
1
answer
3k
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/...
0
votes
0
answers
1k
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 ...
1
vote
0
answers
1k
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 ...
0
votes
0
answers
211
views
IP forwarding with iptables
Im new with this scope. I need your help for this setup. I have 3 linux systems that may seems look like this.
System A System B System C
---------- ----> ------...
0
votes
0
answers
137
views
Linux router over VPN
I have a Linux (Ubuntu 18.04) device with 4 Ethernet ports and a LTE wwan card that I want to turn into a bridge and router. However, I don't want to enable NAT via the LTE connection, but route all ...
1
vote
0
answers
438
views
Ubuntu 16.04 server loses default route on restart
One of my Ubuntu servers always loses its default route when restarted. I have a second server which has an almost identical set up which works fine. I am not sure when the problem started but it ...
1
vote
1
answer
2k
views
Kubernetes: route outgoing UDP traffic through service
My question is about Kubernetes' internal traffic routing and probably about routing / NAT in general.
Goal:
I'm running a Wireguard service on Kubernetes and I'd like to route all outgoing traffic ...
1
vote
1
answer
8k
views
Dual Gateway Setup in Mikrotik
I'm new to Mikrotik environment, and I need some help for the following scenario:
I have an ADSL router (main internet connection) with IP range of 192.168.1.0/24, connected to Ethernet 1 of my ...
1
vote
0
answers
366
views
Linux IPv6 + Hurricane tunnel = no IPv6 traffic from gateway, internal network works fine
This is a head scratcher to me.
Set up: Linux (openSUSE 15.1, kernel 4.12.14) run as a gateway on my local network. I have an IPv6 tunnel with Hurricane Electric (HE) that has been working just fine. ...
0
votes
1
answer
2k
views
Can't get linux router/iptables masquerade working
Hope someone more clever than me could help because I am out of ideas...
We want to create (in openstack) a router that will...route (haha) trafic from one network to the other. Simple.
This is what I ...