View Single Post
  #1  
Old 10th December 2010, 19:17
Showa Showa is offline
Member
 
Join Date: Sep 2010
Posts: 59
Thanks: 3
Thanked 1 Time in 1 Post
Default Second nameserver cannot connect to the internet.

Hello to you all,

I have set up my Centos 5.5 server with ISPConfig 3 as a nameserver and as a router.
This server has two networkcards eth0 which connects directly to the internet and has the following set up:
IP 192.168.2.10
Netmask 255.255.255.0
Gateway 192.168.2.254.
The second networkcard connects to a switch for my internal network this has:
IP 10.0.0.0.10
Netmask 255.255.255.0
Gateway 192.168.2.10
Master nameserver has ip 10.0.0.10
Slave nameserver has ip 10.0.0.15
After setting up the router I'm able to connect to the internet with my xp-computer using a static ip-adres
IP 10.0.0.40
netmask 255.255.255.0
gateway 192.168.2.10

I also would like my secondary nameserver to connect to the internet to use yum etc.
So I set up eth0 on this Centos 4.8 computer as follows:
IP 10.0.0.15
netmask 255.255.255.0
gateway 192.168.2.10

Unfortunally I cannot get a connection to the internet on the second nameserver. I can ping the computers in the 10.0.0.x range but I cannot ping 192.168.2.10. Do I also have to make some settings on the IPtables, or is this a problem due to Bind, and do I have to correct my named.conf.

With kind regards,

Ad.
Reply With Quote
Sponsored Links