Questions tagged [routing]

Use this tag when the topic is related to managing the paths that IP traffic will take. This includes subnets created by access points, and on the high end it could be multiple feeds coming through a Cisco unit.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Can't get outside gateway

My problem is a client computer can't get outside gateway when the client uses the vlan interface of gateway. IP addresses gives the router through dhcp (for vlan and non-vlan interfaces). Some output ...
0
votes
1answer
16 views

routing table incorrect after netplan static ip configuration

Here is my netplan configuration on ubuntu-server 20.04.2 (virtual machine) (virtual box). /etc/netplan/00-installer-config.yaml $ cat /etc/netplan/00-installer-config.yaml # This is the network ...
0
votes
0answers
17 views

How to route from an IP in specific range to another IP in different range?

I Need to Route from an IP for example 10.4.4.5 to another IP in Different Range 10.4.6.6. How can I do This in Ubuntu? Thanks
0
votes
0answers
20 views

Direct Routing for 2 OpenVPN Connections

I setup a Ubuntu VM with 2 OpenVPN tunnels up and running. What I want is a simple forwarding (complete traffic) coming from local LAN interface 1 (ens160 10.0.247.2/24) forwarded to VPN interface ...
0
votes
0answers
27 views

VDS provider blocking port that I need. How to forwarded over other VPS

I have an Ubuntu 20.04 LTS. I was surprised to get to know that the VDS provider blocking port that I must to have opened. There is no way for me to push them to open it. I have to organize that port ...
1
vote
0answers
16 views

routing between vmware nat and physical interface

I have my ubuntu box with ip is 192.168.0.31 and macbook laptop whose ip is 192.168.0.111 I installed vmware workstation on ubuntu which created additional virtual interfaces. All VMs in my vmware ...
0
votes
1answer
23 views

Can netplan bring down the routing for an interface entirely if another interface has a priority route-metric?

I figured certain quirks with networking in several libraries that I do not want to deal with fixing individually are gone if the interface that is not the priority route-metric is taken out of the ...
1
vote
1answer
93 views

Making Ubuntu 20.04 into a Router: something keeps adding default route for the lan interface

I have read a lot about NetPlan - it sounds awesome compared to the old interfaces file... But everything I've tried generates a default route to the lan interface - (which disables access to the ...
0
votes
0answers
18 views

Routing ubuntu server 20.10

I can't configure routing on my server because of: https://i.stack.imgur.com/Q64Gr.png Have you any idea?
0
votes
0answers
83 views

wg-quick adding incorrect default route

I am using wg-quick and systemctl to create a wireguard network interface on boot on ubuntu 20.04. The interface config looks like this: [Interface] Address = 192.168.36.1/24,fc00:9a8b:df81:37ad::0001/...
0
votes
0answers
8 views

Adding a 2nd NIC with 2 DFG, issues with post-up indentation

I couldn't find the expected below for issues with indentation. I'm using Ubuntu 18.04. Should the routes be in a different format that I've seen before? Issue shows the second line post-up being the ...
0
votes
1answer
358 views

Error: Netmask doesn't match route address

I am trying to add a new route in Ubuntu 16.04 by following command: sudo route add -net 192.168.245.2 netmask 255.255.255.0 gw 192.168.0.200 enp2s0 But getting this error: route: netmask doesn't ...
0
votes
0answers
52 views

Configure route metric of tunnel using Netplan

Under Ubuntu 20.04 LTS focal I previously configured a net64 tunnel to use the HE-IPv6 service. Below is my config: . ├── 50-cloud-init.yaml └── 51-he-ipv6.yaml # 50-cloud-init.yaml network: ...
1
vote
0answers
66 views

Can someone explain interactions between iptables, nftables and bpf?

I'm on Ubuntu 20.10 trying to do some routing config for my virtual network, and I'm confused about the interactions between the 3 main types of firewall technology used in modern Linux distros, ...
1
vote
1answer
155 views

How to route all traffic to a dynamically configured default gateway?

Some context: I'm trying to create a virtual private network on my laptop using VirtualBox. I want the virtual machines to be inside a private network, so a virtual machine can only be reached by ...
0
votes
0answers
61 views

How Can I Configure Keepalived to Not Change the Routed Ip?

I am using Keepalived for IP Failover of two IP addresses. Server 1 : 10.0.0.1 , Master Server 2 : 10.0.0.2 , Backup VirtualIp : 10.0.0.3 The virtual IP is set by me on Keepalived configuration file ...
2
votes
1answer
113 views

