View Full Version : 2 network cards 2 nets how to do it right?
dodgertc
07-23-03, 04:04 AM
hi, got a small problem:
i have a win server running as 192.168.99.x as subdomain controller. now it has a second network card in a class b net which acts as backup net. when i toggle this on users of the servers will get upon requesting its name, saying MOON the ip of the class b net instead of the class c. they cant access it than.
how to separate the 2 nets right so every class b request and class c request are getting to the right network card?
if with routing, how exactly please?
thanks in advance
dodgertc
07-23-03, 08:33 AM
huhu :)
192.168.x.x/16 is a class C address. You can't subnet this address range to a class B.
Can you clarify your network a bit more. I don't think anyone can give you advice from the information you've given so far.
-Bobby
dodgertc
07-23-03, 09:35 AM
hi,
sorry if i wasnt clear:
the computer running server has saying
192.168.99.51 / 255.255.255.0 as network card 1.
169.254.x.x / 255.255.0.0 is a backup net on card 2
when i set the second card up ppl accessing "moon" (which is 192.168.99.51 running an apache) get the 169.254.x.x ip instead the 192.168.99.51 one. they cant access this ip though beeing in a different network.
so the dns gets the wrong ip to the clients after connecting card2
So "moon" is a webserver? It should be able to serve pages with either address. You do need to tweak the apache conf file though to reflect both addresses.
-Bobby
dodgertc
07-23-03, 02:36 PM
it is also webserver.
the problem is not that the webserver couldnt serve to both adress.
the problem is that users of the class C should NOT get MOONs Class B IP when the request for "http://moon" is translated from the DNS into an IP.
they are on a different net so the class B adress wont get them anyway. i have to prohibit the DNS sending the class B ip of MOON back to http://moon requesters coming from the CLASS C net
How are the 2 networks physically connected? What are you using to route?
-Bobby
dodgertc
07-23-03, 05:37 PM
they are not connected and should not be connected.
moon is in both networks (USING 2 NETWORK CARDS) as the class b net is the backup network
used only to image and backup stuff to a backup server.
the normal users should not care nor know about the backup nbet.
dodgertc
07-24-03, 08:15 AM
ok the problem seems to be that moon is also a DNS server.
he replaces its host entry in forward look zones soon from C to the B-net adress.
i can manually change it back, but soon he changes it again to the b-net one.
how can i prohibit this?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.