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
2 answers
405 views

What might cause my server to lose network routes?

I'm using a server running Ubuntu to monitor a number of servers in various network zones in my hosting environment. To allow this server to contact all the servers it monitors I manually added a ...
MorayM's user avatar
  • 103
0 votes
0 answers
27 views

Host can only ping another host if fhe former is pinged first

I have one Ubuntu 18.04 laptop and one Lubuntu 18.04 laptop. The Lubuntu laptop can't ping the Ubuntu laptop ("No route to host") until the Ubuntu laptop pings the Lubuntu laptop first (which works ...
Frank van Wensveen's user avatar
0 votes
1 answer
99 views

Need Help on Ubuntu Server 18.04.1 Static Routing

I am currently having a difficult time configuring a Static Route. I have an Asterisk Server Hosted on my Ubuntu Server Machine, It has 2 NICs eth0; IP Address: 172.16.1.99 GW: 172.16.1.1 eth1 IP ...
AYSMAN's user avatar
  • 3
4 votes
0 answers
7k views

Trying to route traffic through a tunnel server error: "Nexthop has invalid gateway"

Short version: we have servers in another data center and we have an openvpn tunnel between them. For the first time, I need to hang server on a different subnet from the tunnel server and I'm ...
Scott Ricketts's user avatar
1 vote
0 answers
62 views

What is defining the routing table?

Some script, somewhere, is defining the routing table for a Ubuntu 16.04 system and we can't figure out what. It isn't in /etc/udev/, /etc/network/, /etc/systemd/, /etc/init.d/ or any other likely ...
ebsf's user avatar
  • 499
0 votes
2 answers
479 views

Two default routes: ethernet + wifi -- error? consequence?

In my netplan config I have two interfaces: network: version: 2 renderer: networkd ethernets: ethusb1: dhcp4: yes dhcp6: yes wifis: wlp3s0: dhcp4: yes dhcp6: ...
Stephen Boston's user avatar
0 votes
1 answer
585 views

VPN configuration with same remote and local gatway IP address

