Stack Exchange Network

Stack Exchange network consists of 174 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]

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.

0
votes
0answers
11 views

OpenVPN server with two gateways

I have installed OpenVPN on my VPS, and I configured and it works fine. I created a client profile too on my server and enabled it (the profile does not pull gateway configuration). I want to make all ...
0
votes
2answers
86 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 ...
1
vote
0answers
35 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 ...
0
votes
0answers
36 views

Add routes on LXD interface up

I have an LXD's bridge interface lxdbr0 And I need to add routes when it brings up. The interface configured with lxc network create So how to make it work?
0
votes
0answers
24 views

vpn and internal network routing questions

Picture of network layout above. Am able to get internet access on all machines. VPN is working ok. My issue is, i would like to be able to get access back to "End Machine" from the Public IP ...
2
votes
1answer
40 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 ...
0
votes
1answer
167 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
225 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 ...
0
votes
0answers
27 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 ...
2
votes
1answer
40 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 ...
0
votes
1answer
42 views

IPv6 loopback route getting hit

Topology Trying to ping 2001:db8:cafe:2::1:171(Host3) from Host1 ping6 from Host1 to Host2 works ping6 from Host2 to Host3 works on Host1 I have a route to Host2 as follows: Destination -------------...
0
votes
0answers
57 views

Network manager no default route

This problem started about three weeks ago, apparently after an update. When I connect to a new wifi network, I reach local connectivity only; my laptop connects and receives an IP address ...
0
votes
0answers
6 views

Making my embedded device a router

I want to connect my camera through ethernet and route this data through wifi. Hence I want to open camera's webpage from (say) my mobile providing hotspot to my embedded device.
0
votes
0answers
285 views

Persistent static routing configuration on 18.04 Server (CloudInit)

What is the current best practice or de-facto standard to define custom routing for Ubuntu Server 18.04? Cloud-Init can only set to, via and metric parameters in the main routing table: https://...
1
vote
1answer
416 views

How to route all traffic through vpn adapter?

I'm using SoftEther, but that may be irrelevant. I have the following adapter: vpn_myadapter: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 [redacted] prefixlen 64 ...
0
votes
0answers
46 views

Cannot ssh/ping server but can ssh/ping other servers all on the same network

I have a situation where a computer (A) I can ping/ssh to other computers (B/ C) on the same subnet as a server (S) but cannot ping or ssh to S. Both B and C can both connect to s1 normally and ...
0
votes
1answer
28 views

Direct network traffic through one connection+proxy, except for a whitelist

How can I direct traffic to certain sites (https://drive.google.com, https://www.npmjs.com,…) through one network connection (“whitelist”), while all else through another? **Ugly extra:**The latter ...
1
vote
0answers
31 views

Forward traffic from vpn clients to another vpn server

I have one vpn server(server A). Server A is connected to another vpn server(server B). Server A has some clients. Is it possible to route only traffic from vpn clients of server A to the connection ...
0
votes
1answer
133 views

two machines direct link + connection through switch

This is crosspost from Super Users, since it might attract more people here. I have been trying for the last couple of days to get a setup like the one below working. I have a server Ubuntu 16.04 ...
0
votes
0answers
98 views

Ubuntu 18.04 server with 2 NICs

I am running a Ubuntu 18.04 server with 2 NICs both with static IPs as shown in the yaml below. NIC 1 (enp5so) is connected to a router on 192.168.46.1. Both NIC's are functioning fine with NIC 1 ...
0
votes
2answers
64 views

Ubuntu 14.04 4 nic networking

I have the following.. eth3 - default route, usb dongle to the internet. 192.168.8.0/24 eth2 - nic to wireless router for streaming webcam 192.168.3.0/24 eth1 - nic to wireless router for ...
1
vote
1answer
1k views

Networking problem on Ubuntu 18.04: no gateway

After a fresh installation of Ubuntu 18.04 LTS I have configured netplan to use a static IP address by following the instructions available online here: https://www.tecmint.com/ifconfig-vs-ip-command-...
0
votes
0answers
40 views

Routing LAN through proxy

I need help to route LAN address back to internal network via a Squid(Proxy) box. How can I forward this traffic through SQUID with 2 interface? I need this rule go from load balancer into eth0 and ...
1
vote
1answer
5k views

Ubuntu 18.04 as a router

Ubuntu 18.04. I have been given a requirement to use Ubuntu as a simple router. The Ubuntu box has 2 interfaces - ens33 DHCP, ens38 192.168.10.1/24. 33 is outside, 38 is inside for my purposes. ...
0
votes
0answers
66 views

2 Interfaces (1-rdp | 2-Browsing)

I created a virtual machine with Ubuntu 18.04 VM and installed XRDP. My Situation: Client (Windows) connect via rdp (xrdp) to Interface 1. The Client want to browse via the Second Interface (2). I ...
0
votes
0answers
46 views

How to Forward traffic to the virtual interface from eth0 in ipv6 network

I couldn't get ip address on my virtual interface. After network sniffing, I realized that interface has no router advertisement (RA) messages. On my machine, I have two interfaces eth0 and wpan0 (...
0
votes
0answers
42 views

Network device unable to communicate with dual port network interface card

I am trying to setup a pan and tilt unit (which is an IP device) and a camera (GigE vision) device on a ubuntu with an Intel Dual port NIC. The problem that I am having is that a device (camera or Pan ...
1
vote
0answers
19 views

OpenVPN eth0 rejects ping

I have installed OpenVPN server in one Ubuntu 16.04 machine. I need to connect from outside my home with OpenVPN clients Ping from server(192.168.2.50) using tun0 network works Client-1 ...
0
votes
0answers
39 views

Inter-vlan Routing

What are the steps, packages, protocols or things to consider in configuring an inter-vlan routing in Linux? Current Setup: UbuntuServer16LTS (DHCP & done with VLAN config) HP A5800(Core sw) ...
0
votes
1answer
1k views

Problem with Ubuntu 18 static routing

I'm migrating old ubuntu install to 18 version, but it seems to have some static routing issues when using different networks. First, I tried using NetPlan. I configured TWO NICS with different ...
1
vote
0answers
61 views

how to create multiple wan connection to single lan?

I am trying to have 2 connections simultaneously using DSL, my topolog is has given below: My LAN and WAN PCs are ubuntu 14.04 virtual machines running on 2 different Windows PCs. LAN-eth1(192....
1
vote
0answers
61 views

Routing or Resolv? issues with host network and guest ubuntu 16.04/18.04

To be honest I'm not really sure what to ask specificly. I'll just describe the problem I'm having and I need some help debugging it. We've been using Ubuntu 14.04 for an embedded development project ...
0
votes
0answers
33 views

Ubuntu no default route in routine table

i’ve been having trouble connecting to the internet on my Ubuntu machine for a fews days. I can ping local host or 127.0.0.1 just fine, but can’t access anything outside my local network (ping www....
6
votes
1answer
704 views

Reproducing a set of ip commands in netplan

I recently upgraded to ubuntu 18.04 from 16.04 and am trying to figure out how to get my ip route and ip rule commands that I used to put in /etc/network/interfaces working under netplan. These are ...
0
votes
0answers
51 views

Forward Incoming Traffic from Client on Host to Container

I use ubuntu 16.04 right now. I have an small office right now. In the past, the traffic like this: CLIENT --- SERVER --- ROUTER --- INTERNET I set up the network like this: I have an login page....
0
votes
1answer
128 views

Can not access a server through Shadowsocks proxy, installed on it.

I have a VPS, where, in docker containers, there are a Shadowsocks server on port 8350 and a web-server on default 443 port. I installed them with docker-compose. If I access web-server directly from ...
1
vote
1answer
6k views

multiple NICs under ubuntu 18.04

How to translate what we had to do to have 2 independent stream of traffic on 2 or more NIC interfaces with the new netplan.io + systemd-networkd? auto ens2 iface ens2 inet static address 192.168.5....
0
votes
1answer
2k views

How to create post-up and pre-down routes in interfaces file?

I recently installed a new VM using Ubuntu 16.04, but I am unable to copy the post-up and pre-down rules that I use in my 14.04 install. Can you please advise what to use? I've added a few notes to ...
1
vote
1answer
367 views

Server not found issue after attempting to install and then remove OpenVPN

I can't access internet on Ubuntu 16.04. It shows server not found on Firefox and I can't access anything to install using terminal. My internet connection was working good but I tried to install ...
1
vote
1answer
533 views

fwmark routing policy with netplan

I'm migrating a legacy Debian setup to a new Ubuntu setup. I have previously set, in /etc/network/interfaces: post-up /sbin/ip rule add fwmark 1 table table.tunnel pre-down /sbin/ip rule del fwmark 1 ...
0
votes
1answer
347 views

OpenVPN Is connected, but doesn't work

I have server running OpenVPN, I created a .ovpn file and used it to connect to server from my phone. OpenVPN says, that it's connection. Server also says, that it's client, BUT. In Russia it is some ...
2
votes
1answer
59 views

How to configure route so ping will go from one machine to another

My sincere apologies if I was wrong In that, I published the question but found nothing similar. I received an exercise in the course in VMware Workstation at I am doing where I was required to ...
1
vote
1answer
114 views

How to connect four computers together without using any external device?

I need to connect four computers serially. The topology is given below. c1<--->c2<--->c3<--->c4 I have multiple ethernet cards in c2 and c3 computers. I don't need ...
0
votes
0answers
55 views

Routing problem - Ubuntu 16.04 with two different networks

We have a Ubuntu virtual machine with 3 virtual NICs (for defining eth0, eth1 and eth2) added to it. Our DMZ has two networks. One is 10.8.225.0/24 and the other is 10.9.225.0/24. 10.8.225.0/24 is ...
0
votes
0answers
94 views

OpenVPN Steam Stream to Ubuntu client

I am attempting to use Steam's in-home streaming over OpenVPN. I have accomplished this on a Windows laptop, but am looking to switch to my Ubuntu box (17.10). So far I have a Bridge interface, with ...
0
votes
0answers
17 views

Which is higher located? Iptables or route

Just curious, what instance is done with the highest level? Routing or Iptables? And by that i wounder what checks first? Why I'm asking is that i run blocking for some IP addresses that keeps ...
-1
votes
1answer
255 views

How to route VLAN subnetworks to my DSL ppp0

I have a fiber optic connection through a Huawei ONT device. (I don't know the exact model) The device mode changed to "modem" by the ISP so i should connect through PPPoE. (I have username and ...
1
vote
0answers
38 views

Ubuntu 16.04. How to establish both internet and LAN connections at the same time

I have two network devices connected to my PC. 4G USB Stick(enx0c5b8f279a64) 192.168.8.1 Eth Adapter (enp0s10 192.168.50.20) is connected to a DIR-300 router(192.168.50.1). /etc/network/interfaces ...