kindly confirm

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

 



Hi Jason,

I too have the same problem...please confirm that I
need to replace the IPADDR and GATEWAY with the
corresponding IP addresses or not (means I need to
replace xxx.xxx.xxx.xxx with respective alias IP or
not). I know it sounds silly, but I can't take a
chance  of rebooting the machine as my configuration
are UP at this point of time. Please verify thesame
for me.


DEVICE=eth0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.254.0
GATEWAY=xxx.xxx.xxx.xxx
HWADDR=00:00:00:00:00:00

Regards

Opesh Alkara

--- Jason Williard <jason@xxxxxxxxxx> wrote:

> That worked.  Thank you very much.  Do you know if
> there is a max limit on
> how many IP's can be attached to a single interface?
>  Also, is there a way
> to add an entire subnet without creating 1 file for
> each IP?
> 
> ---
> Thank You,
> Jason Williard
> PCSafe, Inc.
>  
>  
> 
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx]
> On Behalf Of IAK Tanoli
> Sent: Monday, February 14, 2005 10:08 PM
> To: General Red Hat Linux discussion list
> Subject: Re: Multiple IPs on single interface
> 
> 
> Modify the file as following. 
> 
> DEVICE=eth0:1
> ONBOOT=yes
> BOOTPROTO=static
> IPADDR=xxx.xxx.xxx.xxx
> NETMASK=255.255.254.0
> GATEWAY=xxx.xxx.xxx.xxx
> HWADDR=00:00:00:00:00:00
> 
> --- Jason Williard <jason@xxxxxxxxxx> wrote:
> 
> > Hello,
> > 
> > I have a box with Red Hat Enterprise Linux ES
> > release 3 installed on it.
> > Today, I acquired 2 additional IP addresses for
> it. 
> > I can add the IP
> > addresses using the following commands, but they
> are
> > not permanent.
> > 
> > # ifconfig eth0 add xxx.xxx.xxx.xxx netmask
> > 255.255.254.0
> > # ifconfig eth0:0 add xxx.xxx.xxx.xxx netmask
> > 255.255.254.0
> > 
> > As this was not making it permanent, I created 2
> > files (ifcfg-eth0:0 &
> > ifcfg-eth0:0:1) inside the
> > /etc/sysconfig/network-scripts/ directory.  The
> > first file works and interface eth0:0 comes up at
> > startup.  However, the
> > second interface stays down.  Below is the content
> > of the two files:
> > 
> > ifcfg-eth0:0
> > ---
> > DEVICE=eth0:0
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=xxx.xxx.xxx.xxx
> > NETMASK=255.255.254.0
> > GATEWAY=xxx.xxx.xxx.xxx
> > HWADDR=00:00:00:00:00:00
> > ---
> > 
> > ifcfg-eth0:0:1
> > ---
> > DEVICE=eth0:0:1
> > ONBOOT=yes
> > BOOTPROTO=static
> > IPADDR=xxx.xxx.xxx.xxx
> > NETMASK=255.255.254.0
> > GATEWAY=xxx.xxx.xxx.xxx
> > HWADDR=00:00:00:00:00:00
> > ---
> > 
> > 
> > ---
> > Thank You,
> > Jason Williard
> > PCSafe, Inc.
> >  
> >  
> > 
> > 
> > 
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe
> >
>
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> >
> https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> 
> 
> =====
> --
> 
> ________________
> Imtiaz Ahmed Khan
> Sr. System Consultant
> ANTS Consultiing
> 
> 
> Org:            ANTS Consulting
> URL:           http://ants.com.pk/
> Eml:            sendtoimtiaz@xxxxxxxxx
> Mob:           +92300-2128278 
> ___________________________________
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - 250MB free storage. Do more. Manage
> less. 
> http://info.mail.yahoo.com/mail_250
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux