LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-22-2001, 04:32 AM   #1
GT-GEO
LQ Newbie
 
Registered: Nov 2001
Location: Rep. Georgia
Distribution: RedHat
Posts: 11

Rep: Reputation: 0
i have tish message on linux console.


host 2.2.2.2/f2 ignores redirects for 3.3.3.3 to 3.3.3.3

i have 2 networks, i have 2 linux server/gateways, with different ips, but i did routing and they are connected on lan.

what this message means? the second gateways do not have any messages like this.
 
Old 11-23-2001, 07:15 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
The system 2.2.2.2/f2 is been told of a shorter path to a destination IP address from an ICMP type 5 message from the 3.3.3.3 server.

This is part of the router discovery protocol.

---------------------------
Here's the bit of code that produces it.
#ifdef CONFIG_IP_ROUTE_VERBOSE
if (IN_DEV_LOG_MARTIANS(in_dev) &&
rt->u.dst.rate_tokens == ip_rt_redirect_number && net_ratelimit())
printk(KERN_WARNING "host %u.%u.%u.%u/if%d ignores redirects for "
"%u.%u.%u.%u to %u.%u.%u.%u.\n",
NIPQUAD(rt->rt_src), rt->rt_iif,
NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_gateway));
-----------------------------
Anyway,
Add the lines below to both Linux systems to stop them generating redirect messages to the subnet. "or move one box to a different subnet as these messages types are only sent to same subnet systems.

put in you /etc/rcd/rc.local file
echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects
echo 0 > /proc/sys/net/ipv4/conf/all/accept_redirects

"It's also a security risk to accept redirects."!!

/Raz
 
Old 11-24-2001, 08:06 AM   #3
GT-GEO
LQ Newbie
 
Registered: Nov 2001
Location: Rep. Georgia
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
re

stiil have messages, what can i do?
 
Old 11-27-2001, 05:11 AM   #4
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
Once you changed them both did you restart ?
Normally this isn't needed but try it anyway.

If this still hasn't stopped, you'll need to find the source of the RDP redirect messages, a hunch tell me your route could be sending them.

What version of Linux are you running on the system with the messages ?

/Raz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pass message from console to UI? okeyla Linux - Newbie 1 09-19-2005 07:49 PM
Send message over console stefaandk Linux - Newbie 4 08-15-2005 08:48 PM
Why message appearing on console mstahl Fedora 5 07-15-2005 10:26 PM
Console Message. Carpinus Linux - Newbie 4 01-15-2005 01:46 PM
Console Message DigitalTygrrr Linux - General 2 04-23-2003 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration