Re: 2 IP addrs on one NIC : for 2 applications

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

 



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@xxxxxxxxxxxx <mailto:d.vasilets@xxxxxxxxxxxx>> 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@xxxxxxxxxx
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@xxxxxxxxxxxx
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. ==
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux