Re: Re: [LARTC] Problems with route by fwmark

Linux Advanced Routing and Traffic Control

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

 



Great, it works now: 
 
Mar 16 11:59:15 persephone kernel: IN=eth0 OUT=eth2 SRC=192.168.1.146 
DST=192.168.1.146 LEN=84 TOS=0x00 PREC=0x00 TTL=62 ID=0 DF PROTO=ICMP TYPE=8 
CODE=0 ID=51311 SEQ=256 
 
Basti 
 
"Alexander W. Janssen" <yalla@xxxxxxxxxxxx> schrieb am 15.03.03 14:17:32: 
>  
> On Sat, Mar 15, 2003 at 01:38:23PM +0100, Sebastian Schneider wrote: 
> > /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -j MARK --set-mark 17 
>                                                                         ^^ 
>  
>                                                                     0x17 ! 
> > ip rule add fwmark 17 table m.table  
>                      ^^ 
>                  0x17 ! 
>  
> I had the same problem once. I realized that iproute seems to treat your 17 
> implicitely as hexadecimal, whereas the iptables command accepts decimal and 
> hexdecimal values - depending on the 0x prefix. (Or was it vice versa? Can't 
> remember.) 
>  
> Alex. 
>  
> --  
> "Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal." 
> Instructions for use of this post: Insert tounge in cheek. Read as normal. 
>  
 



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