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 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 yesterday, it was just when I rebooted the machine > today that I came across this problem. > > > > At Wed, 28 May 2003 16:37:04 +0200, you 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 configuration for > >leaf nodes is: > > > >root# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up > >root# route add -net 192.168.1.0 netmask 255.255.255.0 eth0 > >root# route add default gw 192.168.1.1 eth0 > > > >-- > >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. > > > -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 To be notified of updates to the web site, send a message to: [EMAIL PROTECTED] with a message of: subscribe -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list