One computer on 2 networks



Hi All,

I have a computer that has 2 NICs, each connecting to a different network.

NIC1:
172.30.204.100 Static
255.225.252.0

NIC2:
192.168.1.10 Static
255.255.255.0
Def Gateway: 192.168.1.254

Through NIC1, I need to have access to LAN resources: 2 printers, 2 web
servers in the intranet, a file server, a POP3 server. Those resources are
all 172.x.x.x. NOT all of them are 172.30.x.x

Through NIC2, I need to have access to the internet.

Access to internet through NIC2, is working well but, to have access to the
LAN resources, through NIC1, I've been having to do manual route add, for
each resource. Resources are added constantly. All I know of these
resources, is that they all start with 172.... (this looks like a Cert
exam!! :-D ) . My question: Is what I've been doing (Route Add), the
correct solution or, is there a better way to do it? There's probably more
information missing here (my apologies for that). If that's the case,
please, let me know what other information is needed, to find an answer.

One other thing: When I tried to enter a default gateway for NIC1, while
keeping the one for NIC2, I got an error message stating that I should only
have one default gateway and, effectively, network communication fails, if I
keep both.

Thank you all for the help. Have a great day,

Frank


.



Relevant Pages

  • Re: Dual NICs, Routing Problem
    ... There can only be one default gateway (unless you are using extra stuff as ... network that is NOT directly attached to one of your interfaces. ... >> Do all the hosts on 192.1.36.0 know that if they want to talk to any host on ... Here, the web server needs to know the IP of eth0 on the DataBase Server, ...
    (alt.os.linux.suse)
  • Re: Default Gateway on VPN subnets
    ... Now I understand that you are using the TZ170 VPN routers to establish the ... Once the default gateway of the remote 2003 server was automatically ... to access the internet or the SBS network? ...
    (microsoft.public.windows.server.sbs)
  • RE: [SLE] Two network cards (dual-homed), twogateways?Desparateforhelp
    ... patch-panel in the closet where the server is. ... default gateway is the 10 network's gateway, ... From this I would say that the default gateway on the server 192 network ... "route add default gw 192.168.0.1". ...
    (SuSE)
  • Re: Multi NIC Windows 2003 routing problem
    ... 157025 - Default Gateway Configuration for Multihomed Computers ... Microsoft Windows XP - Multihoming Considerations ... > I have a Windows 2003 Enterprise Server which talks to machines in one> private network, hosted on one network card, and another private network as> well as the internet which should be routed over the other network card. ...
    (microsoft.public.win2000.networking)
  • Re: discovering a service behind a nated network
    ... you could use nmap or some other port scanning program ... > SSH onto the firewall and try to access the server from there, ... > works then it could be the translation on the gateway device not working ... > Network Security Specialist ...
    (Security-Basics)