Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [routing]

the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.

0
votes
1answer
12 views

Domain configuration for load balancing

Im setting up load balancing for my website and came across thispost about stackoverflow's infrastructure https://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/ It ...
0
votes
0answers
9 views

Netplan routing failure on reboot

I've got the following netplan config in a Ubuntu server 18.04.1: $ cat /etc/netplan/01-netcfg.yaml network: ethernets: ens160: dhcp4: true ens192: addresses: - 192.168.10....
0
votes
1answer
55 views

ESXi 6.7 Connect two VM's on ESXi and connect them using router

I have an ESXi host installed on a VMware workstation. On the ESXi, I have two Ubuntu virtual machines and 1 freesco router. I want to connect both the Ubuntu virtual machines via the router. The ...
2
votes
2answers
39 views

Firewall configuration as code?

We are currently using a Sophos SG230 as Firewall / upstream router and configuration management is pure horror. Even manually backuping the configuration after every change will result in un-diffable ...
2
votes
1answer
56 views
+50

Subnet routing with pfSense

I have a public IP and and a public /29 subnet assigned to the same NIC in a server running ESXi. I have installed pfSense, as a virtual machine on this ESXi. I gave three virtual NICs to the pfSense:...
-2
votes
1answer
27 views

Ethernet cable only works A to B, not reversed. Why?

A custom ethernet cable with both connectors wired as T568B only works when connecting A to B, but not reversed, i.e. when switching ends and connecting B to A. A is a Mac, B is a 1Gb TP-Link ...
0
votes
0answers
18 views

Assign IPv6 subnet to interface - outgoing requests

I received a IPv6 subnet /64 from my provider (vultr). Many people are asking how to assign whole subnet to interface. As far as I understand, the easiest option is ip addr add 2001:4860:4860:abcd::/...
0
votes
0answers
9 views

Multihomed Ubuntu 14 using “internally optimized routing”

I have an Ubuntu 14 server which is multihomed with two identical 1Gb network cards. The physical subnet routing is handled by another department. As such, when I want to add a new machine (or NIC) ...
0
votes
1answer
142 views

Why “Nexthop has invalid gateway” when it seems to be defined?

I have my own wireless router to which a remote VPN client, 10.7.0.6, is connected. I want traffic from one of the wireless clients to go through it, but I'm getting "Nexthop has invalid gateway". (I'...
-2
votes
0answers
17 views

How to force traffic replies on different interface

We have computer A and B. A has nic1 and nic2, B has nic3 and nic4. Traffic initiated from A should leave at nic1 and enter at nic3. Reply traffic should go from nic4 to nic2. System is linux. The ...
0
votes
0answers
5 views

Windows 10 won't stop using remote gateway with VPN [migrated]

Hope this is a suitable place to ask. I have a VPN connection set up on my home Windows 10 PC which lets me join the network at my office. At some point I noticed my internet connection seemed very ...
0
votes
2answers
30 views

Routes or subdomains for multiple apps?

I have been looking online for some time but unable to find a definitive answer to this in terms of best practice and extracting the pro's and cons has been difficult. I have multiple apps / ...
0
votes
0answers
28 views

Communicating VM with a Router

I have a VM with 2 Virtual NIC, the first NIC has been assigned IP for communication in our ring network the second NIC has been assigned VLAN 809 and has IP: 172.32.17.10/16 . The server with this ...
-1
votes
1answer
58 views

Configure routing for multiple USB modems linux

i am trying to create a custom proxy server. I have a Rasp Pi box with 2 USB LTE modems and LAN cable connected to it. I am trying to get them working together with squid proxy so that i could send ...
0
votes
0answers
30 views

SSH cannot connect from the internet/no ping from router

I'm trying to open ssh of my server to the Internet so that I can do remote management, but it's not working. Drilling down the problem, I found out that I cannot also ping my server from the ...
1
vote
1answer
36 views

Can Google Cloud VPC route IPSec on-prem network to the Internet?

