Config check for box swith two nics

Paul Howarth paul at city-fan.org
Sat Mar 19 10:17:43 UTC 2005


On Fri, 2005-03-18 at 15:26 -0500, GPL wrote:
> I am working with a box that has two nics. I want the PUBLIC interface
> to use two of my external DNS servers and the INTERNAL interface to
> use two of my internal DNS servers. This is not a router as I have not
> turned routing on. Not sure my resolv.conf is right. When I try to
> ping an internal host by just host name and FQDN it fails. Fine by IP.
> Ping by name on Internet side fine.
> 
> My /etc/hosts:
> 
> 127.0.0.1       localhost.localdomain   localhost
> 10.192.0.200    windmere.internaldomain.com windmere
> 208.x.x.x   windmere.externaldomain.com    windmere

Perhaps what you actually want to do is not what you think you want to
do.

Is it really that you want this box to be able to use internal servers
for lookups in the internaldomain.com domain (and maybe rDNS lookups for
the 10.x.x.x network), and external servers for everything else?

This is perfectly possible and I do it on my own home network.

> My routing table:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 208.x.x.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
> 10.192.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
> 0.0.0.0         208.x.x.1     0.0.0.0         UG        0 0          0 eth1
> 
> I assume this routing table looks up to spec with my setup above?

Looks fine.

> Also, read in a tutorial about a /etc/sysconfig/static-routes. Was
> this only in previous versions of Fedora? I dont see it on this FC3.
> OR, if that a file that only exists ONCE I entered a route manually? I
> have not entered any manual routes.
> Suggestions? Tips? Experienced recommendations?

What routes other than those above do you want?

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list