Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [static-routes]

Manually configured entries in the routing table.

Filter by
Sorted by
Tagged with
0 votes
0 answers
175 views

Implementing rfc3442 (classless static route) in Freeradius DHCP server

I am trying to setup a Strongswan server that runs in split tunnel mode, which means I have to disable using the server as a default gateway on client side and also disable classfull routing in the ...
user avatar
0 votes
1 answer
246 views

Redirecting Netflix and Youtube traffic to another gateway by IP addresses on Mikrotik router

I help a friend in taking care of the network with few buildings with appartments for rent. During the holiday season all apartments are fully booked, and that means we have 40-60 guests. There are 18 ...
user avatar
  • 123
0 votes
1 answer
49 views

Windows 10 ignoring routing table

I have a Windows 10 PC that has 2 network interfaces. One of those interfaces goes into the main LAN where the fileserver, dns and the router for the internet are located. The second interface is a ...
user avatar
  • 101
1 vote
1 answer
54 views

2 Remote Sites, 2 Different Subnets, with interconnectivity. How to create a single subnet for servers at both locations?

Current Environment: We currently have 2 remote sites, both with their own LAN subnet and servers hosted at each site. Currently each site is using 1 subnet for the clients and servers. Both sites are ...
user avatar
  • 285
0 votes
1 answer
89 views

Windows static routing not working as expected

I have three routers: Router 1 has an external internet connection. It has LAN IP 192.168.0.1 and gives IP addresses in the 192.168.0.* subnet. Router 2 accesses the internet via Router 1. It has WAN ...
user avatar
  • 101
0 votes
0 answers
27 views

Red Hat 8 - Policy-based Routing

I have a issue with routing inside the RH8 server. So the concept is: 1x Red Hat server with 2 interfaces (different VLANs; 150 & 160) interfaces teamed like: IP 192.168.50.150 - interface: team0....
user avatar
0 votes
0 answers
204 views

Static route: RTNETLINK answers: File exists

I need to access from Server A (eth0) to Server Log (eth0) on port 5044 http://10.10.192.2:5044 Server LOG (eth1) can access to Server A (eth0) using dedicated interface with this static route: 10.10....
user avatar
2 votes
0 answers
80 views

Routes in route6-eth0 don't apply [closed]

I made a file /etc/sysconfig/network-scripts/route6-eth0 with the following contents: default dev eth0 src ****:****::**** metric 50 pref medium However, it doesn't show up when I execute ip -6 route:...
user avatar
  • 21
0 votes
1 answer
389 views

How to add route with "metric" in network-scripts with metric on Centos 7?

On centos 7 server, I'd like to set the follow routes 172.22.55.0/26 via 10.1.1.6 dev eno5.xxx metric 100 172.22.55.0/24 via 10.1.1.5 dev eno5.xxx metric 200 in the /etc/sysconfig/network-scripts/...
user avatar
  • 245
0 votes
2 answers
452 views

How to Set up Site-To-Site VPN using a VPN client as a gateway

I have a remote L2TP VPN which my synology diskstation connects to. I would like to use my synology diskstation then as a gateway to get to hosts on this VPN. The VPN assigns addresses in the 10.0.0.1 ...
user avatar
  • 143
0 votes
2 answers
253 views

Static ARP Entries aren't being added

So I'm trying to create a static ARP Entry with the ip and MAC Address of my router. I'm currently using admin command prompt and the command arp -s [ip] [mac address], but it isn't working. Every ...
user avatar
0 votes
0 answers
20 views

Static routes sync between windows servers

Is there a way to run a "ROUTE ADD -P........" on a single Windows 2012 and higher servers, in a domain environment and have that route populate or sync with another server or servers in the ...
user avatar
-2 votes
1 answer
175 views

Connect Router on Different Subnet [closed]

I see people genuinely helping out here but please stop with down-votes.I wouldn't have posted on server fault if this wasn't really a business problem.I am going to upgrade this network with a ...
user avatar
-1 votes
2 answers
78 views

3 router 2 networks want to see each other + share internet [closed]

I am trying to get my main network to see my homelab network (separate subnets) and both networks have access to the internet. I have tried several approaches and now have 4 routers in the ...
user avatar
0 votes
1 answer
440 views

nginx - can a hyphen in a prefix match confuse try_files?

context I am using nginx and a simple prefix match to serve a single page application. To match the business' style guidelines the url should be hyphenated (https://host.tld/my-app). I am using the ...
user avatar
  • 101
0 votes
0 answers
63 views

Is it possible to define "excludes" for check-static in uwsgi settings?

