ip alias

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

 



I'm tryint to setup ip alias with iptables on fedora core 2.

Is this right?  For some reason it will not let me out?

ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0
iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \
                -j DNAT --to-destination 161.31.31.23


thanks
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