On Wed, 2003-05-28 at 09:37, Jon Haugsand wrote:
> * Lisa Ryan
> > yep. Tried that and I got a message saying that you cannot have netmask with
> > route add -host
>
> And the reason is quite clear. You should not put your own computer
> into the routing table like that. The recommended configur
As long as the system knows that it's supposed to be answering for that
IP, you don't need to add a routing statement to the system for it.
On Wed, 28 May 2003, [EMAIL PROTECTED] wrote:
> when I try those commands I get a message saying that the netmask
> doesn't match the route.
>
> I'm using
when I try those commands I get a message saying that the netmask
doesn't match the route.
I'm using ip aliasing to bind an ipaddress to eth0:0
then, as I understood it, you need to add an entry to the routing
table so that packets for this host will be sent thru eth0:0 ?
It seemed fine yesterda
* Lisa Ryan
> yep. Tried that and I got a message saying that you cannot have netmask with
> route add -host
And the reason is quite clear. You should not put your own computer
into the routing table like that. The recommended configuration for
leaf nodes is:
root# ifconfig eth0 192.168
* Jon Haugsand
>> 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.
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
Lisa,
What version of RH are you using. I seem to remember that I had this
problem. I think I stopped eth0 and then brought it up again. If you are
using RH8 (or 9?) the network configuration tools are not too bad, and can
be used to set the gateway.
Check your .hosts file too. That may need edit
* 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.
>