I have an application which I don't want to modify. It has multiple directories with static files which are defined as static via check-static directive in uwsgi's .ini-file. My problem is that each ...
user avatar
0 votes
1 answer
480 views

How can I create two different subnets for 2.4 and 5GHz WiFi, and maintain communication between them?

I have two routers that are interconnected via Cat5 cable: a TP-Link Archer C7 and an old Netgear V7610. I am trying to create two subnets on the same LAN, and maintain communication between all nodes,...
user avatar
  • 103
1 vote
2 answers
528 views

Static route - gateway not used

I'm trying to use gateway address 10.10.121.10 in order to forward TCP traffic via this machine. I would like to make that traffic from my machine is going over 10.10.121.10 and that machine 10.200.32....
user avatar
0 votes
1 answer
719 views

use dns instead of ip address windows static route add

I need to add some static route with this command on a Windows command prompt: ROUTE ADD -p IPADREESS GATEWAYIP But what I want is to use Dns instead of Ip address Is there a way ? How ? For example:...
user avatar
1 vote
0 answers
159 views

Manual route doesn't work in Windows 10

I'm struggling to make a static route working in Windows 10 and on a specific PC: it doesn't seem to do its job. Here's the route table before: C:\WINDOWS\system32>route print ====================...
user avatar
  • 111
0 votes
1 answer
73 views

Which Static Route to Add in Windows to access resources on VPN

I have a VPN Connection, Initially when i was connecting to VPN my internet connectivity was lost. Then i read about disabling the "use default gateway on remote network" check. When i unchecked that ...
user avatar
2 votes
2 answers
449 views

OpenVPN client lan to reach Server lan

I have OpenVPN Server running in VPC and client running in office network. Have following table on 10.24.11.37 # route -n Kernel IP routing table Destination Gateway Genmask ...
user avatar
  • 109
0 votes
1 answer
800 views

Ubiquiti EdgeRouter uses default route over static when responding to ICMP

I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my ...
user avatar
1 vote
0 answers
1k views

Static route not working in CentOS 7.6

UPDATE: There was nothing wrong with the OS. The gateway for the static routes had some double NAT rules which caused the traffic to be dropped. I have a simple network setup on a CentOS server. ...
user avatar
1 vote
1 answer
139 views

RHEL 7.4 adding permanent static route error

I need to add a static route to my system. I can do it with no problem at the command line with: ip route add 10.126.2.0/23 via 10.126.1.5 src 10.2.14.205 To make it permanent I created the /etc/...
user avatar
1 vote
0 answers
516 views

Squid: Setup reverse proxy based on url path

I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains. e.g. Given a webpage hosted at http://myinternalserver/mypage.html When I request https://...
user avatar
0 votes
1 answer
58 views

4 NICs, 2 gateways, only two interfaces see network

I have a centos7 os with 4 interfaces and 2 gateways, 2 network ranges. one interface has it's own gateway and works, no problem there. the other 3 interfaces should be using a single gateway, but ...
user avatar
  • 143
0 votes
1 answer
106 views

VPS - how to allow different vpn subnets to comunicate?

I have a VPS A (kvm with Ubuntu 18.04) with VPN server VPN server 10.50.0.0/24 All the vpn clients can ping each others And other VPS B (kvm with Ubuntu 18.04) with vpn server and vpn client from ...
user avatar
  • 11
0 votes
0 answers
187 views

Automatic re-adding default gateway for NIC in Windows 10

I have a problem with odd behaviour with gateway settings being auto-added. I have two integrated NICs on my windows 10 PC with same gateway IP address. One NIC is for ATM KVM (Intel VPRO), second ...
user avatar
  • 11
0 votes
3 answers
7k views

How do I make my default GW route permanently on Linux Ubuntu?

I have 2 EC2 instances that run Ubuntu (VM1: 172.0.1.11 and VM2: 172.2.1.12). I want to make a default Gateway to my Routers R1which its addresses are the following respectively 172.0.1.8and 172.2.1....
user avatar
  • 137
0 votes
0 answers
532 views

OpenVPN server unable to ping network behind client VPN, Clients can ping server network fine

My OpenVPN Network <-- See image of my network What i want to achieve is for the server to gain access to all clients including any client which is connected to the clients modem, and that all ...
user avatar
  • 1
-1 votes
1 answer
64 views

Static routing in Linux (as a router)

Currently I have a physical Linux machine (Centos7) with two physical interfaces. On the eth0 interface I have 3 virtual interfaces - eth0.66, eth0,67, eth0.99 (vlan interfaces). wlan0 is the internal ...
user avatar
0 votes
1 answer
998 views

