Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-30-2014, 12:12 AM   #1
Registered: Oct 2003
Location: Karachi, PAKISTAN
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
Posts: 115

Rep: Reputation: 15
Question DNS request route towards non default route HOW>????

Dear all,
I am In big trouble Please help me.
I have 3 WAN connections in my Linux Router Machine, two of them are not for Internet, 3rd one is for Internet.
eth3= (internet IP)
eth4= (Local LAN)

I am switching my default route with eth1 and eth2, and created multi routing with "MARK 2" for Internet IP.
all is well working accept my DNS traffic.
when this router machine tray any DNS request for Internet this traffic goes to my default routes. (no internet access on default route)
Please help me how to resolve this issue and route router it-self DNS requests towards my 3rd interface IP (Internet IP) having MARK 2 for routing.

Prompt response required

Last edited by netguy2000; 05-30-2014 at 12:51 AM.
Old 06-01-2014, 02:04 AM   #2
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
multi routing with "MARK 2"
That's for when you have multiple internet routes, not multiple internal routes, or at least I've never heard of multi-routing to a private network.
Try bridging eth1, eth2 and eth4 (providing internal access across all private networks) and set your internet adapter ( eth3 )to only accept packets from the network.

You should look into subnet masking, It'll make your life a lot easier.

Last edited by dijetlo; 06-01-2014 at 02:08 AM.
Old 06-01-2014, 01:26 PM   #3
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Let's go with the basics... run this commands and show us the output:

ip link show
ip addr show
ip route show
And be careful with the public IPs when copying the output.

Oh, and dijetlo... go help me with the block device driver!!! hahaha
Old 06-01-2014, 03:47 PM   #4
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I actually just did ;P
I don't know if it's help but I put words and links on the thread so...I'm calling it help for now, at least until you look at it and tell me I'm wrong.

Last edited by dijetlo; 06-01-2014 at 03:48 PM.


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
Quagga default route not showing in kernel default route (netstat -nr) Valkyr1e Linux - Networking 3 08-03-2008 09:20 PM
iproute2 (ip route), pppoe and default route lorddoskias Linux - Networking 0 05-09-2007 11:04 AM
Default route took 20s to display with 'route' command Akhran Linux - Newbie 3 11-04-2006 04:59 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM > Forums > Linux Forums > Linux - Networking

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

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