Red Hat Configuration - networking in RH9: the default gateway

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Configuration > January 2004 > networking in RH9: the default gateway





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author networking in RH9: the default gateway
eŽik

2004-01-23, 7:17 pm

Setting up networking in RH9(shrike) by hand.


I have an Alcatel SpeedTouch 510 modem, connected to eth0 (10.0.0.150)
eth1 is 192.168.0.1, which connects to a hub and the hub connects some
other computers.
So I have a subnet 10.0.0.0/16 and 192.168.0.0/24

Now I have trouble setting up the router table.
When I do "route" on the commandline, I see no gateways for the two
subnets.

I found some relevant files:
/etc/hosts
/etc/host.conf
/etc/init.d/network
/etc/sysconfig/ifup
/etc/sysconfig/ifup-routes
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/route-eth0
/etc/sysconfig/network-scripts/route-eth1
/etc/sysconfig/network
/etc/sysctl.conf


In which file(s) do I define the default gateway ?
In which file(s) do I define the gateway for a subnet ?
do I need to define a route for the 10.0.0.0 subnet, or is it
sufficient to define eth1 (10.0.0.150) as a default gateway ?

In the hosts file, I see amongst other lines:

10.0.0.150 bravo
192.168.0.1 bravo

is that correct, bravo being the host name ?

Does the hosts file contain names for ethernet interface cards or for
computers ?

thnx for meeting this challenge :-)

frgr
Erik
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com