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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [routing]

Questions about using a router/networking, e.g. port forwarding, VPNs

0
votes
0answers
9 views

How do I check what networks devices are being used to connect to a website?

The question is pretty straightforward.. So, when I connect to www.google.com for example, is there a command for me to identify the network devices between my computer and the website? If I use ...
0
votes
0answers
24 views

Why can't my machine access computers in another network, even though everything in that network can access my machine?

Apologies for the terrible title, it's the best I could do. This is my network: Modem is just a plain dumb wired ADSL modem Router 1 is a wireless router / access point (TP-Link WDR-4300 with latest ...
0
votes
1answer
27 views

netstat -r output, internet vs internet6, different gateway formats

What's the difference between internet and internet6 routes? I'm assuming internet6 stands for IPv6? netstat -r Internet: Destination Gateway Flags Refs Use Netif ...
0
votes
0answers
17 views

Open-vSwitch how to connect two vlans in netns?

I have created networks namespace(netns) using ovs switch(as per diagram). I can ping for same vlan tag i.e., I can ping between old-m and new1 as well as ping between old-r and new2. If I want to ...
1
vote
0answers
44 views

Connecting to two different networks at the same time is not working

I am trying (and failing) to setup the following networking situation: My PC (which runs Windows 10) is connected via Wi-Fi to a router. It gets all the network settings via DHCP and they look as ...
0
votes
0answers
23 views

Starting out with CISCO

I have decided to gain some further knowledge of routing, VPN, VLAN, etc. Am using GNS3 to simulate various situations. I have a connected set of LANs, the core is running OSPF and BGP. I have a ...
1
vote
0answers
14 views

How can I stop systemd from setting VirtualBox's host only network as the default route?

I set up a VirtualBox instance running ArchLinux with two network adapters. Adapter 1 is attached to a NAT (10.0.2.0/24) and Adapter 2 is on the host only network (192.168.56.0/24). I use udev rules ...
1
vote
0answers
16 views

Have I created my DMZ in OpenWRT correctly? Is there anything further I need to do?

I'm doing this all in Luci. Here is my /etc/config/network and my /etc/config/firewall is here, but these are just what are created by the Luci interface. I'm not sure if there are any other relevant ...
1
vote
0answers
22 views

Why the first hop of a route is not indicated despite being accessible?

Summary: I can ping the gateway but a traceroute via this gateway does not show it as the first hop, why? root@tor ~# traceroute 1.1.1.1 -nn traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte ...
0
votes
0answers
21 views

How to route traffic from one interface to second?

I Have virtual machine ( Ubuntu 18.04 ), which is connect to VPN network. This machine is set like a Bridge, so I actually have it in my local site too. Now the problem. Virtual machine have 2 ...
0
votes
2answers
26 views

OpenVPN ssh/ping client to client

I am wondering how I should do this. I can reach both clients (nielswork en nielsnet from the OpenVPN server (Ubuntu 18.04 LTS): nielsserver) but I would also like to reach nielsnet from nielswork and ...
0
votes
0answers
32 views

OpenVPN Linux does not up tun device [on hold]

OpenVPN opens tun device, but does not up this, therefore can't add the route afterwards. It works fine, if I up the device manually by ip link command. But then I need to add all routes by myself. ...
1
vote
0answers
20 views

Changing the TCP Destination address using WinDivert or PyDivert

I'm trying to "route" TCP traffic by using WinDivert to change the Destination Address (and port) of certain outbound traffic. I began with using PyDivert as I am a total and complete programming ...
0
votes
0answers
10 views

routing from container to a VM on a laptop

I have a docker daemon running on my laptop and have started a container. The IP of the container is 172.17.0.2/16. I also have a VM running and its IP is 172.20.8.102/16. I want to be able to ping ...
0
votes
1answer
80 views

How to route traffic from Subnet A to Subnet B using two routers

I need help on how to route traffic from Router A to Router B. Router A has a subnet for users on 10.10.32.0/24 that needs to send traffic to Router B which has a subnet of 10.20.64.0/22. Users ...
0
votes
0answers
13 views

Cannot reach server hosted on google cloud, but only from our local network

Recently, we started using an external server (hosted on google cloud) for git. After it worked initially for a few days, we could not connect to it from our local network. Not even a ping to the ...
0
votes
1answer
38 views

Windows route selection and “route print -6” vs “netsh interface ipv6 show route”

