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 08-05-2014, 04:11 AM   #1
D0zer
Member
 
Registered: Jul 2014
Location: Johannesburg, South Africa
Distribution: Gentoo
Posts: 30

Rep: Reputation: Disabled
Routing on Gentoo


Hi All

I have been trying to resolve slow internet at a client. My first suspect was squid was causing issues. I think the issue is on the routing side.

The server has 3 Network cards.
Eth0 - ISP1
Eth1 - LAN
Eth2 - ISP2

if I do a route -n command, the gateway of ISP2 is not listed. ETH2 has an address 41.160.170.216 listed as destination, Gateway is 0.0.0.0. Flag is u. That IP address is not the Default Gateway for the ISP, so I am not sure where that address is coming from.

When I do a jnettop to monitor traffic, dns and email is going through eth0, http and https traffic is going through eth2.

If i run ip route show, I get the following output

default
nexthop via 196.36.143.185 dev eth0 weight 1
nexthop via 41.160.190.217 dev eth2 weight 10
41.160.190.216/29 dev eth2 proto kernel scope link src 41.160.190.219
127.0.0.0/8 dev lo scope host
127.0.0.0/8 via 127.0.0.1 dev lo
168.210.2.2 via 196.36.143.185 dev eth0
192.168.15.0/24 dev eth1 proto kernel scope link src 192.168.15.254
196.36.143.176/28 dev eth0 proto kernel scope link src 196.36.143.186


Thanks in advance for any advice.

Last edited by D0zer; 08-05-2014 at 04:15 AM. Reason: more info
 
Old 08-11-2014, 01:59 AM   #2
D0zer
Member
 
Registered: Jul 2014
Location: Johannesburg, South Africa
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: Disabled
Update

Hi All

After some more reading, and checking with the person who installed the server the routing is looking good. I suspect P2P is what is causing issues on my internet connection. If anybody has any advice of what can be used to block p2p traffic on an exsisting Gentoo Box that would be a great help.
 
Old 08-15-2014, 09:51 AM   #3
D0zer
Member
 
Registered: Jul 2014
Location: Johannesburg, South Africa
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: Disabled
Update

It turned out to be a faulty adsl line. That got fixed today and internet speeds where how they should be. I do need to do some tweaking to the routing. DNS seems to be resolving through eth0, and web browsing through eth2. With the instability of the adsl line on eth0 having been fixed and browsing now working how it should be I suspect its routing or the mangle rules.
 
  


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
Mutiple IPs and network cards routing (source policy routing?) shogun1234 Linux - Networking 1 01-17-2013 12:09 AM
Dynamic routing isn't done; static routing works for about 2 seconds for wireless gregorian Linux - Networking 7 02-19-2010 06:43 AM
pre routing , post routing and qos support msridhar87 Linux - Networking 0 02-13-2009 05:37 AM
Gentoo Routing Issue After Update dhedge Linux - Networking 11 02-11-2006 11:17 PM

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

All times are GMT -5. The time now is 01:03 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
Open Source Consulting | Domain Registration