|
| 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
|
|