> > ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0 > > not this: > > > iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \ > > -j DNAT --to-destination 161.31.31.23 but i want eth0:0 to be asigned that particular address to the internet.
> > ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0 > > not this: > > > iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \ > > -j DNAT --to-destination 161.31.31.23 but i want eth0:0 to be asigned that particular address to the internet.
![]() |