I have an issue with VPN routing when the local default gateway is the same as that on the remote network. Here is the case config: VPN network: 192.168.100.0/24 Remote Services network (reached ...
Bate Vladi's user avatar
0 votes
0 answers
191 views

Udp Routing with 2 ports

I'm trying to pull udp stream to my ubuntu 14.04 and can't handle routing. I'm having 2 ports 1. is port with internet connection(local adress) 2. is port with udp multicast streams with dynamic ...
Skula Sadam's user avatar
0 votes
1 answer
4k views

OpenVPN tun0 routing on server

I have an OpenVPN tun0 10.8.0.0 255.255.255.0 There is an interface on the server eth1 for 192.168.0.0 255.255.255.0 I would like to route the OpenVPN connections to access the 192.168.0.0 network. ...
Tibby's user avatar
  • 103
4 votes
1 answer
21k views

ip route add -- Error: either "to" is duplicate, or "10.0.0.1" is a garbage

19.04 The system boots without a default route. Then when I try to add a default route, there is this error. The error occurs even when I completely clear the routing table. The ip address is ...
Stephen Boston's user avatar
1 vote
0 answers
406 views

Need to set default route to upstream DHCP interface on Ubuntu Server 18.04 LTS

I'm building an edge router using Ubuntu Server 18.04.03 LTS and need to configure the routing table to define the default route as being the upstream / WAN interface, which gets its IP address and (...
ebsf's user avatar
  • 499
6 votes
3 answers
18k views

How to use netplan to create two separate routing tables?

I have an Ubuntu 18.04 host with two network interfaces on two subnets. I would like to set up symmetric routing so that traffic received from one interface is sent symmetrically out that same ...
Stefan Lasiewski's user avatar
0 votes
1 answer
311 views

Ubuntu 18.04 with routing but need VM bridge

I have set up routing on my Ubuntu 18.04 desktop box. I have one dedicated ethernet port for my internal network that serves DHCP. I have my wireless NIC set up for internet access. Network works ...
noobuntu's user avatar
1 vote
0 answers
121 views

Ubuntu - Routing between different subnets

Topology I was looking at the other similar questions and could not find one that matches this one. I have an Ubuntu VM with 2 different subnets running on Hyper V. ETH0 - IP 10.10.1.2/24 - GW 10....
Robson Oliveira's user avatar
0 votes
1 answer
285 views

Convert ip route add to netplan state

I am confused a bit about the following command (we had it in ubuntu 14 /etc/network/interfaces file) up ip route add local fc00::x:x:x/126 dev bond0 What does 'local' means here, and how do i ...
nix-power's user avatar
  • 361
0 votes
1 answer
61 views

Ubuntu 'blocks' one site

So this is something strange.. As a test, I installed a webserver on my workstation (using easyengine). I installed 1 website on the webserver I removed the website again, and installed in on the ...
Warner's user avatar
  • 464
0 votes
0 answers
135 views

box pulls dhcp addr successfully, but cannot ping gateway or anything else on subnet

My wired ubuntu18.04 box pulls a dhcp address Ok, but cannot ping any machine on subnet. It can ping localhost|127.0.0.1|its own (dhcp) ip. # ping 10.0.0.1 From 10.0.0.195 icmp_seq=1 Destination ...
some bits flipped's user avatar
1 vote
1 answer
27k views

UFW rules with NAT/masquerading

I am trying to use Ubuntu as a router of a kind by limiting a computer on my private network to what it can connect to on the internet. The Ubuntu box has two NICs, one is internet facing (enp0s3), ...
aaa90210's user avatar
  • 211
0 votes
1 answer
454 views

how can I assign routing tables to interfaces which are configured via dhcp

My host has two interfaces with both are DHCP configured. I do need a default gateway for both interfaces and therefore routing tables with rules for each interface. So it would be good to get all ...
stackelk's user avatar
0 votes
1 answer
867 views

How to route traffic to an IP to use wlan0 instead of tun0 in OpenVPN?

I'm running OpenVPN on Ubuntu 19.04. I have a VPN connection (OpenVPN) I need to keep up all day. However, there's an IP I want to route outside of the VPN tunnel. This IP should connect to wlan0 as ...
Christian's user avatar
  • 1,729
4 votes
3 answers
14k views

IPv6 default route NOT being set netplan Ubuntu 18.04.2 LTS

Am unable to configure the default route using netplan on an Ubuntu 18.04.2 system. The route works when explicit ip -6 route add ... commands are issued. Privacy extensions have been disabled: /etc/...
Sachin Garg's user avatar
1 vote
0 answers
129 views

Ubuntu as router: Network Layer packets not reaching WAN

I've got most of it working, but can't quite close the loop. I'm running Ubuntu 18.04.2 on my Raspberry Pi 3. I'm trying to use it as a wireless access point, but not as a bridge. I followed this ...
Rhys Ferris's user avatar
1 vote
1 answer
1k views

L2TP VPN is Consuming Too Much of Remote Network's Upload Bandwidth

In Ubuntu 16.04, I used the following command so that Network Manager world provide L2TP as an option when adding a VPN connection: sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp; sudo apt ...
Lonnie Best's user avatar
  • 2,194
1 vote
0 answers
472 views

Networking question ip routing

Let me start by saying I am a complete novice with very little networking knowledge. I have set up a VPN via a guide and everything is working fine, however, I would like for the IP routing or ...
Alex's user avatar
  • 11
3 votes
1 answer
4k views

Routing Docker in ubuntu

In my routing table on Ubuntu 18.04 I have these entries: 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-9f3f970041e3 172.18.0.0 0.0.0.0 255.255.0.0 U ...
Guy's user avatar
  • 144
0 votes
1 answer
4k views

Ubuntu 18.04 - no DNS query

I'm running Ubuntu 18.04 on my laptop. I am trying to ping other computers on my local network using their hostname but it's not working. $ ping ubuntudesktop ping: ubuntudesktop: Name or service not ...
iamthebull's user avatar
4 votes
0 answers
852 views

Enable packet routing from network interface eth0 to bridge interface

I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1) There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there ...
王予智's user avatar
2 votes
1 answer
4k views

Docker behind VPN

When I start the company VPN om my Ubuntu 16.04 laptop, I get a bunch of static routes. Among these are 172.26.0.0/16 (I checked this in the kern.log, and it also shows up when i run route). This ...
Frank's user avatar
  • 189
1 vote
1 answer
530 views

Where are Apache logs when installed in a Snap?

ENVIRONMENT Completely fresh Ubuntu Server installation, and NextCloud installed via snap. PROBLEM Browser requests to public IP over WAN time out when routed to Nextcloud server. Meanwhile, browser ...
mOrloff's user avatar
  • 113
1 vote
1 answer
6k views

How to add routes

In windows I add to the routing table: route add 159.182.151.0 MASK 255.255.255.0 159.182.152.110 How to add similar to ubuntu ? thanks.
Omar  Barrera Valentin's user avatar
1 vote
0 answers
73 views

Port activity after applying iptables

I've applied a rule in the iptables (Ubuntu x64 18) sudo iptables -t nat -A OUTPUT -p tcp --dport 64080 -d 172.31.132.86 -j DNAT --to-destination 149.154.167.50:80 sudo iptables -t nat -v -L OUTPUT ...
IgorZ's user avatar
  • 171
2 votes
2 answers
1k views

Routing IP addresses in Ubuntu 18.04

I have been scratching my head about this all day. Basically, I have several servers on a private network, each with a private IPv6 address assigned and a public IPv4 and IPv6 assigned. I want the ...
matty0501's user avatar
0 votes
1 answer
2k views

Policy Routing with NetPlan on TUN interfaces

I am trying to set up an OpenVPN server on Ubuntu 18.04 in AWS in routed mode, using a tun interface (not tap). The server sits in a public subnet, with an attached ENI in a private subnet. All is ...
Taff's user avatar
  • 1
0 votes
1 answer
39 views

3 -> 1 routing issue

