Re: ip alias

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

 





>
> Not quite sure what are you trying to do with above.  You don't need
iptables to
> set up an alias.  The ifconfig or ip commands will suffice.
>
> What do you want to achieve with iptables command?  What it will do is
that all
> packets addressed for 192.168.1.23 that arrive into box (not generated on
the
> box) on interface eth0 will be sent to 161.31.31.23 (with that IP address
as
> destination).  Is that what you wanted to do?
>
but the traffic from 192.168.1.23 that i need to go to the internet i would
like to
have addressed as 161.31.31.23

john



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux