How to configure static routes CentOS/RHEL 8 for using multiple NICs with different internet connect

Hello,

I have servers with multiple NICs connected to different internet lines.

In the past on CentOS 6 and 7 I could easily setup the NICs by using the following commands for each NIC(I did not use NetworkManager)
ip route add 123.123.123.123/28 dev eno1 table 1
ip route add default via 123.123.123.123 table 1

ip rule add from 123.123.123.123/28 table 1 priority 100

(while using a different table number and priority for each NIC)

and to make the above manual commands persistent, convert to the corresponding files in
/etc/sysconfig/network-scripts/route-eno1
123.123.123.123/28 dev eno1 table 1
default via 123.123.123.123 table 1

/etc/sysconfig/network-scripts/rule-eno1
from 123.123.123.123/28 table 1 priority 100

However I am not really that familiar with network commands, and can't seem to figure out how to get it to work in CentOS/RHEL 8.
What are the corresponding commands in CentOS/RHEL 8 to make the above settings persistent?
The manual "ip route" and "ip rule" commands work fine.

Related links:
https://access.redhat.com/documentat...in_ifcfg_files
https://access.redhat.com/documentat...ing-networking

Thank you.


Similar Content



I can't install cPanel over CentOS Linux release 8.4.2105

Hello.

after of we install CentOS 8.4.2105 and BEFORE of install cPanel:
PHP Code: [root@pepsi]# systemctl --no-pager -l restart network.service
[root@pepsi]# systemctl restart network.service
[root@pepsi]# 
after of we install cPanel 96.0 (build 9):
PHP Code: [root@pepsi]# systemctl --no-pager -l restart network.service 
(the connection to server DEAD, not exist response, result, "second line")

I believe the most important file aboout netwrok service is Code:
/etc/sysconfig/network-scripts/ifcfg-eth0
and this is the content: Code:
DEVICE=enp2s0
ONBOOT=yes
BOOTPROTO=none
IPADDR=My.Ip.Public
PREFIX=32
GATEWAY=Ip.For.Customers
DEFROUTE=yes

IPV6INIT=yes
IPV6ADDR=Ip.For.Customers::2/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFROUTE=yes
please some idea about how we can fix the error?



in forms cPanel nobody reply, perhaps because MODERATOR reply "open ticket", and yes, we open ticket but:


The answer from cPanel support:


"""We are not able to assist with networking configurations, the networking configuration of your server is not modified or configured by cPanel/WHM this would be best performed by your host/data center or a qualified systems administrator. BYE."""


The answer from ISP support:


""" We give to you TEMPLATE of CentOS 8, if you connect in begin, then NOT IS our problem. Reinstall template. BYE. """

modern servers nvme hot-swappable?

When I see a dedi advertised with, say 4-6 nvme drives, are the drives likely to be individually hot swap-able1 or are they buried inside the chassis and attached to the mobo like desktop pc's?

Ask the provider, I know.....but I'd like to save time and know my chances beforehand as asking too much feel like trolling them.

Am I better off going the colo route for this requirement? I'll do it if I have to but I prefer the dedi route if possible.

1)https://img.youtube.com/vi/5sauNryOx...resdefault.jpg
(don't need that many drives)

Which OS is best now that CentOS has been discontinued?

Hello,

So with the recent announcement of CentOS coming to and end i find myself wondering which is the best option for a new Dedicated server.

Do I still go with CentOS 7 or is there an alternative option now?

I know that CentOS is only EOL in 2024 and CentOS 8 is EOL now in this year 2021. So it makes very little sense to go with CentOS 8.

Any opinions welcome

Dedicated Server Company

Hi,

I am looking for two unmanaged servers in Europe. Network uptime and responsiveness of tech support are of priority.

Shortlisted a few companies so far:

Simply Hosting
HiVelocity
ServerMania

Anyone has any recommendations or otherwise for these or other companies?

Thanks.

WebNX Utah Slow Network?

Anybody else have servers at WebNX that noticed really slow network throughput from their Utah DC to East Coast NA? So far this has been happening with us for a few days now and support has always said there was no issue with their network, there was just a DDoS and they rerouted traffic. But seems for me its not.

I tested from multiple VPS I have from locations like NY (colocrossing), Canada (OVH), FL (DediPath), SG (Leaseweb), and a multitude of others, all with varying result but bottom line was its unstable. For example, trying to download their network test file (https://mirrors-ogd.webnx.com/test/1gb.bin), it would all yield something really low from 100KB/s to 2MB/s. Occasionally I would hit 20MB/s at my SG server, but only for some time. Tested it with my LA server (colocrossing), this one is good, about 30MB/s.

Tried to do a lot of iPerf3 tests as well, with just similar result with conclusion that its extremely slow.

Just want to know if I am the only one experiencing it.

Emails dont work on new cpanel server, please help!

I rented a new root from altushost.com running cloudlinux and cpanel/whm.

Its already running pretty good but i have problems with sending and recieving emails.
Im sure because something is misconfigured as im not an expert.

Problems when sending:

Emails go to spam folder

Problems on recieving:

Its not possible to recieve emails and the sender gets the following error:

Sorry, we were unable to deliver your message to the following address.

<contact@server2000.org>:
550: 5.1.1 <contact@server2000.org>: Recipient address rejected: User unknown in local recipient table I attached some pictures from the whm and domain settings.

If you need more info please ask.

I hope someone can help me because im desperated and dont know what to do.

Pictures:

domain settings
whm1
whm1.1
whm2

How to set the public IP address of a KVM virtual machine?

Hello,

I installed cockpit on my CentOS 7 server, then use cockpit created a virtual machine and installed another CentOS inside it, now I want to access the vm from my pc, but I don't know how to configure the public IP address of the vm. Help me please, thanks in advance.

need to rent 10G network and some servers

Hello,
i need to rent 10G network and some servers,
i need like BGP and cross connect, but as i not have time and so much cost for fees etc, its possible i ask some provider provide me this? will anyone do this or its impossible?

where i should go?

Thanks

Windows server upload speed problem

Hi dear friends,

I have a dedicated server from Hetzner network.They are have about 500mbps download /300mbps upload speed. But when i install windows server (server 2012 and 2019) that upload speed is very down about 15-20mbps.

I use iis with default config. My test file is 3.7gb iso file. When i download from windows iis website i get 1.5megabyte/s speed from my home(i have 50mbps internet). But when i try it with linux rescue system and apache2 i got 6megabyte/s speed from my home. So my home maximum download speed already 5-6mb/s. But i dont understand why getting slower when i try it on server 2012 and 2019. I try many think, i need help.

its my server upload speed screen shoots:
https://filestore.community.support....5d?upload=true


Fresh install windows server 2012(i was try 2019 same result...) IIS download test from my home:

https://filestore.community.support....3d?upload=true

Bootable linux rescue system with apache2 server test from my home:
https://filestore.community.support....b9?upload=true


Windows network adapter config:
https://filestore.community.support....21?upload=true

Looking for replacement of WebNX Storage server and servers with iGPU

Webnx has announce their servers wont be back for weeks. We dont have weeks.

Looking for these in the West Coast USA.

500TB storage server/s, nvme drives for cache, 1gbps (10gbps for a month if possible) unmetered incoming, 40gbps private networking (aggregate if on multiple storage servers)
15 x server with iGPU, 32gb Ram, 1tb ssd/nvme, 1gbps private network, 1gbps public with at least 40TB outgoing.

We require free private networking for all servers.
Looking for something close to the pricing of webnx.

<<snipped>>

Thanks.