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 - 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 10-01-2008, 04:58 AM   #1
spiff721120
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
configure route and iptables.................................


| users DSL | --->| router 2(iptables) |--->| router 1 (with BGP) |--->| the internet |



| 58.36.23.x/28 (users DSL) |-->|58.36.23.x/28 ; 200.67.23.x/29 (Router 2) |-->| 200.67.23.x/29 ; external IP (Router 1) |--->|the internet |


Hi,

Based on the diagram of the above, i am having problem for my user's DSL connection IP address(58.36.23.x/28) to be seen from Router 1 (external IP / the internet).

When checking the users IP address from "whatsmyip.com", it shows router 2 (iptables) IP address (200.67.23.x/29) instead of the user's DSL IP(58.36.23.x/28). I have not issue for connectivity between the users and the internet. All the above routers works OK. The BGP on router 1 is also working. I just need my user's DSL IP address to be seen from the INTERNET. Any ideas on how iptables could get this working?

Any help that you guys could give would be great...............! Thanking everyone in advance.
 
Old 10-01-2008, 07:29 AM   #2
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
Router2 sounds like its doing NAT. Which it would need to do if there isn't appropriate routes setup on router1 and appropriate BGP configuration.

Last edited by david_ross; 10-09-2008 at 12:07 PM. Reason: removed spam
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables or route whoober Linux - Security 6 03-23-2008 08:17 AM
Some help with iptables and iproute2 or route Histamine Linux - Networking 1 11-28-2007 02:53 PM
what's wrong with iptables or route utnalove Linux - Security 5 07-29-2007 07:41 PM
iptables -L -v and route lag tgo Linux - Networking 4 07-24-2006 07:12 PM
STATIC Route using IPTables Milkman00 Linux - Networking 3 03-06-2003 07:47 PM

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

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