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

Re: [Linux-cluster] 2 IP addrs on one NIC : for 2 applications



sunhux G wrote:
Thanks.

What should I do to ensure that each time after the server is rebooted,
this 2nd IP address stays : is there a config file somewhere that I must
update or a startup script that get executed each time server is rebooted
that will execute the commands?

TIA

On Tue, Jan 13, 2009 at 8:18 PM, Василец Дмитрий <d vasilets peterhost ru <mailto:d vasilets peterhost ru>> wrote:

    ifconfig eth0 *MailScanner has detected a possible fraud attempt
    from "192.168.1.1" claiming to be* 192.168.1.1/24
    <http://192.168.1.1/24> up
    ifconfig eth0:1 *MailScanner has detected a possible fraud attempt
    from "192.168.10.1" claiming to be* 192.168.10.1/24
    <http://192.168.10.1/24> up




------------------------------------------------------------------------

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster
Copy /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-scripts/ifcfg-eth0:1 (i.e. run "cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0\:1") and modify the contents of the new file to suit appropriately.

This is for Red Hat and Red Hat based systems (Centos, Fedora, Mandriva etc) - Debian based systems typically use /etc/network/interfaces instead.

Regards,

Stewart

--
Stewart Walters
Senior IT Consultant
LPIC-2, MCP, MCDST, MCSA &
Foundations Certificate - IT Service Management

E&P IT Solutions Pty Ltd
Office: Level 2, 157 Rokeby Road, Subiaco, W.A. 6008
E-mail: stewart epits com au
Phone: 08 9388 8622   Fax: 08 6210 1780   Mobile: 0419 977 848

==  Red Hat Linux, Solaris, VMware, Oracle and Windows.  ==
== Solutions for high performance and high availability. ==
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]