I have a IPSec tunnel from my on-prem network (10.3.0.0) to a Google VPC network, for example 10.254.0.0. It looks like this: [10.3.0.0/24] <-- IPSec (routers, gateways, etc.) --> [10.254.0.0/...
1
vote
0answers
15 views

Will anything break if routed prefix is configured as link prefix on host?

I have ordered a host with a major hosting provider and found IPv6 configured in a slightly unusual way. The provider have allocated the prefix 2001:db8:469e:1ea1::/64 to my host. On the provider ...
0
votes
0answers
17 views

traceroute fails on gateway

I have a what seems to be routing problem. root@vsrv-bicab-1u:/home/VPN# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.9.0.0 ...
2
votes
1answer
41 views

How to add new internet gateway to existing openvpn network?

I have been providing my friends with censor-free internet access through my server via a OpenVPN network. Now that I have more virtual servers at different locations, how can I add them to my network?...
1
vote
0answers
19 views

ipv6 route from one interface to another

I have a Linux virtual machine running in windows. The linux virtual machine has routing table Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If ...
0
votes
0answers
25 views

HAProxy: rewrite header keeping the original sub-domain, if available

I'm sort of new to ha-proxy and trying to rewrite the host_header, keeping the sub-domain intact and this is my first attempt to achieve that: http-request set-var(req.get_sub) req.hdr(host),lower,...
1
vote
0answers
36 views

Forwarding packets across network to OpenVPN server clients

I've been unable to resolve this myself and really need some help as my networking knowledge isn't the strongest. Setup: Flowchart of network I want to be able to connect to the 10.8.0.2 client that ...
1
vote
1answer
18 views

One Way Audio making “internal” SIP calls

I have just moved our phone system over to SIP using BT Voice Cloud and having a problem with one way audio when making "internal" calls. The original router (Vigor 2860n+) is the DHCP server, DNS ...
-1
votes
0answers
28 views

Can I disable NAT and still have firewalling

I have the following network setup: home edge router (LAN: 192.168.178.0/24): | |------ home lab router [dd-wrt] (LAN: 192.168.1.0/24) | |------ home office router [open-wrt] (LAN: 192....
1
vote
1answer
59 views

Adding a second network interface on Amazon EC2

I'm trying to add a second network interface to Ubuntu 18.04 instance on Amazon EC2. I followed this guide from Amazon on how to do it, and added a /etc/netplan/51-eth1.yaml file with the following ...
0
votes
0answers
33 views

How do I forward nginx requests to a specific upstream/backend based on request body?

I have a few upstreams and am interested in determining which to proxy_pass a request to based on a combination of query params and a field in the body JSON. My question is essentially: server { ...
2
votes
1answer
267 views

OpenVPN Full Routing Client Issue

I create a server on AWS with OpenVPN. Set it up, through the Admin page, I choose fully routing option and download the .ovpn I add three extra lines to client .ovpn; (I have to use it because ssh ...
0
votes
1answer
51 views

iptables not filtering traffic from my cloud based camera

I have a camera that I can access from the manufacturer's cloud platform through a phone app. At the same time, I possess a router running Linux which I want to program to block the camera's access to ...
1
vote
0answers
26 views

VPN connection to server with public IP that is part of remote subnet

I need to setup a connection between an Ubuntu Server 16.04 LTS running an OpenVPN daemon and multiple new Windows clients (Windows 10 Pro & 8.1 Pro). On the server there is a bridge between the ...
3
votes
2answers
93 views

Route Docker container traffic through another container

I'm trying to route tcp traffic of container B (10.10.1.2, custom binary using mysql and running on port 4242) through container A (10.10.1.3, haproxy, setup in transparent proxy mode) to the outside ...
0
votes
0answers
15 views

Communication is not happening after configured multiple VLAN's on a trunk port of raspberry pi device

I have configured multiple vlan's on a trunk port of Raspberry pi device. but whenever i try to connect these vlan's from the MHN server then i am not able to connect. I can able to ping all VLAN's ...
0
votes
0answers
13 views

When would a traceroute reach the target, then hop once more and return !H?

Consider the following traceroute (there are several possible X hosts): traceroute to X (90.91.252.X), 30 hops max, 60 byte packets 1 ec2-79-125-0-254.eu-west-1.compute.amazonaws.com (79.125.0.254) ...
1
vote
2answers
25 views

Access another network through a computer that is connected to two networks

I have a 3 windows 7 machines that each have more than one Ethernet port. One of them is one Network A and Network B and the other 2 are only on Network B. Diagram: Network A ...
1
vote
1answer
44 views

Routing an existing path to another pod with nginx in Kubernetes

I have an application (demoapp) in GKE which is exposed to internet with a GCE ingress like this: - host: demoapp.com ...
2
votes
1answer
33 views

IPv6 routing with duplicated route entries

In my Linux system, it has three interfaces each of which got assigned an ipv6 address. The route table is: fe80::/64 dev enx000ec6ac911b proto kernel metric 256 pref medium fe80::/64 dev ...
0
votes
0answers
17 views

Correct regex expression for the location block inorder to capture CSS and JS when the request URL changes

I have developed nginx config file order to cater some custom error pages. I have created two location blocks to capture the main index.html file and other location to capture the css/js and the ...
0
votes
0answers
42 views

Strange network behaviour

I have following problem: In my company we have for our department a own subnet which is build as folloing: Company router --- ipfire --- [NAS (which handels DHCP), Storage Server, ...] The ...
0
votes
0answers
60 views

debian 9.5 strongswan IPSEC Routing

I'm a Linux-Noob but i'm trying to Setup a VPN-Connection between a Linux-machine and a Zyxel USG 210. The VPN-Connection Comes up (happy) but the traffic seems not to be routet correctly. the Linux-...
0
votes
2answers
57 views

IP forwarding - Destination unreachable

So, I have the following simple network setup: Let A be the main router at 192.168.0.1 on a 24 prefix network. Let B be a linux device connected to the network at 192.168.0.185. Let C be a second ...
0
votes
0answers
13 views

Implementing a scenario in AWS that involves CSR 1000v and network functions

I have the following scenario, which I would like to have it in AWS. The model contains three layers, each layer has its nodes and connections as basic network elements. In the functional layer ...
0
votes
0answers
37 views

VPN routing issues

I need to set-up VPN in business network but I'm facing some issues. I have 2 main devices - 1 modem/router (ASUS) which is directly connected via VDSL to internet (with public IP address) and it's ...
2
votes
2answers
20 views

Aws routing table - Static routing

Amidst configuration of AWS routing table, AWS console allow static routing only. As mentioned here, every VPC has an implicit router. Assuming there is a public and private subnet configured ...
0
votes
1answer
19 views

linux route nic2 connections to nic1

I have in linux envrioment: 1) firewall (192.168.1.1) 2) server1 (192.168.1.2) 3) server2 ubuntu (NIC1 - 192.168.1.3 - NIC2 - 192.168.2.1 - can customize) 4) device1 - 192.168....
1
vote
0answers
73 views

