As of May 31, 2023, we have updated our Code of Conduct.

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
0 answers
29 views

Should I use bridge or route with netplan?

I have an RTSP camera connected through ethernet to a computer. This computer is set up to allow connections over WiFi. What I want is to be able to reach the camera from a laptop that is connected ...
Dan-Erik Lindberg's user avatar
0 votes
0 answers
36 views

What would cause spontaneous default network changes and how to fix smb access?

I have an Ubuntu 20.04 LTS Desktop install with 4x physical network interfaces. One interface connects to a larger network with access to file shares etc and the others connect to smaller networks to ...
Geordie's user avatar
  • 191
0 votes
0 answers
70 views

Ubuntu 22 does not accept new routing table

I'm running Ubuntu 22.04 with Kernel 5.15.0 and I am unable to create a new routing table. Create a new, custom routing table: $ sudo cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 ...
sugusi's user avatar
  • 1
0 votes
0 answers
11 views

netplan equivalent of ip rule add oif eno5 lookup 5000

In a netplan yaml configuration file like this one: network: version: 2 renderer: networkd ethernets: eno5: dhcp4: false dhcp6: false link-local: [ ] addresses: ...
PouJa's user avatar
  • 71
0 votes
0 answers
15 views

Route all traffic (except port 3336 and a few more) from eth0 to specific ip

How can I route all incoming traffic from eth0 interface to ip 10.8.0.5 (VPN tunnel)? I need to forward incoming traffic except port 3666, to specific ip on ubuntu 22.04 machine. In future list of ...
Михаил Агафонов's user avatar
-2 votes
0 answers
134 views

Accessing a work website from Android 13 over L2TP using OrangePi as a middle man?

Android 13 no longer supports L2TP. I need to access my work website over L2TP. The only solution I could came up with so far is to use a single board computer as the middle man to handle L2TP traffic ...
Andrey's user avatar
  • 1
0 votes
1 answer
120 views

Why can't I access internet via vlan in private network?

As the title suggests, I'm having issues setting up the networking so that a server can access the internet. Bear with me while I lay out the infrastructure. All 3 servers are hosted by Hetzner. The ...
stewie's user avatar
  • 101
0 votes
0 answers
22 views

Ubuntu static routes location

I have Ubuntu 18.04 server wich can't boot because HDD problems and I didn't succeed to fix it. The HDD is readable and I can open it from Ubuntu usb drive for example. So, is it possible to find ...
Мирослав Сотиров's user avatar
0 votes
0 answers
75 views

How to add static routes using nmtui?

I am currently using Ubuntu 20.04 machine and having Network Manager as the service for managing network configuration. Is it possible to add temporary and permanent static routes using nmtui? If yes, ...
Alakananda S's user avatar
0 votes
1 answer
196 views

difference between nmcli connection reload and nmcli device reapply?

I am currently using Ubuntu 20.04 machine and having Network Manager as the service for managing network configuration. What is exactly the difference between the commands nmcli connection reload and ...
Alakananda S's user avatar
-1 votes
1 answer
51 views

VPN Connectivity and Routing Problem - Local Server to Internet via Cloud Hosted Server - wget/apt Oubound Connections

I have a network/connectivity/routing problem associated with achieving public internet connectivity through a VPN tunnel to a cloud connected server hosting a VPN server/gateway. The Local Server is ...
Martini's user avatar
1 vote
0 answers
129 views

Troubleshooting netplan routes on server 22.04.2

I’m looking for some guidance on the correct way to set up this network. I have an instance of ubuntu server 22.04.2 running on proxmox. Two interfaces are attached to the VM and vlan tagging is ...
The_Doug's user avatar
0 votes
0 answers
34 views

i want to use my computer as gateway, all traffic must use vpn

this is my configuration i got 2 computers with ubuntu 22 computer1 with internet and vpn: eth0 192.168.10.100 eth1 192.168.20.100 tun0 10.33.12.19 now computer2 must use internet by vpn of computer1:...
malf's user avatar
  • 1
