Re: policy routing problem

Linux Advanced Routing and Traffic Control

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

 



Hi, i'm a stupid :))

Sorry, i forget first policy: RTFM..

On Mon, 8 Dec 2003 20:21:06 +0200
Serdar KÖYLÜ <skoylu@xxxxxxxxxxxxx> wrote:

> ip rule add fwmark 10001 table http

ip uses hexadecimal notation. This number really 0x10001

> ip route add default via 81.215.8.1 table http
> ip route flush cache
> iptables -t mangle -A PREROUTING -p tcp --dport 80 \
>   -j MARK --set-mark 10001

but, iptables uses radix decimal.

I try "--set-mark 0x10001" and it's work fine..
 
> 
> ip rule add from 212.174.154.219 table http
> 
> Wow... This machine can't reach internet for this reason :(( No
> routing.. 

But this reason don't resolved.. Why ? 

Thanks..
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux