Reply To: Noob question for network/routing

Home Page Forums Network Management Networking Noob question for network/routing Reply To: Noob question for network/routing

#45357

Nickman
Member

After some searching here and there i make it works. All i had to add was the 127.0.0.0 in routing table.
But now i have a greater problem. How can i route my packets according to class (ftp, http, voip, gaming ports, p2p) to a different nic for each class?
I made some rules in QoS but as long as the gw has the same ip, every packet goes through eth01

Here is my entries on classifier
================================================
1 ETH00 ETH01 MARK tcp opt — in ETH00 out ETH01 0.0.0.0/0 -> 0.0.0.0/0 PHYSDEV match ! –physdev-is-bridged source IP range 192.168.100.0-192.168.100.100 state NEW,RELATED,ESTABLISHED,UNTRACKED LAYER7 l7proto http tcp spt:80 dpt:80 MARK set 0xc SURFING no
2 ETH00 ETH02 MARK tcp opt — in ETH00 out ETH02 0.0.0.0/0 -> 0.0.0.0/0 source IP range 192.168.100.0-192.168.100.100 state INVALID,NEW,RELATED,ESTABLISHED,UNTRACKED LAYER7 l7proto http-dap MARK set 0xb DOWNLOADS no
3 ETH00 ETH02 MARK tcp opt — in ETH00 out ETH02 0.0.0.0/0 -> 195.220.94.166 source IP range 192.168.100.0-192.168.100.100 state NEW,RELATED,ESTABLISHED,UNTRACKED LAYER7 l7proto ftp tcp spt:21 dpt:21 MARK set 0xb DOWNLOADS no
4 ETH00 ETH01 MARK udp opt — in ETH00 out ETH01 0.0.0.0/0 -> 0.0.0.0/0 source IP range 192.168.100.0-192.168.100.100 state INVALID,NEW,RELATED,ESTABLISHED,UNTRACKED ipp2p v0.8.2 –kazaa –gnu –edk –dc –bit LAYER7 l7proto edonkey udp spts:2000:3000 dpts:4000:5000 MARK set 0xd P2P no
5 ETH00 ETH02 MARK tcp opt — in ETH00 out ETH02 0.0.0.0/0 -> 0.0.0.0/0 source IP range 192.168.100.0-192.168.100.100 state INVALID,NEW,RELATED,ESTABLISHED,UNTRACKED ipp2p v0.8.2 –kazaa –gnu –edk –dc –bit LAYER7 l7proto edonkey tcp spts:2000:3000 dpts:4000:5000 MARK set 0xd P2P no
6 ETH00 ETH01 MARK tcp opt — in ETH00 out ETH01 0.0.0.0/0 -> 0.0.0.0/0 source IP range 192.168.100.0-192.168.100.100 destination IP range 87.237.38.200-87.238.38.200 state INVALID,NEW,RELATED,ESTABLISHED,UNTRACKED tcp spt:26000 dpt:26000 MARK set 0xe GAMING no
7 ETH00 ETH01 MARK tcp opt — in ETH00 out ETH01 0.0.0.0/0 -> 0.0.0.0/0 source IP range 192.168.100.0-192.168.100.100 state NEW,RELATED,ESTABLISHED,UNTRACKED LAYER7 l7proto http tcp spt:80 dpt:80 MARK set 0xc SURFING no
8 ETH00 ETH01 MARK tcp opt — in ETH00 out ETH01 0.0.0.0/0 -> 66.162.28.88 source IP range 192.168.100.0-192.168.100.100 tcp spt:4010 dpt:4010 MARK set 0xe GAMING no
================================================
Any idea on this?

Thanks in advance