I've had this working before, but I can't get it right on a new machine. I have the following setup on a ubuntu install as a router. 192.168.2.0/24 p34p1 wifi1 -------------| 192.168.1.0/24 p33p1 ...
A.Adverse's user avatar
  • 195
1 vote
0 answers
520 views

LTSP fat clients not connecting to internet in proxy DHCP mode

My current setup is modem to router. Router(10.10.10.0/24) to virtual server via enp8s1. Virtual machine running pfsense as a DHCP server via enp3s0(a second nic in the server) a network 192.168.67.0/...
rvcabc's user avatar
  • 91
1 vote
1 answer
269 views

ip neigh display a mac address at a coffee store

I am working at a coffee store and tried command ip user@host:~$ ip neigh 192.168.1.1 dev wlp3s0 lladdr 5c:dd:70:96:80:52 REACHABLE I am aware that 192.168.1.1 is the router address, How about ...
Alice's user avatar
  • 1,700
0 votes
1 answer
456 views

Automatic route deleting in a specific network

I'm on Ubuntu 18.04 and I try to learn more on netplan. When I'm in school's network I need to access to the LAN but I don't want my internet traffic goes by their gateway. I can connect to network ...
Nonot's user avatar
  • 1
0 votes
1 answer
562 views

Correct /etc/networking/interfaces script for 4 ethernets with 1 bridge, two subnets and a wan interface

I can't seem to get the last NIC on my server working just right. I have an HP Proliant server with 4 NICs currently serving as my home router. Eth0 is my WAN interface, eth1 and eth2 are setup to ...
Sudo's user avatar
  • 11
1 vote
2 answers
1k views

Netplan on Ubuntu 18.10 (Cosmic Cuttlefish): DHCP4 + static routes

I'm using fresh Ubuntu Server 18.10 (Cosmic) installation with netplan. What I'm trying to achieve is to setup network interface via DHCP and add some static routes. With static IP settings things ...
felixd's user avatar
  • 81
1 vote
1 answer
183 views

Does Ubuntu 14.04 support advertisement of more specific routes?

I have an IPv6-only network where I am now trying to add a NAT64 gateway. The NAT64 is not on my default gateway because it's intended to use a different ISP than the default gateway. The default ...
kasperd's user avatar
  • 1,719
1 vote
1 answer
4k views

iptables setup for routing

I want to setup my ubuntu computer to route packets. Therefore I've read several tutorials which always had many rules to add to iptables. I finally found out, that the only rule needed (given that ...
Codey's user avatar
  • 113
7 votes
3 answers
50k views

How to change default interface for internet?

I have a PC with Ubuntu server 18.04 installed on it and I'm trying to use this PC as a server. There are 2 interfaces involved here: To provide Its internet, I am using an android smartphone that ...
ali's user avatar
  • 83
1 vote
0 answers
117 views

How can I improve this iptables

As a training, I'm trying to install a server with ESXi, On this ESXi, I have a first ubuntu 16.04 VM that will be the firewall between WAN and LAN. So the host machine IP is 192.168.1.25 and the ...
Grégory L's user avatar
2 votes
1 answer
112 views

What does "my.firewall" mean on linux routing table?

When I run the route command on shell, I get the following connections: root@ct1000-1332:/opt/storage/dlogger# route Kernel IP routing table Destination Gateway Genmask Flags ...
ageless-chevron7's user avatar
0 votes
1 answer
2k views

Network is unreachable

I have one server using 192.168.1.2/24 and the other server using 192.168.2.2/24. They are connected on my router with separate adapters. I tried ping test from my router, it worked. However, when ...
stakes's user avatar
  • 181
0 votes
1 answer
1k views

Ubuntu & Netplan - Example of blackhole or unreachable routes

I have not found examples of how to configure Netplan in Ubuntu Bionic 18.04 with global blackhole/unreachable routes. So I'll put it here in case someone else runs into the same problem, has an ...
ggrandes's user avatar
  • 163
0 votes
0 answers
146 views

domain name and subdomain pointing to default apache and webmin

I have recently setup Ubuntu Server 18.04 on an old but still decent laptop. Have installed apache2, php, mysql etc. and webmin. Have done the port forwarding in my router and when I access my ...
zew's user avatar
  • 1
1 vote
1 answer
5k views

Multiple network interfaces with netplan

So in short, I have 3 network interface on my Ubuntu Server 18.04 ens160 - LAN 192.168.1.50/24 set by dhcp ens192 - LAB 10.10.10.50/24 set by dhcp ens224 - SAN 10.10.15.50/24 static ip. They ...
Vedran 's user avatar
0 votes
0 answers
85 views

How to specify a static route among three interfaces

I have this setup: 10.5.128.150 Ubuntu Ubuntu eth2 <------> server (10.5.128.154) client eth1 <----> eth1 ...
firebush's user avatar
  • 101
2 votes
1 answer
417 views

ubuntu server not accepting connections from subnets

Yesterday I rebooted our kvm server (added more rams) and now it will not accept connections from our VPN subnet. The VPN is working just fine as we can connect to any other resource on the network ...
John Colombo's user avatar

1 2
3
4 5
8