Re: OT: alias for a network card

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

 



On Thu, Jul 15, 2004 at 01:51:41PM +0530, Payal Rathod wrote:

> Hi,
> Excuse for this OT question here. But I don't know where I can get an
> answer. While doing  NAT i need to have alias IPs for my router
> machine like,
> # ipconfig eth0:1 192.168.0.4
> 
> But these rules are lost once the machine is rebooted. How can I  make
> them permanent?
> I thought of putting these in rc.local but it rather crude approach as
> my firewall might be started before that. I use Mandrake Linux.

Find out what script starts the firewall and put the line before the
line starting the firewall. Or, put it in the firewall script. Or even
better, put it in the script that initializes your network card.

--
Erik Wikström



[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