LinuxQuestions.org
Visit Jeremy's Blog.
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 05-30-2014, 12:12 AM   #1
netguy2000
Member
 
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.
eth1= 10.10.90.1
eth2= 10.20.91.1
eth3= xxx.xxx.xxx.xxx (internet IP)
eth4= 192.168.0.1 (Local LAN)

I am switching my default route with eth1 and eth2, and created multi routing with "MARK 2" for xxx.xxx.xxx.xxx 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.

Thanks In ADVANCE
Prompt response required

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

Rep: Reputation: Disabled
Quote:
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 192.168.0.0/255.255.0.0 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
eantoranz
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:

Code:
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
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
@eantoranz
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.
 
  


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
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

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

All times are GMT -5. The time now is 02:05 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