> Hello All,
> I am new to netfilter/iptables.
> 
> I have linux box which has two interfaces.
> In each interface i have ip address and aliases as
> # ip addr
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:50:bf:2e:ea:0d brd ff:ff:ff:ff:ff:ff
>     inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0
>     inet 192.168.1.1/24 brd 192.168.1.255 scope global eth0:0
>     inet 183.183.1.1/24 brd 183.183.1.255 scope global eth0:1
>     inet 185.185.1.1/24 brd 185.185.1.255 scope global eth0:2
>     inet 187.187.1.1/24 brd 187.187.1.255 scope global eth0:3
> 5: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:00:01:36:40:14 brd ff:ff:ff:ff:ff:ff
>     inet 172.16.1.250/24 brd 172.16.1.255 scope global eth1
>     inet 192.168.1.250/24 brd 192.168.1.255 scope global eth1:0
>     inet 183.183.1.250/24 brd 183.183.1.255 scope global eth1:1
>     inet 185.185.1.250/24 brd 185.185.1.255 scope global eth1:2
>     inet 187.187.1.250/24 brd 187.187.1.255 scope global eth1:3
> 
> I want set iptables rule so that packet from 172.16.1.0/24 network to
> 172.16.1.1 should forward to 172.16.1.250
> same for other networks also.
> 
> Is this possible?
> 
> -Joe
> 
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to