Questions tagged [static-routes]
Manually configured entries in the routing table.
179
questions
-1
votes
1
answer
759
views
How to NAT-route network to Tailscale?
EDIT: I already spent 3 days going through different possible ways of handling this and settled on iptables. This is like the biggest-kept secret to me. No matter how much I read, I feel like I'm ...
0
votes
0
answers
228
views
How to router from external IP to internal IP using opnsense
What rules do I need to create in OpnSense firewall to allow routing of packages from external interface to internal, without masquerade?
Let me explain: I have an gateway running OpnSens with a valid ...
0
votes
1
answer
360
views
Static route via nftables firewall
I have a gateway "X" with 2 NICs
enp0s3 (192.168.0.100) connected to 192.168.0.0/24 (let's assume this is a WAN network)
enp0s8 (172.16.0.1) connected to 172.16.0.0/24 (presumably a LAN ...
0
votes
0
answers
137
views
Windows Server 2016 unpredictable static routes
I am configuring routes on a Windows Server 2016 machine.
I've already set up a Lan to Lan VPN as follows on a DrayTek router:
Local network: 10.23.42.96/29
Remote networks: 10.41.73.0/24, 10.41.86....
0
votes
1
answer
172
views
Unable to reach different network using ubuntu server as a router in gns3
My network is shown in the picture, I am trying to ping from a windows vm to an ubuntu vm in a gns3 network. But I get: "Destination host unreachable".
Network: https://i.stack.imgur.com/...
0
votes
0
answers
714
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 ...
0
votes
1
answer
4k
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 ...
0
votes
1
answer
571
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 ...
1
vote
1
answer
408
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 ...
0
votes
1
answer
431
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 ...
0
votes
0
answers
54
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....
2
votes
0
answers
166
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:...
0
votes
1
answer
3k
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/...
0
votes
2
answers
867
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 ...
0
votes
2
answers
988
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 ...
0
votes
0
answers
21
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 ...
-2
votes
1
answer
432
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 ...
-1
votes
2
answers
167
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 ...
0
votes
1
answer
980
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 ...
0
votes
0
answers
89
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 ...
0
votes
1
answer
657
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,...
1
vote
2
answers
1k
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....
0
votes
1
answer
1k
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:...
1
vote
0
answers
559
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
====================...
0
votes
1
answer
181
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 ...
2
votes
2
answers
683
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
2k
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. ...
1
vote
1
answer
234
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/...
1
vote
0
answers
892
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://...
0
votes
1
answer
79
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 ...
0
votes
1
answer
155
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 ...
0
votes
0
answers
273
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 ...
0
votes
3
answers
9k
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....
0
votes
0
answers
693
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 ...
-1
votes
1
answer
136
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
115
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) ...
1
vote
2
answers
2k
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 ...
1
vote
2
answers
478
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 ...
-1
votes
1
answer
4k
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 "...
3
votes
2
answers
17k
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 ...
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.
...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
5k
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 ...
1
vote
2
answers
646
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 ...
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 ...
0
votes
0
answers
197
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 ...
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)-------------------...
2
votes
1
answer
1k
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 ...