A question on "tc filter" and routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Let's say a linux router has two upper links, conneting from eth0 and 
eth1 respectively. Now there are two packets waiting to be sent out. 
Packet A will be routed via eth0 and Packet B will be routed via eth1. 
The "tc filter" has be set up such a way that Packet A has the priority 
of 1 and Packet B has the priority of100.  The question is, which packet 
will be sent out first? I'm thinking there are two possible answers:
    1. "Packet A has a higher priority, so it gets out first"
Or
    2. "Random order, because Packet A and Packet B are going through 
different network interfaces."

Which answer is corret?

Thanks,
-tk


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux