[LARTC] NAT statistics

Linux Advanced Routing and Traffic Control

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

 



>2) Then add rules to match the packets to realms.
>/sbin/ip rule add from 192.168.130.2/32 lookup table main realms host1(the
realm name)
>/sbin/ip rule add from 192.168.130.3/32 lookup table main realms host2

Oops...sorry, little bit of wrong syntax on ip rule.  It should be either
table main, or lookup main..both are valid.  So it should be:

ip rule add from 192.168.130.2/32 lookup main realms host1

******************
Tom Steele
Comm/Systems Engineer
Children's Hospital
Omaha, NE
tsteele@chsomaha.org 


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