Ubuntu 16.04 issue connecting wired and wireless connections to the router

I am running Ubuntu 16.04. I have a pretty simple networking setup, a router with both wifi and wired connections. Separately I can connect to the router using either wifi or ethernet and both work ...
1
vote
0answers
29 views

Ubuntu Server reviving bad route at reboot

I recently moved an Ubuntu 18.04.5 server from one network (192.168.101.X) to a new network (192.168.1.X). The server (and all network devices) are addressed by DHCP, issued by an Edgerouter Lite. ...
0
votes
0answers
21 views

18.04LTS - Two NICs (NIC and Bond) same subnet, prioritize traffic on Bond #1

I have two NICs (one NIC and 1 Bond to be exact), but both are on 192.168.0.X subnet. I wanted to keep a secondary NIC on the same subnet in case my Bond goes down. Netplan, the NICs, and the Bond are ...
0
votes
0answers
38 views

Why NetworkManager WAN failover doesn't work with my case

I'm using NetworkManager check upstream connectivity every 62 seconds - min period is 60 seconds (infos : https://www.digi.com/resources/documentation/digidocs/90002285/reference/yocto/...
0
votes
0answers
466 views

IPSEC/IKEv2 StrongSwan applies only the first route from split-include, the rest is ignored

I have an IPSEC/IKEv2 VPN server (on a MikroTik router) and I'm trying to connect to it from my Ubuntu 20.04.1 LTS system. The server uses x509 certificates and private/public key pairs for ...
1
vote
1answer
761 views

ip_forward=1 in Ubuntu 20.04 after reboot fails

I have Ubuntu 20.04 configured as a router with nftables and frr (ospf configured) installed. I have configured two interfaces (ens33 and ens34) in different networks, forwarding is configured in /etc/...
0
votes
1answer
129 views

Default gateway route being automatically added to main table

