Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > ip rule show - not working?

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-01-2007   #1 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 1
ip rule show - not working?

i have 2 modems at my small office and im trying to setup source based policy routing.
ive read a little bit and think i have the gist of it, however im running into a strange problem
that isnt related to my routing configuration at all (my hunch).

ive configured the kernel on my router for policy routing as shown

Code:
    * IP: advanced router
      Choose IP: FIB lookup algorithm (choose FIB_HASH if unsure) (FIB_HASH) --->
    * IP: policy routing

after compiling, updating grub.conf (moving image to /boot of course) and reboot; the ip rule command shows nothing

Code:
      kingfisher linux # ip rule show
      kingfisher linux #

after performing the same process on another machine (that isnt going to be doing any routing) the default rules are shown

Code:
      sentineldev php5 # ip rule show
      0: from all lookup local
      32765: from 10.0.0.1 lookup extra
      32766: from all lookup main
      32767: from all lookup default

this is what i expect as its what ive seen in several documents ive read.
im having issues getting source based routing to work on the former machine i mentioned, but i think it has to do with something other than the rules im trying to create because ip rule doesnt even show me the default rules once ive installed the policy routing database.

can someone steer me in the right direction on this, or suggest looking into something that i might have missed. im new to ip layer administration
thanks,
~quickshiftin`
quickshiftin is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:47 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2