LinuxQuestions.org
Visit Jeremy's Blog.
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 09-02-2004, 11:57 PM   #1
yanayun
LQ Newbie
 
Registered: Aug 2004
Location: Bali
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Ip Public


I have problem with IP public, my Network configuration

[wireless] <------> [Router] <------ > [ Linux proxy ] < ------ > [Client ]

IP configuration
[202.123.123.1] <------->[202.123.123.2 and 192.168.0.1] < ------ > [192.168.0.2 and 202.123.123.3] < ------ > [202.123.123.4]


this configuration will use IP 202.123.123.2 on internet
how to config my network to use IP Client 202.123.123.4 on internet

Last edited by yanayun; 09-02-2004 at 11:59 PM.
 
Old 09-03-2004, 04:23 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
you can create a virtual nic on the linux proxy -

eth0 being 202.123.123.2
eth0:1 being 202.123.123.4

if that is what you are looking for ...

also, is [client] too directly connected to the internet via ip 202.123.123.3 as well as to the local network using the 192.168 subnet?
 
Old 09-03-2004, 05:44 AM   #3
yanayun
LQ Newbie
 
Registered: Aug 2004
Location: Bali
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
it's not work

[202.123.123.1] <------->[eth0:202.123.123.2 and eth1:192.168.0.1] < ------ > [eth0:192.168.0.2 and eth1:202.123.123.3] < ------ > [eth0:202.123.123.4]

any idea??
 
Old 09-03-2004, 06:00 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
I am extremely sorry ... did not read the diagram right as it had wrapped around ....

Code:
[202.123.123.1] <------->[eth0:202.123.123.2 and eth1:192.168.0.1] < ------ > eth0:192.168.0.2 and eth1:202.123.123.3] < ------ > [eth0:202.123.123.4]

Last edited by ppuru; 09-03-2004 at 06:02 AM.
 
Old 09-09-2004, 11:25 PM   #5
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
It looks to me like your trouble is occuring at the router. Many personal and dsl routers do NAT, meaning the router pretends that it is the one sending the information. Unsolicited information coming the other way is then stopped at the router. It sounds as though you are trying to get your client machine visable on the public network. To do that you will need to configure your router (assumeing that is where the problem lies). Different routers use different terms; some say "NAT", others "firewall", some will require you to set up a "bridge".

What are you attempting to do, by the way? If you need to host a service on the public internet you may just need to set up port forwarding (pin holes) on your router. That would be the prefered method.

Last edited by gd2shoe; 09-09-2004 at 11:26 PM.
 
  


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
Public Ip the-roseman Linux - Networking 6 10-10-2005 10:30 PM
see my public ip? davidhk Linux - General 8 07-25-2005 04:29 AM
public IP parsek77 Linux - Networking 3 07-19-2005 10:12 AM
YUM requires public keys, how do I get public keys? GNUROCKS Linux - Newbie 3 05-29-2005 08:50 AM
To anyone=(To go public or not to go public that is the question...) hotrodowner Linux - General 10 06-25-2002 09:19 AM

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

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