11-29-2001
Re: Network and System files
Here you have an answer, but this is mostly for OpenBSD:
/etc/myname - contains host name
/etc/defaultdomain - contains the domain name
/etc/mygate - contains the address of the default gateway
/etc/hostname.
if_name - contains the configuration of the specified interface (if_name = xl0, fxp0, etc)
/etc/resolv.conf - contains the name of the dns resolver, and search domain
/etc/dhcpd.conf - configuration file for DHCP daemon
/etc/dhcpd.interfaces - a list of the interfaces where the DHCP daemon listens
/etc/altq.conf - the file which contains the configuration of the alternate queueing daemon - class based queueing pachet scheduler
/etc/pf.conf - configuration file for packet filtering
/etc/nat.conf - NAT rules
Quote:
Originally posted by trip
I was given this question and cannot seem to answer it. "Identify 4 network and 4 sytem files that control how the system and network function (other than rc files)." The problem is I only know of rc files. Can anyone help?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
I plan to take HP-UX cert. EXAM.
But, I cannot find hp-ux system & network administration II.pdf file
Do you know where can I download??
Do you have? can you send to me?
Thank you! (2 Replies)
Discussion started by: hkpcman
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I was wondering if anyone could help me out with this problem. I have SCO 5.0.5 installed on a system that I am using 3c905b (3 Com) network card. This system is always powered on. After no certain time period this NIC doesn't work. I can't ping to this system from any other machine or vice... (5 Replies)
Discussion started by: Tinal
5 Replies
3. Shell Programming and Scripting
say i have a system on thats on a network with access to the internet.
now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables?
i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies
4. Linux
The Network Audio System (NAS)
Anybody have any luck with nasd or xmms-nas with any 2.6 distribution?
Works fine under FreeBSD (6.0/7.0). (0 Replies)
Discussion started by: ramen_noodle
0 Replies
5. Shell Programming and Scripting
I am trying to write a script which has to copy the directory structure from my system to another system on the network. But I dont want the files to be copied.
I think I have to start with copying all subdirectories names in a directory to a system on the network.
Here's the case:
Source... (1 Reply)
Discussion started by: firefox211
1 Replies
6. Red Hat
I am using NVIDIA nforce: Networking controllers
And Redhat enterprice linux ws version 4 32 bit: OS
I want to connect my system to Broadband internet using linux.
From where can I download the driver for nertwork.
How to know whether the network driver alredy installed in my system.
... (0 Replies)
Discussion started by: rijas
0 Replies
7. AIX
Hi,
I have an HACMP cluster with two nodes. The Resource Group contains a VG which in turn has a FS created in it say /test.. Now I want that FS to be mounted through NFS on some other AIX servers as well. What would be the best way to do this?
Regards, (2 Replies)
Discussion started by: aixromeo
2 Replies
8. UNIX for Advanced & Expert Users
Sorry for making this post so generic.
I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example:
- NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies
9. UNIX and Linux Applications
This is just a problem with our current system. We have a distributed number of stations all around the country gathering information and sending to our database. number stations are about 300 and our database server is Postgresql 8.4 running on Debian 6.(two quad core xeon with a single 1TB hard... (4 Replies)
Discussion started by: majid.merkava
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have inherited a Motorola System V R32V3.2 system. The system works fine, but we need to change the network settings. I've changed the IP address successfully, however I'm lost on the gateway and subnet mask. I've changed the default gateway using route -g10.0.8.1, but it changes back to... (7 Replies)
Discussion started by: Tilmar
7 Replies
DHCPING(8) General Commands Manual DHCPING(8)
NAME
dhcping - send a DHCP request to DHCP server to see if it's up and running
SYNOPSIS
dhcping [-v] [-q] [-i] [-r] -t maxwait -c client-IP-address -s server-IP-address -h client-hardware-address [-g gateway-IP-address]
DESCRIPTION
This command allows the system administrator to check if a remote DHCP server is still functioning.
Options are:
-v Verbose, print some information.
-i Use DHCPINFORM packets.
-r Use DHCPREQUEST packets (default behaviour).
-q Quiet, print nothing on the screen.
-t maxwait
Maximum time to wait for an answer from the server in seconds. Default is 3 seconds.
-c client-IP-address
Request this IP address. Note that this is also the IP address the answer will be sent to.
-s server-IP-address
Send the DHCP packet to this IP address.
-h client-hardware-address
Use this hardware-address in the DHCP request. It can be up to sixteen octets seperated by colons (i.e. 01:02:03:04)
-g gateway-IP-address
Use this IP address for the gateway IP address in the DHCP packet. This option is currently broken.
RETURN VALUES
If everything goes okay, it returns 0. If there went something wrong, it returns 1.
SETUP
This program should be installed setuid root or ran by root only. See SECURITY for more information.
On your DHCP server, add these lines to the dhcpd.conf:
host <your monitoring host FQDN> {
hardware ethernet <your monitor host mac address>;
fixed-address <your monitoring host IP address>;
}
Then try it:
$ dhcping -c your monitoring host IP address
-s your DHCP server IP address
-h your monitor host mac address
It will either respond with "no answer" or "Got answer from: your DHCP server IP address"
The DHCP server logfile will give:
DHCPREQUEST for 192.168.1.1 from 00:20:18:56:29:8f via ed0
DHCPACK on 192.168.1.1 to 00:20:18:56:29:8f via ed0
DHCPRELEASE of 192.168.1.1 from 00:20:18:56:29:8f via ed0 (found)
Running in DHCPINFORM mode with -i:
If you see "DHCPINFORM from 192.168.1.1 via xl0: not authoritative for subnet 192.168.1.0", you should add the authoritative statement to
the subnet, See dhcpd.conf(5) for details.
When running in very verbose mode, dhcping tries to dump all data of the send and received DHCP packets. It will first dump the packet in
hex-format, then decodes the header and finally the options.
HOW IT WORKS
The client either sends a DHCPREQUEST or DHCPINFORM packet to the server and waits for an answer. Then, if a DHCPREQUEST was send, it will
send a DHCPRELEASE back to the server.
SECURITY
This program is installed setuid root as it requires the privileges to bind itself to port 68 (bootpc). Root privileges are dropped as soon
as the program has bound itself to that port.
BUGS
Currently (this may, or may not, change in the future) the ISC DHCP daemon does not write leases with a fixed IP address in the
dhcpd.leases file.
DHCPINFORM packets can only be used on subnets the server is authori- tative for. If the monitoring script runs on a subnet the server
isn't authoritative for, it should use the DHCPREQUEST packets. I also experienced some problems with ISC DHCPD v2 servers, but that is
also in the README of it.
The -V option is still working, but shouldn't be used for debugging of the packets. Better use dhcpdump(8) for that, which is available on
my website. I wanted to remove it, but decided only to do it from the documentation, not from the code. Maybe I'll need it one day for
debugging.
AUTHOR
Edwin Groothuis, edwin@mavetju.org (http://www.mavetju.org)
SEE ALSO
dhcpd(8), dhclient(8), dhcpd.conf(5), dhcpdump(8)
Januari 27, 2002 Januari 27, 2002 DHCPING(8)