1. 程式人生 > >Make Secondary Network Interface Work in CentOS or RHEL Instance

Make Secondary Network Interface Work in CentOS or RHEL Instance

Adding a secondary network interface to a non-Amazon Linux instance causes traffic flow issues. This is because both the primary and the secondary network interfaces are in the same subnet, and there is only one routing table with one gateway. Traffic that comes into the secondary network interface will try to leave the instance using the primary network interface. But this is not allowed, because the secondary IP address does not belong to the MAC address of the primary network interface.

To make the secondary interface work, create a secondary network configuration file, add an additional routing table, and then set up rules in the custom routing table policy database so that traffic for the secondary interface uses the new routing table. To be sure that the new secondary route and rules are brought up in every boot, create and configure a secondary static route file.

Here is a summary of the steps for making the secondary interface work:

  1. Create a configuration file
  2. Create a new routing table
  3. Set rules in the Routing Policy Database
  4. Create a static route file

相關推薦

Make Secondary Network Interface Work in CentOS or RHEL Instance

Adding a secondary network interface to a non-Amazon Linux instance causes traffic flow issues. This is because both the primary and the second

Make Secondary Network Interface Work in Ubuntu EC2 Instance

Adding a secondary network interface to a non-Amazon Linux EC2 instance causes traffic flow issues. These issues occur because both the primary

更換oracle 集群網卡(Changing a Network Interface

post data crs 52.0 network ifconf down oracle 更換 ?? 更換oracle 集群網卡(Changing a Network Interface) 假設換網卡前後 網卡名。ip,網關,子網掩碼都不變的話,集群層面不許要做額外

a start job is running for Raise network interface (5min 3s)

interface network following running editing a start job is running for Raise network interface (5min 3s)Maybe it is a workaround but I could redu

我的Java開發學習之旅------>Workspace in use or cannot be created, choose a different one.--錯誤解決的方法

原因 tracking size ons create rac 分享 target mono 今天使用Eclipse時,突然卡死了。然後我強制關閉了Eclipse,再又一次打開的時候就報錯了,錯誤例如以下: Workspace in use or cann

晚上打開eclipse時碰到這個問題 :Workspace in use or cannot be created, choose a different one.

鎖定 原因 work 問題 different exe lock space 如果 晚上打開eclipse時碰到這個問題 :Workspace in use or cannot be created, choose a different one. 網上看到這方面的解決方式

LWIP network interface 網卡 初始化 以 STM32 為例子 後面會有 用 2G 或者4G 模塊 用 PPP撥號的 形式 虛擬出網卡 所以先以 這個為 前提

lan 函數 網卡 描述 ane details 我們 err img LWIP network interface 網卡 初始化 以 STM32 為例子 後面會有 用 2G 或者4G 模塊 用 PPP撥號的 形式 虛擬出網卡 所以先以 這個為

sudo: pip: command not found in CentOS

pre 命令 path sudo clas gpo true not pytho vim /etc/sudoers 在 Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin 後面添加上找不到的那條命令的路徑,例如/

A start job is running for Raise network interface(5min 13s )問題解決方法

vim system 分鐘 自動 路由器 通過 work ubunt timeout 我在筆記本電腦上安裝了Ubuntu 16.04,當我有局域網連接時,啟動ubuntu是很快的,當LAN電纜斷開時,需要大約5分鐘才能獲得登錄屏幕,這個實在是無法忍受。我的推測,且不一定準確

在pycharm中調試ryu應用(How to debug Ryu applications in Pycharm or other IDEs)

source deb python程序 mail log span cmd end pos 想要在IDE中使用IDE的調試功能來調試Ryu應用,可以這樣做: 新建一個python程序: 1 #!/usr/bin/env python 2 # -*- coding

mysql優化--in或者or選擇

mysql sql優化在數據庫查詢時,很多情況下會用到or或者in來過濾數據。這裏比較下這二者的效率,看看哪個更適合使用場景。測試平臺:centos7_x86_64 mysql-5.7.18 創建表,插入測試數據(1000萬條記錄)mysql> create table t_user (id in

mysql單表多timestamp報錯#1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

column 但是 cor 選項 rec bsp 單表 correct ini 一個表中出現多個timestamp並設置其中一個為current_timestamp的時候經常會遇到#1293 - Incorrect table definition; there can b

yum all installed dependent packages while removing a package in centos 7?

rem undo span OS -s only you move pre how to remove all installed dependent packages while removing a package in centos 7? # yum history#

install mysql in centos and change passoword

restart sys arc update serve ins HR 2-0 ase Install mysql Installing MySQL wget https://dev.mysql.com/get/mysql57-community-release-el7-

Please enable network time synchronisation in system settings

edate sys clock inux prev war tutorials ubuntu windows系統 eth區塊同步出現這樣的WARN: WARN [06-17|13:02:42] System clock seems off by -51.509894715

Dynamics CRM the field cannot be deleted because it is used in one or more process的解決方法

    在刪除一個查詢欄位時報如上的錯誤,報錯圖如下    第一想到的是這個欄位在哪個流程裡用了,去流程裡找遍了發現沒有哪個流程用到它,然後去開啟系統trace日誌,寄希望於有更詳細的日誌,結果又提示workflow,然後我們再去workflow

Eclipse報The default workspace'xxxxx' is in use or cannot be created Pl

原因:出現這種情況一般是workspace的配置檔案中出現了.lock檔案(workspace/.metadata/.lock),鎖定了workspace。把.lock檔案刪除即可。如果該檔案不能刪除,可能是因為javaw.exe程序未結束,結束該程序及eclipse.exe程序即可刪除。 正常情況下,如果

3D功能如何在PCL中工作(How 3D Features work in PCL)

本文件介紹了PCL中的三維特徵估計方法,並作為對pcl::Feature類內部感興趣的使用者或開發人員的指南。 #理論入門 在它們的原始表示中,3D對映系統的概念中所定義的點僅使用其笛卡爾座標x,y,z相對於給定原點來表示。假設座標系的原點不隨時間變化,則在t1和t2獲得的兩個點p1

Linux-debian系統 /etc/network/interface 文件解讀

ping doc deb face 網關 div 執行權限 多個 pre 原文 http://wiki.slimdevices.com/index.php/SqueezeOS_networking 話說Debian系的網卡配置跟Redhat系很不一樣,Redhat是

雙擊Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on

原因 出現這種情況一般是workspace的配置檔案中出現了.lock檔案(workspace/.metadata/.lock),鎖定了workspace。 解決 把.lock檔案刪除即可。 如果該檔案不能刪除,可能是因為javaw.exe程序未結束,結束該程序及eclipse