0 votes
1 answer
26 views

Routing Table Modification on Ubuntu/Raspbian with VLAN Consideration

I had an issue with my Pi-Hole recently where after resolving I found my networks no longer had DNS resolution. After some troubleshooting I found the Unbound process (PI-Hole upstream) was sending ...
willdabeast's user avatar
0 votes
1 answer
485 views

ubuntu 22.04 routing using netplan

Hi I have a new ubuntu server with 2 interfaces and i wrote a netpaln config for it like this: network: version: 2 renderer: networkd ethernets: ens160: dhcp4: no addresses: - ...
pumper's user avatar
  • 3
0 votes
1 answer
226 views

How to set iproute2 routing table for 2 network interfaces on Ubuntu 22.04

I want to use 2 network interfaces (enp7s0 and enp8s0) simultaneously on Ubuntu 22.04. Both has its own separate internet connection. My default is enp8s0 which I plugged the LAN cable in first. I ...
God of Money's user avatar
0 votes
0 answers
70 views

Route traffic to L2TP connection

I have a pc with two network cards and one WiFi adapter and Ubuntu Server 22.04.01. I want it to work as a router. My ISP provides me with internet via an L2TP/IPSec tunnel. I was finally able to set ...
Cr1stal's user avatar
0 votes
0 answers
44 views

DNS and/or routing broken on one machine after subnet change in LAN

I reconfigured my home router to use 192.168.39.0 as the subnet. Previously it was 192.168.0.0 I have one Ubuntu 22.04 machine which now has broken DNS and/or routing. I have eliminated hardware ...
Tim Richardson's user avatar
0 votes
0 answers
128 views

Setting up a VPN client on Ubuntu Virtual Router

I am using Ubuntu Server 22.04 for the Virtual Router Operating System. It is a bare metal system with three ethernet interfaces. Connection to the three interfaces are listed below: External Network ...
user12140050's user avatar
0 votes
0 answers
44 views

What overrides IPV6ACCEPTRA/RouteMetric= defaults?

I run a fresh install of Ubuntu 22.04.1 Server to which I added: avahi-daemon docker-ce docker-ce-cli containerd.io docker-compose-plugin According to the documentation, the default RA metric is ...
Francois's user avatar
  • 101
0 votes
0 answers
50 views

How to set up internet connecitivty on a daisy chain network with one NAT interface on Virtual Box?

I am creating a daisy chain network, and I have three Ubuntu virtual machines on Virtual Box: one gateway, one router (through which all network traffic passes), and an end-node. Each VM has two ...
Stargazing's user avatar
1 vote
2 answers
192 views

How to configure netplan so enp9s0 goes to internet and enp5s0 goes to lan?

I must build a replacement server using Ubuntu 20.04.5 LTS, and I'm trying to migrate from NetworkManager to netplan. My new server can connect to the internet, but complains that it has no route to ...
Charlweed's user avatar
  • 129
0 votes
0 answers
190 views

Ubuntu 20.04 adding localhost routes with systemd-networkd

In order to support proxy-arp (sysctl net.ipv4.conf.all.proxy_arp = 1), I need to add host routes for specific IP addresses on my lan pointing to localhost. However, this capability doesn't seem to ...
Seth Robertson's user avatar
0 votes
0 answers
77 views

2 Interfaces with different metric, and1 single default gateway - loosing connection

