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

ip rule ... fwmark



Hi,

I executed the following commands:
ip rule add from 192.168.1.25 fwmark 0x80 table modem
ip rule add from 192.168.1.25 fwmark 0x53 table modem

But when I listed the rules, I had the following:
bdg:~# ip rule list
0:	from all lookup local 
32762:	from 192.168.1.25 lookup modem 
32763:	from 192.168.1.25 lookup modem 
32764:	from 192.168.1.25 to 202.146.255.15 lookup modem 
32765:	from 192.168.1.45 to 202.146.255.15 lookup modem 
32766:	from all lookup main 
32767:	from all lookup default 

If you had "to" or "from" in "ip route" then the list showed them if you
executed "ip rule list" command. But why you don't get the same thing for
fwmark?

Oki



Reply to: