Questions tagged [ip-routing]
272 questions
1
vote
0 answers
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
This is for catching all IP packets coming with…
![](../../users/profiles/448245.webp)
Kasper Nielsen
- 35
- 1
- 7
1
vote
0 answers
static IP handling
I have two IPs on one interface, when the packets are sent out it is always picking first IP but I want the packets to be sent out on second IP
I have two servers in HA (Active-standby) configurtion.
server 1 is assigned with in eth0 10.1.1.1 adn…
![](../../users/profiles/450617.webp)
Chathurva
- 11
- 1
1
vote
1 answer
3 Static IPs, 1 Modem, 1 Dual WAN TP-Link Router
Can I place a hub/non-L3 switch between my Router and Cable modem to utilize the other IPs? I'm interested in using one of the IPs for Direct Access.
Thanks
![](../../users/profiles/406847.webp)
Antwain L. Patrick
- 25
- 3
1
vote
1 answer
Don't get ICMP reply when ping from specific interface
I have a linux machine running under CentOS with 2 ISP. My rollover ISP channel script try to determine when we at secondary ISP channel is there a primary ISP channel get up and vice versa when need to change from primary to secondary. Normal…
user419775
1
vote
3 answers
Routing table with two same static IPs on the network
We need a way to insert a device between a target device and the network, ideally without needing to change any IP addresses.
Currently, the situation is (please excuse the ASCII art)
----------- -------------
| x.x.x.5 | ----- | x.x.x.10 …
![](../../users/profiles/1470.webp)
DougN
- 670
- 2
- 7
- 16
1
vote
1 answer
Kubernetes: Preserving source IP / Passing external IP as source
Sorry if the title, and tags, are a bit vague, I couldn't figure out the correct terms for it, yet. Please advise, and I will change it.
I'm implementing a STUN server, boxed in a Docker container, which is hosted on Google Container Engine's…
![](../../users/profiles/414224.webp)
Adam Law
- 121
- 4
1
vote
1 answer
How to create a protocol-based default route using iproute2
I'm trying to create two routes --
Send all packets with IP protocol version 100 to 1.1.1.1 (via device eth1)
Send all other IP packets to 2.2.2.2 (via device eth2)
Reviewing the man pages of ip-route and ip-rules, it seems like I should be able to…
![](../../users/profiles/10500.webp)
Runcible
- 2,955
- 3
- 22
- 15
1
vote
1 answer
How to make routing between bridges in linux?
i want to create bridge for my virtual machine. And i want to have access in internet from my virtual bridge.
What i did:
DEVICE=br1
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
I have bridge in my network (by…
![](../../users/profiles/396270.webp)
Valeriu
- 57
- 2
- 8
1
vote
1 answer
How can destination addresses 132.148.77.28 and 132.148.77.28/32 be use different network interfaces for routing?
The output of netstat -rn on my FreeBSD virtual machine shows that:
Internet:
Destination Gateway Flags Netif Expire
default 10.195.51.254 UGS vtnet0
10.195.48.0/22 link#1 U …
![](../../users/profiles/323847.webp)
papiro
- 159
- 8
1
vote
0 answers
Ubuntu Server 2 NICs use VPN on only one of them
I have a server with two NICs, both connected to the network:
eno1: flags=4163 mtu 1500
inet 10.0.1.2 netmask 255.255.255.0 broadcast 10.0.1.255
inet6 fe80::9618:82ff:fe37:9048 prefixlen 64 …
![](../../users/profiles/383396.webp)
Simon
- 11
- 1
1
vote
1 answer
How to use another IP-address for outgoing traffic?
Background
I run a server with two external IPv4 addresses. IP-address A (IP-A) and IP-address B (IP-B).
Goal
I would like to access IP-A over HTTPS port 443 and SSH port 22 only. IP-B shouldn't listen to any incoming traffic.
Then I'd like the…
![](../../users/profiles/293454.webp)
Bob Ortiz
- 442
- 4
- 21
1
vote
1 answer
Splitting a single fiber connection with multiple public IPs to two separate routers
We have a single WAN connection coming into our office and have 5 public IP addresses from our ISP. We have 2 separate entities underneath our main company and I want to be able to completely split them out into two separate physical…
![](../../users/profiles/351370.webp)
Kyle
- 11
- 2
1
vote
0 answers
Route traffic between OpenVPN networks
The goal is to have main OpenVPN server and multiple OpenVPN subnets that are reachable for main server clients. All subnets' servers are clients of the main server too.
Here are configs:
main server config
port 1194
proto udp
dev tun
ca…
![](../../users/profiles/340984.webp)
Anatoly Maltsev
- 11
- 2
1
vote
1 answer
problems when openvpn server is not the default gateway
I'm trying to set up an openvpn server on a raspberry pi to act as an endpoint for road worrier connections but the device is sitting on the network, not as the gateway of any of the machines on the network and I suspect this is the problem.
I've…
![](../../users/profiles/19393.webp)
Peter Nunn
- 432
- 1
- 10
- 24
1
vote
1 answer
Multiple public IPs routed via Cisco ASA to Proxmox VMs
I have a network with IP 199.221.2.136 (/29). I would like the Cisco ASA5505 [1] to work on .137 as router and use two public IPs (.138 and .139) on two VMs on a Proxmox server. Not sure how to route those public IPs to VMs via Cisco and…
![](../../users/profiles/300533.webp)
Piotr
- 11
- 3