I have a weird issue. I have two interfaces: One is my WiFi, The other is as 4G USB I am trying to setup the default GW through the 4G USB (which is NATed by the 4G provider, hence, I can't SSH ...
Joe's user avatar
  • 1
2 votes
3 answers
504 views

Route all traffic on port 443 (IPv4), to an external IP address on port 80 (IPv6)

I want to host a website from home using the Yggdrasil network. Yggdrasil gives me a static IPv6 address at home (even if behind a DNS). However "regular" users cannot be routed to that IP ...
Thomas Browne's user avatar
1 vote
0 answers
15 views

Routing application traffic through specific WIRELESS network interface

I've seen quite a few tutorials, more or less complete, about forcing an application to use a certain/specific network interface, however, all such tutorials deal with wired interfaces. The most ...
Aqualung's user avatar
  • 101
1 vote
2 answers
868 views

Route all traffic from one server to another

I have two servers. First one is from a local datacenter. OpenVPN is installed on Ubuntu 22.04. Clients connect to this server and get an IP from 10.8.0.0/8 pool. Clients are configured to redirect ...
Omid Shojaee's user avatar
1 vote
1 answer
1k views

netplan routing in ubuntu 22.04 gone bonkers

Sorry if this superlong, i have a remote PC running ubuntu 22.04 server that has two services on it, ssh and xrdp, i use it to connect to a remote office using checkpoint VPN, anyways, everything ...
arangaran's user avatar
0 votes
0 answers
112 views

UFW cant change default routed to allow

I have ufw running on ubuntu/raspberry and am trying to config it to work with wireguard, however i cannot change default to allow routed. I have tried both cli and the config file but status verbose ...
MarioMaster's user avatar
0 votes
1 answer
275 views

How can I set up my Ubuntu sever as ipv6 tunnel?

I have an Ubuntu server one bare metal that has both ipv6 and ipv4 dedicated, but my home ISP ONLY PROVIDES ME WITH ipv4, is there any sane way of setting up my dedicated server as an IPV6 tunnel ...
Max's user avatar
  • 332
0 votes
0 answers
34 views

How do I reach a self-hosted webpage in a DMZ from our main network?

I have a self-hosted web site on our dmz, at 10.0.0.63 over port 4000 I can ping the IP 10.0.0.63 from our main network 192.168.0.0/24 but I cannot access the web page using the http://10.0.0.63:4000 ...
Nick Green's user avatar
2 votes
1 answer
66 views

ubuntu 20.04 wrong ip in LAN

After updating Ubuntu 20.04 and installing wireguard I'm facing an issue. My machine wasn't reachable via ssh and pings anymore. ping 192.168.178.42 (the LAN ip of the ubuntu machine) outputs: $ ping ...
bj4rne's user avatar
  • 23
1 vote
0 answers
147 views

No ping between two 22.04 laptops but can ping both ways from 3rd (windows) device

I have a subnet 192.168.100.x where all IPs a served DHCP over WiFi. I have XPS laptop 192.168.100.121 (Ubuntu 22.04) Inspiron laptop 192.168.100.107 (Ubuntu 22.04) Windows laptop 192.168....
Shaped Sundew's user avatar
-1 votes
1 answer
78 views

How to read and alter packet info when forwarding

I have two laptops running ubuntu(both 20.04.4 LTS x86_64) and im trying to use one as a router(lets call them laptop1 and laptop2 and laptop2 is acting as a router). So far ive used the ip route ...
hirad davari's user avatar
1 vote
2 answers
3k views

openVPN client does not create routes - Ubuntu 22.04

I am struggling to get my openVPN 2.5.5 working on Ubuntu 22.04. Long story short : my server has been working for years (recently updated to Ubuntu 22.04) I have other clients connecting correctly (...
rc1317's user avatar
  • 21
0 votes
0 answers
202 views

ip route show missing routes

I have a bare metal node running ub18 kernel version 5.4 with ifplugd at version 0.28-19.2 I run the following command: ip route replace default metric 99 proto kernel nexthop via <DG1_IP> dev ...
Chen Shabi's user avatar
0 votes
0 answers
296 views

Two network cards. Configure one with DHCP (internet access), the other one with a static IP (connected to a single device)

Ubuntu 20.04.4 LTS My server has two separate network interfaces. One interface is connected to a switch that in turn is connected to a router. The other interface is connected to the network ...
MYZ's user avatar
  • 121
0 votes
0 answers
111 views

How do I get ssh to start working?

I turn an unused laptop into an Ubuntu server and everything was working great. I connected to it through ssh on my Windows 10 computer and was able to set up and access Nextcloud to upload all my ...
Price's user avatar
  • 1
0 votes
1 answer
297 views

set up 2 networks card with different gateways

I have a VMs Ubuntu server 20.04 with two network cards, I would like to set up a different vlan with different gateway in each one. I made my routing table in the file yaml but when I assign gateway ...
intheshadow's user avatar
0 votes
0 answers
144 views

How to configure route between tun0 to access local client network from the server?

I have the following structure. All machines are Linux based. Server ------------------------ eth0 WAN tun0 192.168.2.1 peer 192....
nowox's user avatar
  • 153
0 votes
0 answers
32 views

Single Server with 3 network subnets - how to setup routing tables

I have 4 servers, each having 8 NICs each. For each server, 2 NICS form bond0 (192.168.1.10; GW: 192.168.1.1), 2 NICS form bond1 (192.168.2.10; GW 192.168.2.1) and 4 NICS form bond2 (10.154.46.200; GW:...
Jeffrey's user avatar
0 votes
2 answers
852 views

Help with netplan and 2 LANs on Server v22.04

I'm running Ubuntu server v22.04 with 2 NICs - one facing the ISP and one facing the local LAN and is intended to be a media server for the local LAN and the interface between the LAN and WAN. The ...
TheKeeper's user avatar
0 votes
1 answer
4k views

Ubuntu 22.04 shared internet connection with multiple interfaces

I use Lubuntu 22.04 LTS with Cinnamon desktop to be precise. I have one network device with a single interface on my motherboard. enp5s0 is the one connected with my ISP-router, with fixed IP 192.168....
user avatar
0 votes
0 answers
326 views

Translating RedHat network settings to Netplan (Ubuntu 22.04)

Update: It seems it was an issue with the load balancer settings. It is now working with the configuration I show below. Question: I need to translate these instructions for RedHat into netplan ...
lepe's user avatar
  • 1,316
1 vote
1 answer
95 views

How to set up routing between two networks?

How to set up routing between two networks? Network #1 ip-10.10.10.1 mask-255.255.255.255 ip-10.10.10.2 mask-255.255.255.255 Network #2 ip-10.10.0.0 mask-255.255.255.0 gw-10.10.0.10 enter image ...
epx's user avatar
  • 31
0 votes
0 answers
639 views

Help with correct routing for Tailscale/Wireguard - really frustrated!

Running two VPS instances. One in Auckland, and an Oracle Cloud instance in Sydney. Auckland acts as a wireguard server - using PiVPN's build there, and I connect to the Sydney instance via the ...
Paul Barnett's user avatar
0 votes
1 answer
474 views

Routing to subnet of a shared internet connection

Greeting, I have a mobile wifi router (192.168.8.1) and an Ubuntu PC Wifi(dhcp). I have purchased a LAN/WIFI router for playing with IoT devices. I set Ubuntu to share the internet connection and have ...
RedDragon's user avatar
0 votes
0 answers
126 views

What is the equivalent in Ubuntu to changing the Windows IPv4 configuration?

The Windows IPv4 Ethernet settings (see image) have fewer options than Ubuntu wired settings and I am unsure what to change in order to mimic (if that is possible) the same change in Windows. In ...
NickDGreg's user avatar
  • 101
0 votes
0 answers
273 views

How to have a same static IP address in all the networks

Imagine, I have an application at office which is bound to use 10.x.x.x IP address once it is installed. The gateway of this address will be 10.x.x.1 and this IP is set as static. So, when I move the ...
Abhijith H R's user avatar
0 votes
1 answer
373 views

DHCP and Static IP on different subnet on one interface - Netplan - What are the limitations

Maybe I have some fundamental misunderstanding about subnets, but someone at my company is telling me what I want to achieve is not possible or at least not reliable. Currently, we have multiple ...
Christophe Foyer's user avatar

1
2 3 4 5
8