yep. Tried that and I got a message saying that you cannot have netmask with
route add -host

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jon Haugsand
Sent: Wednesday, May 28, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: ifconfig command


* Lisa Ryan
> Hi,
>
> I'm putting in the command ifconfig eth0:0 x.x.x.x netmask 255.255.255.224
>
> and route add -host x.x.x.x dev eth0:0
>
> However, when I do a route -n command, the genmask is set to
255.255.255.255
> instead of 255.255.255.224
>
> when I do an ifconfig the mask is correct.
>
> Can anyone tell me what I need to do to correct this ?

Have you tried:

route add -host x.x.x.x netmask 255.255.255.224 dev eth0:0

--
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


This E-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this E-mail in error please notify us immediately 
and delete this E-mail from your system. Thank you.
It is possible for data transmitted by email to be deliberately or
accidentally corrupted or intercepted. For this reason, where the
communication is by E-mail, the Big Picture Group does not accept 
any responsibility for any breach of confidence which may arise through the use of 
this medium.
Opinions, conclusions and other information in this message that do not relate to the 
official business of Big Picture Group shall be understood as neither given nor 
endorsed by it.
This footnote also confirms that this email message has been swept for the presence of 
known computer viruses.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to