LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2011, 03:15 AM   #1
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
router connectivity


i got 2 routers, one is on 192 and the other one is 10. there seems to be a problem when i am accessing 10 network from 192 although, when i do the opposite it works correctly.
router configured with 192 is Huawei 510
router configured with 10 is Dlink - DIR 618

i have even tried to open 2nd interface on Huawei 510 even then it doesnt seem to work.
 
Old 04-22-2011, 03:50 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi Syed,

What exactly the problem is when you say there is a problem?

Also paste the routing table from both the routers. Also the neighbour list from both the routers and their interface configuration.
 
Old 04-23-2011, 03:45 PM   #3
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317

Original Poster
Blog Entries: 1

Rep: Reputation: 35
the problem is connectivity itself, i am unable to access the router page of router B which is on 10's network from Router A which is on 192.

Router A - routing table.

> route

Usage: route add <IP address> <subnet mask> <[<gateway>] [<interface>]>
route delete <IP address> <subnet mask>
route show
route --help
> route show

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
119.155.16.1 * 255.255.255.255 UH 0 0 0 ppp_0_10
3_1
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
10.0.0.0 * 255.0.0.0 U 0 0 0 br0
default 119.155.16.1 0.0.0.0 UG 0 0 0 ppp_0_10
3_1

>

the above router is configured on 192. however the 2nd interface was turned on deliberately so that Router B can have access to router A. -
the interesting thing is the 2nd interface on Router A is br0:0
- i am unable to set gateway on br0:0
lol there is no sysctl.conf for ip_forwarding :P

-- on router B the configuration is set, able to ping 192 as well as 10.
 
Old 04-23-2011, 04:34 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Try this

echo 1 > /proc/sys/net/ipv4/ip_forward

and then try to add a static route on router A on br0:0 interface to router B.
 
1 members found this post helpful.
Old 06-09-2011, 09:12 AM   #5
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317

Original Poster
Blog Entries: 1

Rep: Reputation: 35
Quote:
Originally Posted by T3RM1NVT0R View Post
Try this

echo 1 > /proc/sys/net/ipv4/ip_forward

and then try to add a static route on router A on br0:0 interface to router B.
thanks very much able to fix the issue, how ever forwarding packets plays a crucial role,
the next thing i did was by adding a static route in 192.168.1.1 to destination 10.0.0.0 and gateway set to 192.168.1.2[other router which is on 10]
thanks you.

Destination Subnet Mask Gateway
10.0.0.0 255.0.0.0 192.168.1.2
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Acer Aspire One' using Linux - connectivity with Siemens broadband router?? PrincessJR Linux - Laptop and Netbook 2 10-21-2009 03:05 AM
FC6: Network Connectivity with WinXP + Router RMS1981 Fedora 2 02-10-2007 07:11 AM
Pure FTP connectivity Problems, Sus 9.3, and Router jwwatters Linux - Networking 3 07-27-2005 08:22 AM
hub, router and internet connectivity crithke Linux - Networking 1 08-04-2003 04:25 AM
RedHat 6.0 - no network/internet connectivity with Linksys 4-Port Cable/DSL Router AnthraxAssassin Linux - Networking 1 11-19-2002 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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