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

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....
0
votes
0answers
14 views

Routing Network through OpenVPN: Network Lost [closed]

I am trying to route my traffic through OpenVPN server so that all traffic can go through the server and I access the internet through it. Here is my route table, looks like I lost my access to the ...
1
vote
1answer
22 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
69 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 ...
-2
votes
0answers
19 views

Setup static route ubuntu

I have a application which sends for example traffic to ip address 5.5.5.5. I want to setup my computer so it actually sends this traffic to 6.6.6.6 instead which is my server to act as a proxy. I am ...
0
votes
0answers
42 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
13 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
74 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
36 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
27 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
22 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
87 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
91 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
207 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 ...
0
votes
0answers
116 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
75 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
12 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
179 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
26 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
77 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
38 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
62 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
39 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
22 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
34 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
25 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
34 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
73 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
488 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
26 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
55 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
32 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
95 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....
0
votes
2answers
200 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
336 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
46 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
160 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
176 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
303 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
142 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
1k 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 ...
0
votes
0answers
2k views

how to add multiple default routes ubuntu 16.04 lts

I have the following commands and outputs Here are my current commands (this work fine on RHEL system but not on ubuntu) ip route add default via 10.1.1.1 dev eth0 tab 1 ip route add default via 10.1....
0
votes
1answer
274 views

Linux routes for point-to-point Ethernet network in presence of a default route

SOLUTION: There's a typo in the IP address on my laptop Ethernet interface (see the accepted answer). The following writeup is most probably proper setup. I'd like to communicate with Raspberry Pi (...
0
votes
0answers
56 views

how to route/nat outgoing traffic to another ip range

I have a Windows Server 2012 R2. On this runs an application that needs to connect to another network. This network is only accessible via IPs such as 14.x.x.x. However, the application does not have ...
-1
votes
1answer
1k views

No Internet access while connected with Cisco AnyConnect VPN client

I joined a Cisco IPSEC VPN (based on Group Authentication). I had to install the VPN using some tricks since is not working anymore on Windows 10. The problem is that once connected in VPN internet ...
1
vote
0answers
53 views

IP packets does not respect ip rule

I'm running Linux and have the following ip rules ip rule list 0: from all lookup local 150: from 217.31.55.96/28 lookup custom 32766: from all lookup main 32767: from all lookup default ...
0
votes
0answers
34 views

openvpn creates routes that make browsing the internet impossibble

When I connect to VPN network using command sudo openvpn my.ovpn browsing internet becomes impossible I've narrowed it down to incorrect routing table that openvpn makes. - But still it feels more ...
0
votes
2answers
4k views

Add IP Routes and Rules at Startup

I’m currently routing some marked packets via eth0. However, I have to apply the routing rules every time the system reboots. The two commands I always have to re enter are ip rule add fwmark 3 table ...