Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
2k views

CentOS 7 custom routes with 2 NIC's

I have two interfaces o my CentOS 7: ens192 - 10.70.87.200/24 ens224 - 192.168.11.200/24 tcp/22 has to be listening only on ens192 I want all internet traffic but a few networks do be going out via ...
Sparky's user avatar
  • 1
0 votes
0 answers
225 views

Default Gateway is not detected in Rhel server after ifdown of primary network interface

I'm working on RHEL 7.6 server. I've configured network using bonding with active backup mode. So the eno1 is the primary interface of bond0 and eno4 is the slave of bond0. this is the configuration ...
user6624302's user avatar
2 votes
1 answer
113 views

CentOS - Prevent forwarded connections from NIC #2 through default gateway on NIC #1

I have a CentOS 7 system with 2 NICs (eth0 and eth1). NIC configurations: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.43.96.210 netmask 255.255.255.192 broadcast ...
Naamakeisari's user avatar
0 votes
1 answer
3k views

Static routes on Fedora/CentOS

I've been having some trouble wrapping my head around how static routes work. Long story short I have the following: Fedora26 server with CentOS7 VM. Host IP: 192.168.0.6 assigned to eth0 VM IP: 192....
smartinez's user avatar
3 votes
1 answer
4k views

Why does curl not work with non-default network interface in CentOS 6?

curl can use non-default network interface with its --interface option theoretically. However, in practise it doesn't work. I have 2 network interfaces eth0 and eth1. Each one is connected to Internet ...
Vitalii's user avatar
  • 145
0 votes
1 answer
1k views

Routing internal traffic in centos to the internet using iptables

Hello friends i am struck in routing traffic from the office to internet i have a network structure like this http://asthana.me/images/ip.png I have assigned static ip to the cent os server(which ...
AsthanaMe's user avatar
5 votes
3 answers
25k views

Source Based Policy Routing & NAT (DNAT/SNAT) aka Multi WANs on CentOS 5

Originally posted at Unix and Linux but nobody was able to answer it, so m migrating the question here: My question is regarding Source Based Policy Routing on CentOS 5 with 2 WANs plus a LAN (NAT) ...
CentOS_noob's user avatar
0 votes
1 answer
1k views

How to access computers with different network segment?

I have a computer with CENTOS installed as operating system with 2 NIC. One NIC is connected to the internet while the other is connected to a switch that is connected to 3 other computers. These ...
user avatar
1 vote
1 answer
2k views

Linux Iptables Routing

I need help with a problem. My setup is: CentOS (Router) eth1 18.0.168.1 255.255.248.0 eth2 145.165.34.1 255.255.254.0 Windows Server 2008 18.0.168.2 My problem is from the Windows machine, I can't ...
leeman24's user avatar
  • 235