Solved

1 Computer, 2 Networks, How to view both networks

Posted on 2004-10-06
6
556 Views
Last Modified: 2013-11-30
Ok guys i'm usually good with networking but i have a problem thats stumping me.
At my place of employment we have 1 router setup, it passes through a linux - mandrake box that has a proxy server, 2 nic cards, from there it goes to our other switches etc. the router ip is 192.168.2.1, the linux box switches the ips to 192.168.1.*. The linux box works as a proxy/dhcp server. The linux box supplys no gateway. I plugged directly into the router and I can get internet access via the router however cannot see the network behind the linux box. I tried adding a second ip address of 192.168.1.245 with the correct subnet, however no gateway because the linux dhcp server supplies no gateway. (I also tried with a gateway of 192.168.1.4 (linux box ip) but still had no luck seeing the other network. I have no clue what to do!! I'm trying to avoid 2 nic cards in order to make this work. Does anyone have any suggestions?

Thanks!
0
Comment
Question by:LTY83
  • 3
  • 2
6 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 12242162
>I plugged directly into the router and I can get internet access via the router however cannot see the network behind the linux box. I tried adding a second ip address of 192.168.1.245
What IP address are you using while directly connecting to the router?
What is the physical connectivity here?

  router 192.168.2.2
         | 192.168.2.x
       Switch
  |         |         | 192.168.2.?
Users  Linux   You

If both networks are physically connected on the same switch, then you should be able to just add a secondary IP on your one NIC...

0
 
LVL 4

Author Comment

by:LTY83
ID: 12242238
router 192.168.2.1 goes to linux server, proxy-mail server, my computer, another pc
linux server 192.168.1.4 goes to switches, rest of entire network
proxy-mail server 192.168.1.2 goes to switches, rest of network

my ip is 192.168.2.*
i can see no one except other pc
i wish to see everyone, including those with the 192.168.1.*
i added second ip of 192.168.1.* but had no success

hope that helps
0
 
LVL 2

Expert Comment

by:cnsspd
ID: 12242298
Are you trying to connect to computers between the router and the  outside port on the linux box from a computer connected to the inside port?
Is it posible to give the computers in the dmz real address instead of nat? The reason you cant see them is probaly due to the proxy server blocking the connection to the nat addresses.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 79

Accepted Solution

by:
lrmoore earned 500 total points
ID: 12242346
Just to make sure I have the topology straight:

WAN--> Router---->Linux----->switch-----> users 192.168.1.x
                       ---->You
                       ---->PC2
                       ---->Proxy/mail

If this is the case, you'll have no choice except to put in a 2nd NIC and plug that into the switch with a 192.168.1.x ip address.

WAN--> Router---->Linux----->switch-----> users 192.168.1.x
                       ---->You ------->|
                       ---->PC2
                       ---->Proxy/mail
0
 
LVL 4

Author Comment

by:LTY83
ID: 12242348
yea trying to connect to computers that are connected outside the router, but rather through the linux box to the router,
what kind of real addresses you mean? like actual ips? i'm somewhat confused, they aren't really in a dmz i'm just keeping them away from the linux proxy because it blocks everything as far as downloads go

0
 
LVL 4

Author Comment

by:LTY83
ID: 12242404
lrmoore thats what i was afraid of, makes sense, thanks for input i'll accept your answer although i wish i didn't haveto to have another nic
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now