Config check for box swith two nics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



My /etc/resolv.conf:

nameserver 208.x.x.x
nameserver 208.x.x.x
nameserver 10.192.0.3
nameserver 10.192.0.2
search internaldomain.com 
search externaldomain.com


My /etc/sysconfig/network:

NETWORKING=yes
HOSTNAME=windmere.externaldomain.com
GATEWAY=10.192.0.1
GATEWAY=208.x.x.1

(QUESTION: For internal queires should I also add the line
HOSTNAME=windmere.internaldomain.com ?)


My /etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=10.192.0.200
NETMASK=255.255.255.0
GATEWAY=10.192.0.1
TYPE=Ethernet

My /etc/sysconfig/network-scripts/ifcfg-eth1:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=208.60.99.235
GATEWAY=208.60.99.1


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?

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?

Thank you.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux