Questions tagged [ip-routing]

281 questions
0
votes
0 answers

Static route between 2 routers

Hello I have problem with static routing between 2 simple (Zyxel and TPLink) routers. vDSL Router 1 has 192.168.0.1/25 with enabled DHCP and Router 2 has 10.0.0.1/25 also with DHCP Router 1 and Router 2 are connected with cat5e. From ethernet port 3…
0
votes
1 answer

Routing in linux with two nics

I've been squeezing my mind with this problem since a couple of days, unfortunately I can 't find a way out. May be it's lack of theory or just a bad setup. I will appreciate a bit of help :-) schematic diagram I 'm having a problem to achieve this…
0
votes
1 answer

VM client doesn't route packages correctly anymore (to specific networks)

I have kind of a strange problem. After rebooting a server a few days ago, it doesn't route its packages correctly. It basically doesn't answer (pings for example) if these packages come from specific networks. It's a virtual machine (Qemu, KVM,…
FireLlama
  • 11
  • 2
0
votes
0 answers

Guide to exclude traffic on certain ports (22, 80) from being routed via OpenVPN (client) on Linux/Ubuntu 18.04?

I'm running a VPN client on Ubuntu, and I'm looking for guidance on how to exclude certain ports from being routed through the VPN client (OpenVPN). For example, how would one go about excluding ports 22 and 80 from being routed through the VPN? I'm…
Jean Monet
  • 121
  • 6
0
votes
2 answers

AWS EC2 public IP unreachable over IPSec VPN but private IP still reachable

We have a FortiGate (FortiOS 6.0) connected to a IPSec Site-to-Site VPN (Dynamic BGP) on AWS. When the VPN is up, we can only access EC2 using the private IP, public IP no longer works. Only the public IP in the VPC linked to the VPN are…
-1
votes
2 answers

CentOS7: Multiple Interfaces, default route

[First post here...] Hello everyone, I have a CentOS 7 box which is supposed to become a node of a ganeti-cluster. It has 4 interfaces: eno1, eno2 - on the mainboard ens23s0f0, ens23s0f1 - a dualport 10G Intel adapter I have renamed the 10G…
AndreasBrandt
  • 1
  • 1
  • 1
  • 3
-1
votes
1 answer

Automatically turn off VPN for select website/IP

Using a VPN for privacy and security on a Unix machine. There are a few sites that I can only access through my whitelisted IP for work. Is there a way to automatically turn off my VPN (or route traffic using my static IP) when accessing certain…
9ete
  • 119
  • 4
-1
votes
2 answers

Debian - Dual WAN - Static Route on a DHCP Interface

I've got two WAN interfaces coming into a Debian 8 VM. WAN 1 - All Internet and local traffic. (0.0.0.0/0) Has a a static IP, thus IP, netmask and gateway are fixed values. WAN 2 - Specific private subnet traffic only (10.100.0.0/16). IP obtained…
Indecided
  • 3
  • 2
-1
votes
1 answer

How to change loopback network mask or redirect subnet to another interface

I have the following problem. First of all. Here are my interfaces. # ip addr ip addr 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo …
e109848
  • 23
  • 1
  • 4
-1
votes
2 answers

How to null route a dns zone

I have a domain that was attacked and flooding the server apache system. The only way to detour the attack is to reroute the dns off the server. Is there a generic IP like "127.0.0.1" that I can use to send all traffic away from the server? I just…
-1
votes
1 answer

how to 2 ip virtual in public dan private with forward to different destination

Here my case, Server 1 public IP in 1 box (eth0) -> 203.x.x.55/28 and 57/28 gw 203.x.x.49 private IP (eth1) -> 10.10.8.1 Server 2 private IP in 1 box (eth0) -> 10.10.8.5/24 and 7/24 gw 10.10.8.1 Iptables -A PREROUTING -d 203.x.x.55 -i eth0 -p tcp…
Pathic
  • 121
  • 1
  • 5
-1
votes
1 answer

Can 2 IP's in the same network communicate with 2 different netmask

I need to expand a network really quick and don't have time or access to change the netmask of all devices. Can the following communicate? IP 1 - 192.168.10.10 mask 255.255.255.0 IP 2 - 192.168.10.15 mask 255.255.0.0 Our switches we don't have the…
nennis2k4
  • 19
  • 1
-1
votes
3 answers

want to Make software router having two nic cards using centos 6.4

I'm new on CentOS. I have a CentOS 6.4 system having 2 NIC cards. I want to setup a gateway so I can get internet from public ip over 1st nic card (eth1) and forward the network over 2nd nic card (eth2) so it can be accessible to my local network. I…
Rahul
  • 93
  • 1
  • 1
  • 7
-1
votes
2 answers

Webserver Multiple Gateways

I have Ubuntu Server 12.04 I have 3 gateways on my lan 10.0.0.1 10.0.0.2 10.0.0.3 Ubuntu has 3 NICs eth0 10.0.0.60 gw 10.0.0.1 eth1 10.0.0.61 gw 10.0.0.2 eth2 10.0.0.62 gw 10.0.0.3 If a request comes in from gw 10.0.0.1 it work fine. the other…
-1
votes
1 answer

how do i automatically add a new route to the routing table?

I'm looking at linking two networks with a long range Ethernet bridge. I know I can connect my two networks with a router, but my problem is how will my computers know where to send packets if I don't add the route manually? I COULD add them…
Robbie Mckennie
  • 1,123
  • 1
  • 8
  • 21
1 2 3
18
19