Is it possible for OpenVPN Client to change IP address of “tun” device ignoring “ifconfig-push”?

I have set up static IP configuration for clients connecting to OpenVPN server running on AWS EC2 (CentOS) instance. Purpose of assigning static IP is to allot QUOTA using iptables to every client so ...
0
votes
2answers
41 views

HAProxy source IP using wrong interface/IP

I have a small Haproxy server set up with 2 NICs. The OS is CentOS7 and I have configured both NICs on the same subnet per CentOS documentation. — 192.168.0.1, 192.168.0.2 ---- both on 192.168.0.0/24 ...
0
votes
1answer
33 views

How to redirect traffic sent to tap to a specific ip addr

I created a tap device using the following commands: sudo ip tuntap add mode tap tap7 sudo ip link set tap7 up sudo ip addr add 77.0.0.1/24 dev tap7 Now, I am using c++ sockets programming to write ...
0
votes
0answers
55 views

VLAN and Inter-Vlan Routing in TPLINK T2600G-52TS

I have a TPLINK Switch model T2600G-52TS, I made 3 VLANs; VLAN 1 (port 1 to 2), VLAN 10 (port 3 to 12) and VLAN 20 (port 13 to 48), I have assigned PVID for each port to desired VLAN, VLAN 1 is for ...
0
votes
0answers
37 views

How to remedy TLS handshake issue while forwarding packets between two NATs?

There is a local network with Wifi router working as NAT server, which is connected to an ISP. It's needed to place a firewall between the router and ISP which filters incoming and outcoming traffic, ...
0
votes
1answer
129 views

An interface receives packet with wrong local destination

I think my question is very simple. Assume that I have a router or a computer with turned on routing. The device has 2 interfaces and see two networks. For example, 192.168.0.2 eth0 and 10.0.0.2 eth1. ...
0
votes
0answers
36 views

Configure networking to select best route for VPN hosts

I have an OpenVPN server and some clients that connect to it, for example: host1 (at location1) host2 (at location2) laptop (my travel machine) Is it possible to configure routing in such a way that ...