Questions tagged [ip-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

Select next-hop based on source address

I'm trying to set up a Ubuntu-based gateway between clients and the core router, the ideal traffic flow should be: ClientGroup 1 (10.0.0.0/24) -> Ubuntu gateway (10.0.0.2) -> Core router (10.0.0.1) ->...
0
votes
0answers
19 views

Getting error while trying to connect to my openVPN server

Server.conf local 10.23.7.11 port 443 proto tcp dev tun0 ca keys/ca.crt cert keys/issued/vpn-server.crt key keys/private/vpn-server.key # This file should be kept secret dh keys/dh.pem ifconfig-pool-...
-2
votes
1answer
12 views

Virtual network interface in Windows

i am trying to setup a VPN server tunnel on my windows PC so that i can connect to it using remote client VPN hence routing traffic through that tunnel client = android
0
votes
1answer
15 views

VM client doesn't route packages correctly anymore (to specific networks)

I have kind of a strange problem. After rebooting a server a few days ago, it doesn't route its packages correctly. It basically doesn't answer (pings for example) if these packages come from specific ...
0
votes
0answers
84 views

Guide to exclude traffic on certain ports (22, 80) from being routed via OpenVPN (client) on Linux/Ubuntu 18.04?

I'm running a VPN client on Ubuntu, and I'm looking for guidance on how to exclude certain ports from being routed through the VPN client (OpenVPN). For example, how would one go about excluding ...
0
votes
0answers
37 views

IP masquerading - map incoming port on interface A to outbound port on interface B

(Edited to simplify the problem) I have a CentOS 8 machine with two interfaces. I would like to take incoming UDP/TCP connections on network interface A on a particular port and forward them to ...
4
votes
1answer
397 views

networkmanager-strongswan vpn - routing specific ip through VPN

I'm trying to setting a VPN on Linux Mint 19.2. I'm using the network-manager-strongswan so I added this file named VPN under /etc/NetworkManager/system-connections/ [connection] id=VPN uuid=...
1
vote
0answers
325 views

Cannot connect to Flask server via public IP, only private IP

I have a simple Flask server that echos requests it gets to the terminal. Requests I send it via the device's public IP address do not register. The flask server is started correctly on all ...
1
vote
1answer
41 views

Forcing route to interface, no matter what

I've got 2 interfaces on my server (eno1 & eno2). Whenever any process try to reach an IP (lets say 183.182.99.1), I want the traffic to use the eno2 link. Here is my current routing table: ...
0
votes
0answers
22 views

Multiple NAT GRE tunnel linux issue

I have a problem with my configuration of GRE Tunnels, it is very strange because the transfer of packets works without problems ICMP, TCP but when I try to send UDP the tunnel only works for an ...
0
votes
0answers
41 views

AWS EC2 public IP unreachable over IPSec VPN but private IP still reachable

We have a FortiGate (FortiOS 6.0) connected to a IPSec Site-to-Site VPN (Dynamic BGP) on AWS. When the VPN is up, we can only access EC2 using the private IP, public IP no longer works. Only the ...
0
votes
1answer
32 views

No uidrange rule with IProute2

When I run "ip rule help" there is no uidrange option in the selection sectors. I also get an error when I try to add a uidrange rule. Iproute2: 4.9.0-1 Command: sudo ip rule add uidrange $uid-$uid ...
0
votes
0answers
78 views

How to change Public Address of VPS with another IP Address

For a project, I need to make HTTP requests to an external service from a IP address geo-located on "NATION_2". Having an available VPS located in NATION_1, I proceeded to purchase a public IP ...
1
vote
2answers
200 views

linux - routing between bridge networks without overlay

Here's the scenario. There are two hosts in a subnet (both are virtualbox VMs) and both are on the same network 192.168.1.0. I've additionally created two bridge interfaces with separate network ...
0
votes
0answers
55 views

Unable to Route from VPN to Internet in Azure

Wireguard Server Ubuntu 18.04 Server (fully up to date as of 11/20/2019) WireGuard is installed and working (wg0/192.168.220.1/24) IP Forwarding is enabled on in the VM IP Address: 10.0.0.4 Azure ...
2
votes
2answers
218 views

OpenVPN client lan to reach Server lan

I have OpenVPN Server running in VPC and client running in office network. Have following table on 10.24.11.37 # route -n Kernel IP routing table Destination Gateway Genmask ...
2
votes
1answer
63 views

What is this routing concept called? Trouble learning more on LAN-to-WAN-to-LAN routing

On a simple network, my nginx logs will the gateway address (10.0.0.1) instead of the internal client address (10.0.0.19) when I'm using DNS (e.g. foo.com) to access a server inside the LAN. I'm ...
0
votes
1answer
52 views

Convert one interface to a tunneled interface

I have a server with 2 WAN interfaces, eth1 and eth2. Each one have one router connected which gives them these IPs: 192.168.3.101 and 192.168.1.101. The thing is that I want to completely avoid ...
0
votes
3answers
388 views

How Akamai CDN serves the content from closes edge server to user ?a

After going through some resources on google, got the idea how Akamai CDN edge servers works but got some questions about internals. Say I have got static content cached at Akamai CDN(XXX.XX.XXX.XXX ...
0
votes
1answer
58 views

Ubiquiti EdgeRouter uses default route over static when responding to ICMP

I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my ...
0
votes
0answers
40 views

How to handle VPNs and native IPv6

I've got native IPv6 via my ISP (they give me a /48). Using RAs (SLAAC), my router is advertising a particular /64 to machines in my network - in other words my network has full native IPv6. My ...
-1
votes
2answers
1k views

CentOS7: Multiple Interfaces, default route

[First post here...] Hello everyone, I have a CentOS 7 box which is supposed to become a node of a ganeti-cluster. It has 4 interfaces: eno1, eno2 - on the mainboard ens23s0f0, ens23s0f1 - a ...
0
votes
1answer
25 views

Iptables forward incoming traffic multiple ip

I have a server with 5 ipv4 95.x.y.1 95.x.y.2 95.x.y.3 95.x.y.4 95.x.y.5 and I need to forward only the incoming traffic from port 80 to port 8080 (and same ip) so 95.x.y.1:80 --> 95.x.y.1:8080 ...
-1
votes
1answer
152 views

Dante on multiple gateways in subnet

I have two gateways in my subnet. 192.168.1.2 - main 192.168.1.1 - secondary (yeah that's not a mistake) So I am using 192.168.1.2 everywhere as default route Is it possible to configure danted so ...
0
votes
2answers
1k views

Tyring to figure out ip-route

I've been playing with packet tracer and trying to fully grasp ip routing. So far I'm doing ok i think. Why am i able to ping r3 from pc1 (route working correctly as it should) vice-versa but cant ...
0
votes
1answer
39 views

map local address to external one?

Currently I have a network setup like this: Router (aka. OuterRouter) to connect to the Internet (localIP: 192.168.0.1/24, externalIP: <whatever, provided by ISP>) Router (aka. InnerRouter) ...
0
votes
0answers
18 views

Static Route between Cisco Router and Linux based instance

I'm running set of Cisco Routers on AWS. Segment Routing is running over these routers where the source node is R1 and destination is R3. I want to route the traffic to the Endpoint2 linux machine ...
0
votes
1answer
56 views

ip routing src rewrite

been fighting on this configuration for too long. Let say a public IP : 1xx.24.184.yy/32 Let say a private network : 10.184.yy.0/28 gw 10.184.yy.3 Now I would like my public IP routed ...
6
votes
1answer
989 views

ip rule and route doesn't get respected

I'm trying to route packets based on their source address, and have added the following: # ip rule add from 10.10.10.0/16 dev eth0 table foobar # ip route add default via 100.100.100.1 dev eth0 table ...
0
votes
1answer
36 views

Time Clock IPsec and Layer3 Routing

Thank you for your time, I incorrectly asked this in Network Engineering so I'm moving it here. I have a Remote Office and a Main Office linked via IPSec with the Main Office being 192.168.16.0/24 ...
0
votes
1answer
619 views

How to enable correct routing with a VPN interface?

I installed wireguard on a server in a LAN and have a problem with a single ping between two components. the topology is as follows: srv is a Linux machine (Ubuntu 18.04) which has one physical ...
1
vote
1answer
201 views

Windows Server 2016 Hyper-v host 3 websites in 3 VM with One Public IP

Installed is Windows Server 2016 DCE as host OS. I want to host three websites on three different guest VMs under this host. I got one public IP (5.189.175.xxx), which is assigned to the host. No ...
1
vote
1answer
312 views

Route internet traffic through one nic and local traffic through a second nic

I am trying to route traffic through a specific interface based on its destination. OS is CentOS 7. I am setting up a mini MPI farm where I have 2 slave workers and one master. The master and slaves ...
1
vote
0answers
44 views

Windows Server - Redirect Traffic To Another Subnet

on windows server 2012 I have 2 network cards, one of them connects directly to the router on static ip 192.168.1.11 and that second card I have a second ip set as 192.168.1.12. From the router I ...
0
votes
1answer
100 views

IP routing issues in Ubuntu

I have four servers: VPN Server (10.12.96.5/28)eth5 & 10.8.0.1(TUN0) Web Server 10.12.96.4/28 Proxy Server 10.8.0.4/24 PBX Server 10.12.96.3/28 PROXY-----VPN-----WEBSERVER VPN-----PBX The VPN ...
0
votes
1answer
166 views

DITG (ITGSend, ITGRecv) via two network interfaces of the same machine

I have a server on which a transmission benchmarks shall be performed. This server has 3 network interfaces (172.16.10.205 for SSH, 10.0.4.105 for sending, 10.0.8.105 for receiving) ...
0
votes
1answer
3k views

Ubuntu defaults to IPv6, should default to IPv4

Ubuntu 16.04.5 with kernel 4.4 used to work as intended: IPv4 is default. Since changing to kernel (hwe) 4.15, it uses IPv6 as default. It has IPv6 available via Tunnelbroker, broadcasted by the ...
1
vote
1answer
284 views

Forward traffic to remote external IP through a specific interface

Network Diagram I have 3 servers with two interfaces each, as shown in the diagram. The servers communicate with each other through the interface enp1 and to the world through the interface enp0. For ...
0
votes
0answers
366 views

Link VPS Dedicated IP / Port to Internal Tinc VPN IP Port

After a couple of days research I've completely rewritten my question to make it easier to answer, and hopefully clearer of what I'm looking for. I have an Ubuntu 18.04 VPS server with a dedicated ...
0
votes
1answer
217 views

Synology Route traffic to Docker

I have: +------+ +-------------+ | +NIC1 (192.168.1.100) <--> Router <--> (192.168.1.2) NIC1 + | | PC | ...
-1
votes
1answer
55 views

what is the route table file

When I run the below command, where is it stored? Or it remains in the memory until a reboot? ip rule add from x.x.x.x table 1 I just wanted to use a custom name for IPV6 which would separate it ...
2
votes
1answer
139 views

KVM guest can't connect to itself after DNAT

Network Description Virtual hosting environment (KVM): Guest: Ubuntu 14.04.5 LTS \n \l Linux ari 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i686 GNU/Linux Host:...
0
votes
0answers
633 views

Windows routing without gateway (but through interface). Is it possible?

I have a custom network setup. My servers have what I would call "main IP" with gateway for example: Main IP: 67.166.214.148 Netmask: 255.255.255.0 Gateway: 67.166.214.1 And then I have ...
0
votes
0answers
354 views

Forward Traffic between Namespaces

I have 3 interfaces: eth0 eth1 eth2: eth0 is directly connected to the Internet. eth1 and eth2 are connected to an external switch with no Internet connectivity. My goal was to connect eth1 and eth2 ...
2
votes
1answer
2k views

RedHat 7: SIOCDELRT: No such process

[user@telco-aa1]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default gateway 0.0.0.0 UG 100 0 0 ...
11
votes
5answers
3k views

How does an IP packet know which gateway to take?

Suppose two gateways exist on the same network. If I understand correctly, the IP routing table on sender's computer decides which packets get routed through which gateway. IP routing tables contain ...
5
votes
1answer
321 views

How long is an (accepted) ICMP redirect observed for, and how can I shorten that time?

If a Linux host receives and accepts an ICMP redirect (accept_redirects=1 on the interface in question), how long is this route being cached for and observed? Can I lower that time? I am asking ...
0
votes
1answer
174 views

IPv6 issues while assigning Ipv6 address to the interface

Whenever I am trying to assign a Ipv6 address to the interface I get the following error: If Don't use "via" option then it works fine. vk8-2-ext-rtr:~$ sudo ip -6 addr add 2002:2:1:1::/64 via fe80::...
0
votes
0answers
30 views

Routing table configuration double switchs

I have 3 switches (X, Y and Z) and each one has 2 interfaces. In the X switch I have my WAN connection (10.1.0.1), and I can connect to any host in the 10.2-4.0/29 networks and to the internet, but my ...
1
vote
0answers
72 views

IP packets does not respect ip rule

I'm running Linux and have the following ip rules ip rule list 0: from all lookup local 150: from 217.31.55.96/28 lookup custom 32766: from all lookup main 32767: from all lookup default ...

1
2 3 4 5