All Questions
Tagged with ip-routing linux
34
questions
0
votes
1
answer
4k
views
Connect to a postgres running internally within a cluster through a kubernetes pod
I've got a kubernetes pod myapp-2390458f-kfjgd I can get access to with kubectl and an instance of a PostgreSQL that can be accessed from within the kubernetes cluster by the name mypos.tgres.com, but ...
0
votes
1
answer
204
views
Injected packets using libPCAP library is not seen from python socket sniffer and netcat
I am using libpcap to transmit packets between two VETH pairs {veth1, veth1peer} and {veth2, veth2peer} and using each others peer to inject packets upwards to veth1 or veth2 and disabled "rp-...
0
votes
1
answer
244
views
Firewall / Ip rule issues between two hosts via vSwitch
I have two servers in play here, one is a Qemu VM host, the other being a storage box of sorts.
They are hetzner machines, and I have them connected via a vSwitch.
Server1 vSwitch interface:
3: local@...
0
votes
0
answers
1k
views
DHCPOFFER not crossing virtual bridge on Linux?
I have a physical host machine running Ubuntu 20.4LTS (fully patched) attached to my network, which retrieves it's IP address via DHCP. This works.
I have a VirtualBox VM on that host attached to a ...
0
votes
1
answer
2k
views
Can't get linux router/iptables masquerade working
Hope someone more clever than me could help because I am out of ideas...
We want to create (in openstack) a router that will...route (haha) trafic from one network to the other. Simple.
This is what I ...
1
vote
2
answers
485
views
linux - routing between bridge networks without overlay
Here's the scenario. There are two hosts in a subnet (both are virtualbox VMs) and both are on the same network 192.168.1.0.
I've additionally created two bridge interfaces with separate network ...
8
votes
1
answer
7k
views
ip rule and route doesn't get respected
I'm trying to route packets based on their source address, and have added the following:
# ip rule add from 10.10.10.0/16 dev eth0 table foobar
# ip route add default via 100.100.100.1 dev eth0 table ...
1
vote
1
answer
1k
views
Route internet traffic through one nic and local traffic through a second nic
I am trying to route traffic through a specific interface based on its destination.
OS is CentOS 7.
I am setting up a mini MPI farm where I have 2 slave workers and one master.
The master and slaves ...
0
votes
1
answer
363
views
DITG (ITGSend, ITGRecv) via two network interfaces of the same machine
I have a server on which a transmission benchmarks shall be performed. This server has 3 network interfaces (172.16.10.205 for SSH, 10.0.4.105 for sending, 10.0.8.105 for receiving)
...
1
vote
1
answer
710
views
Forward traffic to remote external IP through a specific interface
Network Diagram
I have 3 servers with two interfaces each, as shown in the diagram. The servers communicate with each other through the interface enp1 and to the world through the interface enp0. For ...
5
votes
1
answer
3k
views
How long is an (accepted) ICMP redirect observed for, and how can I shorten that time?
If a Linux host receives and accepts an ICMP redirect (accept_redirects=1 on the interface in question), how long is this route being cached for and observed? Can I lower that time?
I am asking ...
1
vote
0
answers
156
views
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
...
1
vote
1
answer
3k
views
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 ...
0
votes
0
answers
52
views
how to access a bridged network within a remote host?
Hypothetical network setup:
router
ip: 192.168.1.1
host 1:
eth0 ip: 192.168.1.2
br0: 172.19.0.1
host 2:
eth0 ip: 192.168.1.3
I want to be able to access the 172.19/16 from the host 2. In ...
0
votes
1
answer
1k
views
Policy based routing in linux based on destination address.
I am struggling with a scenario. Suppose we have two systems in same subnet A:- 192.168.1.5 and B:-192.168.1.6 where B is further connected with C:-172.22.1.5 through Openswan. B can ping C but A cant ...