I have 2 network interfaces connected to my machine. (Fwiw it's an aws instance with the primary (default) ENI and an additional, secondary ENI attached, each with a public and private IP address ...
0
votes
1answer
32 views

Is it possible to setup routes that the internet works only through VPN connection?

Is it possible to set up routes that the internet works only through VPN connection? If the vpn is disconnected then the internet shouldn't work. I found the solution here with the firewall, and it ...
0
votes
2answers
117 views

nameserver change breaks server

I am using Ubuntu 20.04.1 LTS. I have very limited knowledge on how to set the network configuration after the installation of the server. I run a small subnet with one static IP server on it next to ...
0
votes
1answer
42 views

What do these iptable rules mean?

These: sudo iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE sudo iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i wlan0 -o tun0 -j ...
0
votes
0answers
16 views

Routing through 3 subnets

I'm planning on setting up a remote backupserver and need to route my traffic through OpenVPN through three subnets. The setup will look as follows: OpenVPN Server (Debian) if01 - 192.168.2.31/24 (...
1
vote
1answer
78 views

TCP Forceful routing through designated ethernet interface does not work in ubuntu 18.04

I'd like to establish outgoing TCP path through any designated ethernet interface even if the designated ethernet interface is not configured as default gateway. My device has two Ethernet Interface (...
0
votes
0answers
199 views

What's the correct way to NAT on a Linux host using iptables?

The large Linuxbox I refer to in this question is running Kubuntu 20.10. I'm currently using PfSense with a OpenVPN connection to NordVPN. I have been on FTTP 300Mbps download for a while and this has ...
1
vote
1answer
108 views

Network routing and port forwarding problem

I have 2 networks (graph in link below) A: 10.0.0.0/24 B: 192.168.1.0/24 In network A, all devices are connected via a switch. Some devices provide certain services such as ssh or access to a database ...
0
votes
1answer
36 views

Static route from 192.168.98.192 to 192.168.72.201

I'm new to this so it might be an obvious question. I've given two servers on the same network, one with ip 192.168.72.201 and another one 192.168.98.192. They can't communicate with each other ...
0
votes
0answers
56 views

Why do I loose ping after adding static route

Since I live in one of the countries with most freedom ever been presented to citizens, I'm using a VPN all the time to connect to free world. Well, this way my connection gets slower but as I grow ...
0
votes
0answers
68 views

UDP port forwarding between two eth port

I have a network setup like in the picture: I need to create routing on the Ubuntu mini PC which can forward UDP messages of Controller PC to DUT and backwards.
0
votes
0answers
58 views

VPN connected but no traffic

I want to establish a VPN connection to my workplace in order to remote access my work PC. Connecting to the VPN worked well, but unfortunately the traffic does not go through the VPN connection. Here ...
0
votes
1answer
230 views

Dual NIC Configured as Router with NAT

I have a PC running Ubuntu 18.04 and am attempting to configure the two GbE interfaces as a gateway/router. I've referred to some related questions and attempted to follow guides such as this one: ...
0
votes
0answers
22 views

How to route PC traffic through nanopi which tunnels PC traffic via VPN connection?

I already configured and tested the VPN connection itself, which is working fine, but I am struggling on the networking path now. I would like that when u plug a device into the port it gets a ...
0
votes
0answers
141 views

OpenVPN - routing to access clients from home network

I'm in the middle of setting up my own OpenVPN server, and so far everything's working fine. Clients can connect, can reach the home network including address resolution, ... I am having problems ...
0
votes
0answers
16 views

Route connection via secondary server IP

I have a VPN server with several additional IPs. If i connect to any of the additional IPs, connection will be established but i am currently routing ip in iptables in the way that each connection ...
0
votes
1answer
42 views

Plugging in ethernet (internal network, no inet) cuts of Wifi inet [duplicate]

Im still pretty new to linux, but Ubuntu is my favorite. As the title says: Plugging in ethernet (internal network, no inet) cuts of Wifi inet. I am using AnyDesk to connect to a ubuntu 20 box. All ...
1
vote
0answers
110 views

netplan: ignore routes, keep gateway

I have a Ubuntu 20.04 server which has three network interfaces/connections: eth0 is configured via DHCP, should have the default route, everything fine so far. wg0 is a wireguard interface wich ...
0
votes
0answers
42 views

Iptables masqurading fails on outbound interface

I'm trying to set up an Ubuntu 18.04 box as a router behind my ISP router, with a local subnet behind the box. I have a home subnet provided through the ISP router with addresses in the 192.168.1.0/24 ...
0
votes
0answers
39 views

Using LAN VPN on Ubunu VM

I'm using Windows and create an Ubuntu VM in Virtualbox, some work in the VM require VPN and it use my VPN on Windows. The problem is that my colleagues using LAN ssh to my VM and do the work here, if ...
1
vote
0answers
32 views

Dual NIC silently rejecting all incoming traffic from one interface

In my server, I have two ethernet cards: enp0s17, local IP 192.168.0.7, router's public address x.x.x.x, netmask 255.255.255.255 enp0s18, local IP 172.16.0.7, router's public address y.y.y.y, netmask ...
0
votes
0answers
36 views

Use HDMI Audio device without enable interface in GPU

I have a Pioneer AV Receiver via HDMI connected to my GPU. When i enable the video output i can play sound (via "HDMI / Displayport 3" Audio device) over the speakers connected to the AV ...
0
votes
0answers
208 views

IP Route resets after restart

I have an IP Route that's been created by docker-compose, here is the relevant line from ip route show: 172.17.0.0/16 dev br-a5625859b0ca proto kernel scope link src 172.17.0.1 linkdown This clashes ...
0
votes
1answer
38 views

Connecting a remote client to an openVPN server running on Ubuntu

I am really stuck on this one - please help. I have an openVPN server running on Ubuntu 18.04. I have a Macbook running as a client. The Macbook connects to the VPN server without problems if it ...
1
vote
0answers
437 views

Trouble adding static routes in /etc/network/interfaces

I'm trying to add in static routes into /etc/networking/interfaces, but it's not working: I'm using the following commands per this article in order to connect with my Docker containers using ...
0
votes
0answers
2k views

Ubuntu Server 20.04 networking routing table is not working in VirtualBox

Ubuntu Server 20.04 networking configuration is not working properly in VirtualBox. I can't connect to the internet and the ssh connection is not working. Please see attached screenshots for each ...
0
votes
0answers
76 views

How do I implement React url routes so they don't redirect to 404 with nginx

I have a react app on a digitalocean droplet running Ubuntu 18.04.3 I have an nginx default file in etc/nginx/sites-enabled The file is like this: upstream my_upstream { server 127.0.0.1:...
0
votes
1answer
343 views

Error configuring static routing using cli

I'm trying to add a static route on my Ubuntu Desktop 16.04 machine with the cli, but with no success. I'm using the classic ip route command: ip route add x.x.x.0/24 via y.y.y.y dev eno1 (hid the ...

1
2 3 4 5
7