So I'm using Windows 10 and I need to redirect some IPv6 multicast traffic to a specific interface (a USB-Ethernet adapter to be more specific). By default all multicast traffic is going to my WiFi ...
0
votes
0answers
47 views

Adding persistent route through PowerShell not working for Windows 10 Pro VPN client

I'm setting up a new VPN server using L2TP and I'm hitting my last snag. I'm now able to connect to the L2TP VPN using the native Windows 10 Pro client. I do not want to use the remote gateway for ...
0
votes
0answers
29 views

Why is 127.0.0.0/24 sometimes routed to 0.0.0.0 and not 127.0.0.1 in routing tables?

After reading some Web pages about the loopback interface, I notice that sometimes, a routing table may contain this kind of entry for 127.0.0.0/24 (as mentionned here): Address Netmask ...
0
votes
0answers
40 views

Forward traffic from vpn clients of local server to connection with another vpn

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
24 views

How is the Metric value decided in WIndows [duplicate]

After reading this question, I was wondering how the operating system 'chooses' the Metric value for a route. I have 2 dynamically added routes for internet: 0.0.0.0 0.0.0.0 192....
0
votes
1answer
27 views

two machines direct link + connection through switch

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 with two network cards, 1 1Gbit, 1 10Gbit a windows machine windows 10 with two ...
0
votes
0answers
8 views

Routing some specific nets from OpenVPN to VirtualBox VM