How to multiple incoming from interface[s]

I have 3 interface(2 wan, 1 local) and enabled forward, but only one incoming interface(ppp0) can to local destination, the following is my iptable command: iptables -t nat -A PREROUTING -i ppp0 -p ...
user avatar
  • 1
0 votes
0 answers
85 views

How to add permanent route AFTER VPN up?

I have a server with a vpn (is vpn server also). For some reasons the vpn is disconnecting occasionally. I have a route that i add manually afte getting up as I need to see from the server (cloud) ...
user avatar
1 vote
2 answers
1k views

How can additional routes be added to anaconda kickstart?

I frequently build centos7 servers and have a few special networking requirements. For example, I may want to use nameservers or repositories in private ranges that can't be reached via my normal ...
user avatar
  • 131
1 vote
2 answers
468 views

VPN client unable to access LAN

I have a server on the office lan with a public ip running open vpn. External vpn clients can connect to the vpn via the public ip. But once connected they are unable to connect to other servers on ...
user avatar
-1 votes
1 answer
3k views

static routes and iptables

I have this situation: LAN1 (10.0.0.x) Subnet 255.255.255.0 Gateway 10.0.0.1 Gateway "WAN" 192.168.1.210 LAN2 (10.0.1.x) Subnet 255.255.255.0 Gateway 10.0.1.1 Gateway "WAN" 192.168.1.211 By "...
user avatar
3 votes
2 answers
15k views

Add static route (default gateway) on Ubuntu 16.04 server

I have set up Ubuntu 16.04 VM server, and I'm trying to change default GW on it. (all traffic should be redirected to another gw - because of whitelisting problems). Incoming traffic will come from ...
user avatar
1 vote
1 answer
5k views

RouterOS push static route for IPSec IKEv2 VPN

Can't find a solution how actually I can push a static routes to VPN clients, when they connect via VPN. Configuration from here RouterOS, IPSec, IKEv2. Clients mainly macOS users via standard soft. ...
user avatar
0 votes
0 answers
985 views

2 Offices, 2 Internet Connections, 1 leased line connecting the offices: How to route LAN traffic?

We have 2 offices, each with their own internet connection. We also have a leased line/LAN extension provided by the ISP at each location as well. The way this works is that the ISP provided us a ...
user avatar
  • 285
0 votes
1 answer
4k views

centos 7 persistent static route

I have a centos 7 server, with 4 interfaces. i am trying to give each of these interfaces a different ip, gateway and netmask. I want each interface to respond requests itself. so if a request has ...
user avatar
  • 143
1 vote
2 answers
397 views

Setting up classless static routes manually in GCE

In GCE, the DHCP server return the IP address with mask of 32 bits. Making the instance the only one in its subnet. It also return couple of static routes (RFC3442) that need to be configured. Example ...
user avatar
  • 111
5 votes
4 answers
3k views

Ubuntu full disc encryption on Hetzner Cloud adding add static route in initramfs

I try to setup Ubuntu with full disc encryption on top of Hetzner Cloud. I got everything to work except the network connection in initramfs. Thanks to the UI console its possible to unlock, but I ...
user avatar
0 votes
0 answers
144 views

ssh over static route times out

I have two networks and a static route between them. When I try to connect to a server (with ssh) from one of the networks to the other (the connections goes through the static route) the connection ...
user avatar
  • 111
0 votes
1 answer
1k views

Access server on secondary LAN-to-WAN subnet from the main subnet in a cascaded network

I want to access my server on a different subnet. Here is my network topology: Internet | | ADSL x.x.x.x (external) D-link DSL-2730E (Router1)-------------------...
user avatar
  • 11
2 votes
1 answer
797 views

is the use of link-local address mandatory for IPv6 static routing next hop?

The RFC for Neighbor Discovery (RFC4861), in section 8 states: "A router MUST be able to determine the link-local address for each of its neighboring routers in order to ensure that the target ...
user avatar
2 votes
2 answers
1k views

Static route in initramfs

My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the ...
user avatar
1 vote
0 answers
119 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....
user avatar
5 votes
1 answer
8k views

RedHat 7: SIOCDELRT: No such process

[user@telco-aa1]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default gateway 0.0.0.0 UG 100 0 0 ...
user avatar
0 votes
0 answers
59 views

Mystery persistent /8 on routing table

I have the below route listed, that is persistent over restarts. "route -n" 69.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 and "ip route" 69.0.0.0/8 dev eth0 proto ...
user avatar