Skip to contentSkip to conversation

classifying packets

LARTC [email protected] 2 participants 2 messages Jun 30, 2004

lore
Share & tools
lore
#0 lore raw

hello!

i have the following problem:

i have a pc, which has one (eth0) NIC. eth0 is connected to two other linux machines acting as routers to the internet.
i want to classify packets outgoing from my PC. i want to mark packets that are routed through 1. router with mark 1 and the others packets routed throuhg router 2. with mark 2.

i had following ideas:
-using destination MAC
-using route realms (but routes are generated using quagga and it does not support realms)
-using 2 NICs, (but i can't use 2 NICs)

thanks

Matis

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

VLAN?

Quoted 18 lines · [email protected] wrote:

hello!

i have the following problem:

i have a pc, which has one (eth0) NIC. eth0 is connected to two other linux machines acting as routers to the internet.
i want to classify packets outgoing from my PC. i want to mark packets that are routed through 1. router with mark 1 and the others packets routed throuhg router 2. with mark 2.

i had following ideas:

(quoted diff) +0 -2
-using destination MAC
-using route realms (but routes are generated using quagga and it does not

support realms)
-using 2 NICs, (but i can't use 2 NICs)

thanks

Quoted 7 lines

Matis

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/