I have a desktop Linux machine (fairly recent Debian9.3, if it matters) connected to the Internet via Wireless and having a working IPSec (vpnc) connection to my office. Host net parameters are (...
2
votes
2answers
75 views

dd-wrt on Linksys wrt1900acs v2 Not Giving access to Internet

ultimately I am looking to have my dd-wrt router provide vpn access (using StrongVPN) to all devices that connect to it. Others (not requiring VPN) will connect to my carrier-provided vdsl router/...
0
votes
1answer
60 views

vpn client can not connect to hosts over the vpn server

The goal is to provide connection from external notebook to the local hosts via Internet as they are in the same local network. All machines's OS = Windows 10 Hosts (static IP 192.168.137.X) are few ...
0
votes
0answers
31 views

Not able to route between bridges

i have a virtual machine with 2 network interfaces (eth0 and eth1). Each interfaces is connected to a different bridge so i can connect eth0 to another virtual machine and eth1 to my physical ethernet....
0
votes
1answer
29 views

Configuring routing with systemd-networkd and a non-network-address destination results in an error: Could not set route: Invalid argument

My machine was to act as the router for an IP address 10.0.0.66 inside a /29 subnet with gateway 10.0.0.65. It would thus be physically connected to the downstream machine 10.0.0.66 on one network ...
0
votes
1answer
43 views

Configuring routing with systemd-networkd via a gateway results in error: Could not set route: Network is unreachable

I run several LXC containers on my machine, some of which have their own IP address outside a network shared with the host. This IP address, as well as the corresponding network mask and gateway was ...
0
votes
1answer
66 views

Use tcpdump to find all packets in and out and the interface used for each

I would like to debug the routing behaviour on a Linux box working as a router. What I'm looking for is the equivalent to tcpdump which can show me all IP packets going in and out of my box along the ...
0
votes
1answer
60 views

How are route metric values calculated in Linux?

I was wondering how the metric of a route is calculated by Linux. For example, the host routing table in my Ubuntu 16.04 has two routes and each is assigned a metric of 100. Are there any dynamic ...
0
votes
0answers
27 views

Directly link two machines while both are connected to a switch

Let's say I have two machines, both with dual (10Gbit) nics. One is my unraid server that acts as a NAS, among other things, the second is my desktop. Both boxes are connected to a Gbit switch. I can ...
0
votes
0answers
49 views

Routing all my host machine's traffic through a VM router

I'd like to know if it's possible to direct all the traffic from my host machine (Win10) to a VM router which also runs a VPN. This is my setup: Host - Windows 10: [WinEthernet] Currently ...
0
votes
1answer
65 views

Can not trace the packets to a specific gateway ip

I try to make the OSX host-A to be a specific gateway for a Linux host-B. The default gateway entry of B has been deleted and add a specific gateway as below. Note: 98.136.144.138 is the ip address of ...
1
vote
1answer
28 views

The default gateway in routing table recovers after been deleted for a while

After I deleted the default gateway entry of routing table in my Ubuntu host, browser can not reach the ip address of Yahoo. And I run a script to keep printing the entries of routing table with loop. ...
0
votes
0answers
51 views

Separate network with second router behind openmesh/cloudtrax site?

My wife and I live on a "campus". They have a CloudTrax (openmesh if I'm not confused) network. I have been given authorized access to configuration settings. I have a wired connection from a lan ...
1
vote
1answer
158 views

Windows Server 2012 - two NICs, wrong one selected

I have a server with two NICs, as follows. One has IP address 192.168.0.47/24. This network has no router / gateway / etc. One has IP address 172.16.92.45, and is bridged to a tap adapter for ...
1
vote
1answer
47 views

The route of data transferred via SSH seems strange

What I noticed is that the packets transferred via SSH go to the router first and then the router transfers them to the destination host. But why? Why not just transfer data directly by the MAC ...
0
votes
0answers
35 views

dd-wrt not forwarding packets between vpn and wan

I hope I am missing something obvious, but I really need a second set of eyes. In summary, the problem is that I can see traffic entering my dd-wrt router from tun0, but the traffic is not exiting on ...
0
votes
0answers
30 views

routing only a subnet with SoftEther VPN and dnsmasq

I'm setting up a SoftEther VPN server in one of our AWS VPC's, and would like to create it in a way, that when someone connects to it, only traffic related to the VPC is flowing through the VPN server,...
1
vote
0answers
21 views

Dual homed server routing issue

Have a server running 2012 R2 with a 1Gb network connection and a 10Gb network connection, as well fiber channel connected to an LTO tape library. Our facility has our closed off Broadcast networks, ...
0
votes
0answers
22 views

Routing traffic to the Internet from on-premise via GCP

I created a tunnel VPN from on-premise to GCP with dynamic routing (BGP). I would like to route traffic from the on-premise network (10.29.0.0/24) to the internet via GCP. Network patch mean On-...
0
votes
0answers
36 views

Why “Find-NetRoute -RemoteIPAddress” is gettting the “wrong” route entry?

As you can see, it is getting the default route entry, when should be getting the route entry with prefix 10.10.12.0/24. Any idea why? Can I trust that route print show "the real" route table and its ...
0
votes
1answer
34 views

How does Inter VLAN routing block work?

I have VLAN10 for Admin and VLAN20 for Office on different subnet. Currently they are automatically routed by router. I want admin to be able to access office stuff but do not want office to be able ...
2
votes
0answers
99 views

OpenVPN connection not working with `pull-filter ignore “redirect-gateway”`

I'm trying to setup a OpenVPN connection so that by default no traffic is sent through the VPN server. Traffic is only send through the VPN server if the program explicitly uses that interface. If ...
0
votes
1answer
58 views

How do I pick which router should be my main router?

Right now our home network is using a FiOS-G1100 modem-router device and is acting also as a MoCA bridge for the set top boxes in our house. We just purchased three Velop nodes to set up as access ...
2
votes
0answers
42 views

Prohibit non-LAN traffic from VPN interface

We have a machine running an openVPN client for the sole purpose of being able to SSH to the client while it is connected to a remote network. The VPN is working mostly correctly, but it is routing ...
0
votes
0answers
20 views

How can I SSH targeting VPN tunnel

I'm trying to make an SSH connection to my VPN server. I'm connection the VPN with openConnect like this echo PASS | sudo openconnect --juniper https://example/ -u user --passwd-on-stdin This will ...
2
votes
0answers
101 views

How to route vpn traffic so it can only use ssh

I want to make an SSH connection e.g ssh pi@123.123.123.123 -p 22 SSH connection can only be made when connected to VPN tunnel. I can connect to VPN tunnel like this echo PASS | sudo openconnect --...
3
votes
1answer
68 views

Sys Routing Table Router: Destination IP, Gateway IP and Public IP are different, something unusual?

I am currently studying my home network router Sys Routing Table and attempting to resolve WHY my Public IP (assigned by my ISP), Gateway IP (WAN) and Destination Network (WAN) are all different. I ...
0
votes
1answer
32 views

Route/forward traffic between overlapping subnets Linux

I have configured a network with the following topology: Gateway (10.0.0.1) | tun0 | |-----------------------| 10.0.0.0/16 | | | tun0 ...