... <看更多>
「kernel genmask」的推薦目錄:
- 關於kernel genmask 在 Re: [問題] 雙網卡(wlan0 ,eth0)同時sock收資料- 看板Linux 的評價
- 關於kernel genmask 在 How to get aribtrary portion of a bitmap in Linux kernel ... 的評價
- 關於kernel genmask 在 amzn-drivers/kernel/linux/common/ena_com ... 的評價
- 關於kernel genmask 在 Routing - School Of SRE 的評價
- 關於kernel genmask 在 Not understanding the meaning of Genmask in linux ... 的評價
kernel genmask 在 amzn-drivers/kernel/linux/common/ena_com ... 的推薦與評價
#define ENA_ETH_IO_TX_DESC_LENGTH_MASK GENMASK(15, 0). #define ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT 16. #define ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK GENMASK(21, 16). ... <看更多>
kernel genmask 在 Routing - School Of SRE 的推薦與評價
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.17.0.1 0.0.0.0 UG 0 0 0 eth0 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 ... ... <看更多>
kernel genmask 在 Not understanding the meaning of Genmask in linux ... 的推薦與評價
lanix@lanix ~ $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 ... ... <看更多>
kernel genmask 在 Re: [問題] 雙網卡(wlan0 ,eth0)同時sock收資料- 看板Linux 的推薦與評價
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
10.101.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
140.117.89.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
140.117.89.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
我現在將IP routing改成這樣以後,
wlan0可以接收到140.117.89.50 的封包,
但是eth1接收不到相同140.117.89.50的封包
是因為不能設定兩次嗎?
如果不行這樣設定,
要如何設定才可以讓wlan0 , eth1 都接收140.117.89.50的封包呢?
謝謝大家的回覆!
※ 引述《hardware (硬體)》之銘言:
: 我在A電腦送兩份資料到B電腦
: A 一份資料送給 B的eth0網卡那個IP
: A 另外一份資料送給 B的wlan0無線網卡的那個IP
: 但是B 的linux只會接收default gateway那一張網卡資料,不曉得為什麼
: Ubuntu 12.04
: Kernel IP routing table
: Destination Gateway Genmask Flags Metric Ref Use Iface
: 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
: 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 wlan0
: 140.117.89.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
: 是哪邊的要改嗎?
: 我這樣的rule,socket只會接收default gateway那一張網卡的資料
: 我開wireshark去看兩支網卡,封包都有進來,
: 但是socket就只能接收到,default gateway那一張網卡的資料
: PS. Ubuntu 12.04 和 Ubuntu 10.04 差別
: 10.04 default GW rule會是最後一個
: 我記得routing table排序會跟優先權有關係
: Ubuntu 10.04
: Kernel IP routing table
: Destination Gateway Genmask Flags Metric Ref Use Iface
: 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
: 10.0.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
: 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
: 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
: 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.89.77
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1443200248.A.941.html
... <看更多>