TO solve:
cos(x)*cosh(x)+1=0
Matlab commands:
f = @(x) cos(x)*cosh(x) + 1;
fzero(f,2)
reference:
http://www.mathworks.com/help/matlab/ref/fzero.html
{network A}
\ +--------------+
-(eth0)| Linux server |
+--------------+
(eth2) (eth3)
| |
{Network B}
CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_NETLINK_DEV=y
auto eth2 iface eth2 inet static address 192.168.1.20 network 1192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 up ip route add 192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.61.20 table 20 up ip route add default via 192.168.1.1 dev eth2 table 20 up ip rule add from 192.168.1.20 lookup 20 auto eth3 iface eth3 inet static address 192.168.1.21 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 up ip route add 192.168.1.0/24 dev eth3 proto kernel scope link src 192.168.61.21 table 30 up ip route add default via 192.168.1.1 dev eth3 table 30 up ip rule add from 192.168.1.21 lookup 30
ip route add 10.209.192.0/22 dev eth1 proto kernel scope link src 10.209.193.131 table tlb_1 ip route add default via 10.209.192.1 dev eth1 table tlb_1 ip rule add from 10.209.193.131 lookup tlb_1 ip route flush cache