LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2009, 01:18 AM   #1
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Rep: Reputation: 16
disabling source routing in Suse


Hi guys

in /etc/syscl.conf i add the entry net.ipv4.conf.all.mc_forwarding =0

and refresh sysctl using "sysctl -p" but am getting an error

"operation not permitted setting the value for net.ipv4.conf.all.mc_forwarding"

what will be the reason
 
Old 06-10-2009, 01:45 AM   #2
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
You need to run that root?
 
Old 06-10-2009, 01:47 AM   #3
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rikxik View Post
You need to run that root?
sorry i didnt get ur query..?
 
Old 06-10-2009, 02:09 AM   #4
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rikxik View Post
You need to run that root?

one more point is that the file /proc/sys/net/ipv4/conf/all/mc_forwarding

is having the permission 444 by default , and the value in that file is always 0 and system is not allowing to change the content of the file...
 
Old 06-10-2009, 03:39 AM   #5
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
I meant, are you running these commands as root?
 
Old 06-10-2009, 04:22 AM   #6
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rikxik View Post
I meant, are you running these commands as root?
yes
 
Old 06-10-2009, 05:01 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can not change values /proc permanently. You need to change the values /etc/sysctl.conf.
Though you can change the values for a session using echo command.

echo 1 >> /proc/sys/net/ipv4/conf/all/mc_forwarding
 
Old 06-10-2009, 05:59 AM   #8
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 16
Unhappy

Quote:
Originally Posted by linuxlover.chaitanya View Post
You can not change values /proc permanently. You need to change the values /etc/sysctl.conf.
Though you can change the values for a session using echo command.

echo 1 >> /proc/sys/net/ipv4/conf/all/mc_forwarding
that is exactly i done after failing the command....
but am not able to change the entry... [see the 4th post]

Last edited by deepak_cucek; 06-10-2009 at 06:01 AM.
 
Old 06-10-2009, 12:40 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What I don't understand is why you think that disabling multi-casts
is the same as disabling source routing. What you want to set to 0
has nothing to do with source routing.

Check
/proc/sys/net/ipv4/conf/all/accept_source_route



Cheers,
Tink
 
Old 06-11-2009, 12:42 AM   #10
deepak_cucek
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Tinkster View Post
What I don't understand is why you think that disabling multi-casts
is the same as disabling source routing. What you want to set to 0
has nothing to do with source routing.

Check
/proc/sys/net/ipv4/conf/all/accept_source_route



Cheers,
Tink
yes i got the point...i was checking some wrong entry.....

thanx..

but can somebody explain me why root user cant alter the value in "mc_forwarding"
 
  


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
Disabling ipv6 on SuSE 10.0 VIR3NT SUSE / openSUSE 3 05-14-2009 07:08 AM
Routing According to Source IP Murdock1979 Linux - Networking 4 04-25-2009 02:49 PM
source routing sulekha Linux - Networking 2 12-15-2008 04:58 PM
disabling automount suse 9.1? cunokyle Linux - Distributions 0 06-10-2004 01:18 AM
Source routing pazvant Linux - Networking 2 04-18-2004 06:41 AM


All times are GMT -5. The time now is 11:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration