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 [route]

Command line tool for manipulating and listing the routing table.

0
votes
0answers
12 views

Preventing Windows Server 2012 from adding default route

I have a WSUS server on a machine with 4 NIC ports. I have added a permanent route which "most of the time" forces the WSUS to use the desired NIC to get updates from Microsoft. (route -p add 0.0.0.0 ...
0
votes
0answers
16 views

CENTOS 7 - Auto block IP with null routes

Whenever I notice overload on my media (videos) server, I check for ddos with this command from netstat: netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n It shows currently ...
2
votes
1answer
85 views

OpenVPN and routing/iptables

I want to setup an OpenVPN with route on my Xubuntu server (router/gateway/share/dhcp/dns/wifi/switch... all in one). WAN - enp4s0f1 - 77.xxx.xxx.xxx LAN - br0 - 10.0.1.1 VPN - tun0 - 10.0.2.1 I ...
0
votes
0answers
20 views

How to route differently, with default route in place?

I have a setup as below: PC A --> Microtik --> C3750 --> ISP router Both Microtik & C3750 is configured with 0.0.0.0 0.0.0.0 ISP IP static route. This means that traffic from PC A will go to ...
0
votes
0answers
33 views

How can I add (not replace!) a default route upon OpenVPN connection?

When I run sudo openvpn foo.conf I do not yet have a default gateway defined. Once the connection is established, I run sudo ip route add default via X.X.X.X, where X.X.X.X is the local IP of the ...
1
vote
0answers
35 views

Docker : Route trafic from openvpn server to openvpn client

Networking is still black magic for me and i'm trying to route the traffic from my openvpn server in docket to my openvpn client also in docker. I'm trying to achieve this : My computer --> VPN --> ...
-2
votes
1answer
41 views

Strange IP routing - ping not working [closed]

From my server I can't clone repos from bitbucket.org nor reaching bitbucket.org using ping. Everything worked up to now with the current configuration. Here is what I found out up to now: Trying ...
0
votes
1answer
46 views

VPN, ICS and routing

My setup looks like this: I have a Win10 PC that is connected to the internet and connected to a VPN. I share the VPN network interface via ICS to the second network card that connects to my router ...
0
votes
0answers
26 views

Openvpn client and server simultaneously - cannot ping server when starting openvpn client

I have an openvpn server and client at the same time. The server is configured properly, clients can connect to it without problems. I am trying to setup an openvpn client on the same machine. It ...
0
votes
0answers
14 views

There have the route in router, but I can not ping it

the network is 142.0.143.0/24, I can not from my Router to ping it. and I found there is a route of 142.0.0.0/20 which AS path is 1299 13576 I, I can not found the more detail network such as 142.0....
1
vote
1answer
40 views

netstat vs nmap to find IPs in a local network

I'm in a local network : IPv4 shared address space (100.x.x.x). Connected to a wifi hotspot. Ip ranges : 100.76.164.0/23 When I run : nmap 100.76.164.0/23 : It says all the hosts are down netstat -...
1
vote
0answers
71 views

ssh routing between multiple linux system containers transparently

I have system where I run multiple containers. Each container is a linux system with a specific purpose and every container has a ssh server enabled. I want to make an entity that manage new ssh ...
-1
votes
0answers
69 views

How to configure IPv6 subnet on CentOS 7

I have a VPS with 2 IPV6 addresses, 240e:200:xxx1:12::159 and 240e:200:xxx1:12::160,gw 240e:200:xxx1:12::1. Recently I asked for IPv6 support from the administrator, here is what I got respond 240e:...
1
vote
0answers
15 views

Is there an command for re-acquire Direct Protocol type routes?

How can I refresh the Direct protocol type Routes? I deleted one Direct Protocol type route from Quidway route-table. Is there an command for re-acquire Direct Protocol type routes? Destination/...
2
votes
1answer
99 views

Why Linux continues to use disconnected ethernet interfaces?

I have a Linux system with two ethernet interfaces, eth0 & eth1, which are used on the same subnet. At times, I see that even when one of the interfaces is disconnected (cable unplugged), Linux ...
0
votes
1answer
40 views

rhel7 default gateway in the route table

After restarting network/rebooting the server, the default gateway IP address is also getting added as a route Destination in RHEL7. How can I prevent this? We have not specified this setting and not ...
0
votes
1answer
49 views

Adding a persistant static route to a hardened embedded QNX Unix device

I'll start by saying forgive my ignorance if this is a simple task. I have enough knowledge of *nix to set it up and get around but this embedded version is a little different (missing 90%+ of ...
0
votes
1answer
46 views

Routing and OpenVPN not running on the default gateway

I'm having difficult time setting the correct iptable in order to route OpenVPN traffic to my internal OpenVPN client. My network is similar to this +-------------------------+ ...
0
votes
2answers
96 views

Machine connected to a vpn not reachable anymore from the outside

My raspberry is connected to my lan network 192.168.1.0/24 and it has a static ip. From the outside I can reach it by opening some ports on the ISP router. I have installed an openvpn client on it ...
2
votes
1answer
159 views

How to remove stale routes during Windows Cluster RESTART?

BACKGROUND I have a Windows Cluster (2016) with four nodes (3 NICs each). When I try to restart any of the cluster host server, the whole cluster going down and other nodes are randomly failing. ...
0
votes
1answer
568 views

Linux - how to set a default route with 0.0.0.0 as gateway

I have a problem where I need to manually set up a route on Ubuntu 18.04 during the init (ram) process. I cannot use any of the new networking tools, only Busybox is available. The routing table ...
1
vote
0answers
199 views

Route QEMU VM traffic through hosts VPN

tl;dr Host connects via VPN to the internet and a VM on this host doesn't go through this VPN (but it should). I think the network config isn't quite correct. The host The host (arch Linux) connects ...
0
votes
1answer
77 views

Get IPv6 route for VM

is there any option to get something like this for IPv6 (inet6 or -6): ip route get 8.8.8.8 Result: 8.8.8.8 via 94.**.***.1 dev ens3 src 94.**.**.112 uid 0 cache Where I can get the local IPv6 ...
0
votes
0answers
15 views

Routes: can ping through wlan0 but not eth0 (unless I disable wlan0)

This is a resin os (from resin.io) running on a beaglebone green. eth0: root@9d8b22c:/mnt/boot/system-connections# ifconfig eth0 eth0 Link encap:Ethernet HWaddr F0:45:DA:80:C8:E5 inet ...
0
votes
1answer
273 views

Kubernetes custom routes

I started OpenVPN on my k8s cluster and now clients can directly connect to the ClusterIP services but i need masquerade for it because pods (except OpenVPN pod) do not know route to clients. Is ...
1
vote
0answers
32 views

Use Tinc to route to a server

I have tinc up and running. What I want to achieve is in the picture: Network schema I want to be able to reach the server X behind Tinc B via Tinc A. I can ping the Tinc servers and even ping the ...
0
votes
2answers
94 views

Configure routing table to switch between two interfaces

I have a Raspberry Pi (OS: Raspbian, debian based), that is connected to a router via Ethernet and a GSM module via USB. I have a situation where I need to switch internet access between two ...
1
vote
0answers
47 views

Fixed route for a network interface with two IP aliases

On a Windows 2016 Server, I need to set a custom route, so that connections to a specific destination ip address always use a specific source ip. But while the route add command allows me to specify ...
0
votes
2answers
87 views

Use non default route as non privileged user

On Ubuntu 16.04, the default route for IPv4 is an interface other than eth0. If I try to curl -vvv --interface eth0 v4.ifconfig.co I get * SO_BINDTODEVICE eth0 failed with errno 1: Operation not ...
0
votes
1answer
42 views

windows 10 ip route not working for modem usb 3G

i have 2 interfaces: 1 .- Cable ethernet 2 .- USB modem 3G, The problem is i cannot work with both at same time, routing seems not to be working for me... I cannot nake this work: 0.0.0.0 ...
0
votes
0answers
23 views

Reroute IP packets based on PostgreSQL IP table

I apologise for the perhaps very open question, but are somewhat lost in best approach to a solution. I would like to be able to reroute (perhaps with DNAT IP:PORT) based on source IP. It would be ...
0
votes
0answers
54 views

Config ASA with SDWAN router behind broadband cable modem

Having problems getting an ASA 5508-X to route traffic to an SDWAN box. The WAN connection on the SDWAN box is part of a /29 public address block. But apparently it NATs to our internal private block. ...
1
vote
0answers
30 views

where do “prohibit” routes come from and how to remove them

I have an entry in my routing table on my Linux router that I didn't add: prohibit 2604:[redacted]:d772 from :: dev lo proto kernel src 2607:[redacted]::1 metric 4294967295 error -13 pref medium ...
-1
votes
1answer
36 views

what is the route table file

When I run the below command, where is it stored? Or it remains in the memory until a reboot? ip rule add from x.x.x.x table 1 I just wanted to use a custom name for IPV6 which would separate it ...
0
votes
2answers
85 views

IP route subnet via private IP

I've got 2 servers running Debian Linux: Server 01 with private IP 10.0.10.10 on eth0 Server 02 with private IP 10.10.10.10 on eth0, and also subnet 100.0.0.0/10 on tun-test From Server 01 I am able ...
1
vote
1answer
27 views

The command route the “Use” field is only zeroed, it does not count the route searches chosen

The route command output shows me the "Use" field but it always goes to zero, would not it be the route lookups because it does not count would it have something to activate so that it starts counting?...
0
votes
0answers
631 views

Configure OpenVPN client to have public IP

Good morning, I'm currently trying to bring a public IP address directly to a VPN client. I'm using OpenVPN. Firstly, I've made bridge br0 on the server's side and I've adjusted OpenVPN ...
1
vote
0answers
29 views

Why is the network not reachable while another IP is reachable within the same subnet on CentOS?

Why is the network not reachable while another IP is reachable within the same subnet ? Network Reachable [root@vcn03 ~]# ping -I eth0 -c 1 10.52.96.48 PING 10.52.96.48 (10.52.96.48) from 10.52.111....
0
votes
1answer
66 views

Some IP addresses are unreachable due to invalid route

I want to connect to remote machines. The problem is that I can connect to every machine except one. After some invertigation I found that problem is in route. Here is example: PS C:\Users\Alex> ...
1
vote
0answers
35 views

Configure two gateways on one LAN, use one normally. But fall back to the other when the first one fails. (Linux, Debian Jessie)

I'm trying to set up a LAN so that there is a main router that routes all outbound (0.0.0.0) traffic to the internet via a DSL link and also hands out IP addresses to clients on the network via DHCP. ...
0
votes
2answers
100 views

What is windows server equivalent for “ip route add X dev X”

I have two subnets in local network - I need access from one to second via local ports without using gateway. In linux I'm using this: ip route add 90.5.5.0/24 dev eth0 (server have IP e.g. 91.6.6....
1
vote
2answers
395 views

Route only packets from specific interface over VPN

So i have 3 interfaces on a host: Interface 1 is facing the external network interface 2 is the tun0 vpn interface interface 3 the local network interface My goal is to route all the traffic from ...
0
votes
0answers
13 views

KVM route between virtual machines [duplicate]

I have virtual machines with two nics. I'm trying to port forward traffic from 10.8.9.0 to 192.168.1.0. The topology is as follows: Internet ---VPN (10.8.9.0)---10.8.9.1(GW)-----HOST Host has 2 nic'...
0
votes
0answers
411 views

Pfsense access to IPSEC tunnels from OpenVPN

I have 4 Pfsense instances on different physical locations like 2 offices and 2 data centers connected via IPSEC tunnels between each other and all works well if I'm connected wired from any of these ...
0
votes
0answers
64 views

Centos 7 pptp(ppp0) on openvpn

Good morning I have a problem that does not solve to solve: I have a vps in which is installed openvpn server to which I am connected with my home pc and through which I browse (openvpn client). the ...
0
votes
1answer
168 views

Route Table in Ubuntu

I am new in network and I don't know how to config properly. I can ping to server ping -I 192.168.42.1 42.112.178.185 but I couldn't ping ping 42.112.178.185 42.112.178.185 is only allow accept ...
0
votes
0answers
204 views

Packets routed through wrong interface

This is a follow up on ip rule shouldn't beat ip route. I've configured everything as per my last question. But... Running: $ ip route get 10.10.10.10 from 10.0.0.13 iif test-interface 10.10.10....
1
vote
1answer
430 views

ip rule shouldn't beat ip route

I'm running CentOS and are using ip route and ip rule for routing. I've currently got an ip rule from 10.8.23.0/28 table 1234 and ip route default via 10.8.23.254 eth1 10.10.10.10 via 10.10.10.1 ...
1
vote
1answer
154 views

debian kvm server with iptables is dropping bridge packets

For the past month I cant solve this, I make different iptables rules, enabled and disabled modules on kernel but having the same results and even more packets have dropped by iptables. This make on ...
0
votes
0answers
2k views

OpenVPN push route is not working

I've got the following problem: I've got an OpenVPN server set up on an Ubuntu 16.04 server. The server has two interfaces, eth0 and eth1. eth0 is the connection to the internet and eth1 is the ...