This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C17F64.B12E4020 Content-Type: text/plain; charset="iso-8859-1" Not sure where there is documentation on this (though I'm sure there is a howto somewhere). But for informational purposes I'll give it a try. For general Redhat systems (also mostly correct for Mandrake): File General info more info /etc/resolv.conf -> list your nameservers one per line man resolv.conf /etc/hosts -> list of hostname to ip resolution man hosts The rest of these files appear to be redhat specific for the most part /etc/sysconf/static-routes /etc/sysconf/static-routes-ipv6 The above files store static routes that are to be loaded at startup, sorry it's been a while and I don't remember the file format but you can read the file "/etc/sysconf/network-scripts/ifup and figure it out for both if needed. etc/sysconf/network This file contains several entries necessary for configuration of networking one entry per line in a tag=value format. blank lines appear to be ok, # is a comment and comments to the end of the line. In my network configuration I have 3 entries NETWORKING, HOSTNAME, and FORWARD_IPV4. NETWORKING=yes # appears to have two values yes and no. no turns off external netowrking HOSTNAME=CX868974-C # is assigned my you to condifure the hostname, # if not assigned and using dhcp for network info # the hostname can be assigned bu dhcp FORWARD_IPV4=false # appears to have two values true and false. If the boxen has two or more # interfaces true configures as a router and will forward packets # inbetween interfaces. Should read the router howto for more information. FORWARD_IPV6=false # same as IPV4 but for ip version 6, make sure your kernel is configured for this. /etc/sysconf/network-scripts/ifcfg-lo -> configures the 127.0.0.1 interface /etc/sysconf/network-scripts/ifcfg-eth0 -> configures the first ethernet interface /etc/sysconf/network-scripts/ifcfg-eth0:0 -> configures the first ethernet alias on the first ethernet interface /etc/sysconf/network-scripts/ifcfg-eth1 -> configures the second ethernet interface /etc/sysconf/network-scripts/ifcfg-eth1:0 -> configures the second ethernet alias on the second ethernet interface The content of the files are very simular, they use a tag=value format. DEVICE=eth0 # the physcial device name MUST EXIST and must match the base name of the file! BOOTPROTO=dhcp # the boot protocol to be used if any, dhcp, bootp, none ONBOOT=yes # is this device to be activated upon booting the system BROADCAST=127.255.255.255 # the broadcast address for the interface NAME=loopback # the name assigned to the interface IPADDR=127.0.0.1 # the ip address to be assigned to this interface if not using a boot protocol NETMASK=255.0.0.0 # the mask assigned to this interface, only assigned if not using a boot protocol NETWORK=127.0.0.0 # the network the interface is in, only assigned if not using a boot protocol /etc/sysconf/network-scripts/ifup /etc/sysconf/network-scripts/ifdown These files are used to bring up and down the interfaces. ifup eth0 or ifdown eth0 Hope this helps > -----Original Message----- > From: Simper, Brian D [mailto:brian.d.simper@intel.com] > Sent: Friday, December 07, 2001 1:10 PM > To: 'plug-discuss@lists.PLUG.phoenix.az.us' > Subject: Text Based Network Configuration > > > > I am looking for command line or text based network > configuration tools. As > you may be aware, Red Hat does not include linuxconf or > netconf with RH 7.1 > or 7.2. Admittedly, using this venerable tool could cause > problems but > netconf was functional once you got past the quirks. > > The new graphical tools are OK, but I don't always have access to the > console and sometimes I want to build a server without a GUI. > So how do you > make changes to the network with text only tools? Is there a complete > reference showing exactly which configuration files you can > manually edit > and which services to manually start to get the network configured? > > Thanks, > > Brian > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your > mail doesn't post to the list quickly and you use Netscape to > write mail. > > PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > ------_=_NextPart_001_01C17F64.B12E4020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Text Based Network Configuration

Not sure where there is documentation on this (though = I'm sure there is a howto somewhere). But for informational purposes = I'll give it a try.

For general Redhat systems (also mostly correct for = Mandrake):
File    =         =         =         General = info            =         =         more info
/etc/resolv.conf        = -> list your nameservers one per line   man resolv.conf
/etc/hosts      =         -> list of hostname to ip = resolution    man hosts

The rest of these files appear to be redhat specific = for the most part


/etc/sysconf/static-routes
/etc/sysconf/static-routes-ipv6
The above files store static routes that are to be = loaded at startup, sorry it's been a while and I don't remember the = file format but you can read the file = "/etc/sysconf/network-scripts/ifup and figure it out for both if = needed.


etc/sysconf/network
This file contains several entries necessary for = configuration of networking one entry per line in a tag=3Dvalue format. = blank lines appear to be ok, # is a comment and comments to the end of = the line.

In my network configuration I have 3 entries = NETWORKING, HOSTNAME, and FORWARD_IPV4.

NETWORKING=3Dyes  # appears to have two values = yes and no. no turns off external netowrking
HOSTNAME=3DCX868974-C # is assigned my you to = condifure the hostname,
          &nb= sp;         # if not assigned = and using dhcp for network info
          &nb= sp;         # the hostname can = be assigned bu dhcp
FORWARD_IPV4=3Dfalse  # appears to have two = values true and false. If the boxen has two or more
          &nb= sp;         # interfaces true = configures as a router and will forward packets
          &nb= sp;         # inbetween = interfaces. Should read the router howto for more information.
FORWARD_IPV6=3Dfalse  # same as IPV4 but for ip = version 6, make sure your kernel is configured for this.

/etc/sysconf/network-scripts/ifcfg-lo -> = configures the 127.0.0.1 interface
/etc/sysconf/network-scripts/ifcfg-eth0 -> = configures the first ethernet interface
/etc/sysconf/network-scripts/ifcfg-eth0:0 -> = configures the first ethernet alias on the first ethernet = interface
/etc/sysconf/network-scripts/ifcfg-eth1 -> = configures the second ethernet interface
/etc/sysconf/network-scripts/ifcfg-eth1:0 -> = configures the second ethernet alias on the second ethernet = interface

The content of the files are very simular, they use a = tag=3Dvalue format.

DEVICE=3Deth0 # the physcial device name MUST EXIST = and must match the base name of the file!
BOOTPROTO=3Ddhcp # the boot protocol to be used if = any, dhcp, bootp, none
ONBOOT=3Dyes # is this device to be activated upon = booting the system
BROADCAST=3D127.255.255.255 # the broadcast address = for the interface
NAME=3Dloopback # the name assigned to the = interface
IPADDR=3D127.0.0.1 # the ip address to be assigned = to this interface if not using a boot protocol
NETMASK=3D255.0.0.0 # the mask assigned to this = interface, only assigned if not using a boot protocol
NETWORK=3D127.0.0.0 # the network the interface is = in, only assigned if not using a boot protocol


/etc/sysconf/network-scripts/ifup
/etc/sysconf/network-scripts/ifdown

These files are used to bring up and down the = interfaces. ifup eth0 or ifdown eth0

Hope this helps

> -----Original Message-----
> From: Simper, Brian D [mailto:brian.d.simper@intel.com= ]
> Sent: Friday, December 07, 2001 1:10 PM
> To: = 'plug-discuss@lists.PLUG.phoenix.az.us'
> Subject: Text Based Network = Configuration
>
>
>
> I am looking for command line or text based = network
> configuration tools.  As
> you may be aware, Red Hat does not include = linuxconf or
> netconf with RH 7.1
> or 7.2.  Admittedly, using this venerable = tool could cause
> problems but
> netconf was functional once you got past the = quirks. 
>
> The new graphical tools are OK, but I don't = always have access to the
> console and sometimes I want to build a server = without a GUI.
>  So how do you
> make changes to the network with text only = tools?  Is there a complete
> reference showing exactly which configuration = files you can
> manually edit
> and which services to manually start to get the = network configured?
>
> Thanks,
>
> Brian
> = ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if = your
> mail doesn't post to the list quickly and you = use Netscape to
> write mail.
>
> PLUG-discuss mailing list  -  = PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-= discuss
>

------_=_NextPart_001_01C17F64.B12E4020--