Quoting John Black <black@xxxxxxxxx> Date: Mon, 27 Sep 2004 22:15:50 > 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 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? -- Aleksandar Milivojevic <amilivojevic@xxxxxx> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7