Sponsored Content
Full Discussion: Linux IP addressing Problem
Operating Systems Linux Linux IP addressing Problem Post 55009 by google on Tuesday 31st of August 2004 07:32:08 AM
Old 08-31-2004
What is your NETMASK?
 

9 More Discussions You Might Find Interesting

1. Programming

Addressing UDP datagrams in UNIX

I am having troble to send a UNIX datagram to a NT machine. I didn`t realize yet how to define the destination address on the sendto() function call.Simply writing "xxx.zz.yy.pp" for the IP and xxxx for the socket doesn´t work!!! Can anyone help me with that? Thanks (4 Replies)
Discussion started by: psilva
4 Replies

2. IP Networking

IP Addressing with Digital Unix

I'm trying to set up an IP address on a Digital Unix box. I would like to know the commands in order to do so. thanks (5 Replies)
Discussion started by: lavelyj
5 Replies

3. IP Networking

Dual IP addressing

I have a Unix application server with an internet IP address on it for a gateway and a Unix web server with the Internet IP as well configured for its gateway. Now the problem I have is this: due to these gateways, the application server can't communicate with our internal LAN. Therefore, it... (2 Replies)
Discussion started by: Ronny
2 Replies

4. HP-UX

scsi floppy drive addressing

Does anyone know of a site that documents the various addressing schemes used with SCSI floppy disk drives? (5 Replies)
Discussion started by: Drew_Harrison
5 Replies

5. Shell Programming and Scripting

addressing variable content...

I want to address a variable content whose name is/matches the content of a given other variable. i.e. set name=´sam´ set ${name}_age=´27´ So, by typing: echo ${name}_age I correctly obtain: sam_age By typing: echo $sam_age or echo ${sam_age} I correctly obtain: 27 But how can I... (3 Replies)
Discussion started by: sobolev
3 Replies

6. What is on Your Mind?

Electronic Mail Addressing

"A Directory of Electronic Mail Addressing & Networks" by Donnalyn Frey and Rick Adams (O'Reilly & Associates, 1993), Xerox Grapevine, DECNET. The book tells about lots of different ways to present an email address. What i know of are Internet (user@host), UUCP (host!user) and DECNET (host::user)... (2 Replies)
Discussion started by: Action
2 Replies

7. Programming

Memory addressing question

Forgive me if this sounds like a newbie question. Any time you obtain a stack address from a pointer, what is this relative to by default? Is it the extra segment, the stack segment, what? How do you change change the relative positioning in memory? Thanks in advance (1 Reply)
Discussion started by: stevenswj
1 Replies

8. IP Networking

Addressing question

This is probably a stupid question but I am finding a tricky issue on my Solaris machines right now. I changed the hostname for my servers as requested by my superior. I had one server that lost it's entire network configuration when I rebooted. I reconfigured it with it's address and I can... (2 Replies)
Discussion started by: lnxjenn
2 Replies

9. UNIX for Beginners Questions & Answers

32 bit process addressing more than 4GB

Hello for all, I am testing the behavior of a 32 bit application running on Solaris 5.10 (SPARC), and realize it reaches 4GB of memory and then crashes. It doesn't matter the amount of used memory as application is intended to perform many transactions; rather, what I want to achieve is to... (2 Replies)
Discussion started by: Leito7824
2 Replies
NETCONFIG(8)                                                   Network configuration                                                  NETCONFIG(8)

NAME
netconfig - modular tool to modify network configuration SYNOPSIS
netconfig modify < -s | --service <service name> > [ -i | --interface <interface name> ] [ -F | --input-format <input/lease file format> ] [ -I | --input-file <input/lease file name> ] [ -l | --lease-file <input/lease file name> ] [ -m | --module-only < name | prefix > ] [ -f | --force-replace ] [ -v | --verbose ] netconfig remove < -s | --service <service name> > [ -i | --interface <interface name> ] [ -m | --module-only < name | prefix > ] [ -f | --force-replace ] [ -v | --verbose ] netconfig update [ -m | --module-only < name | prefix > ] [ -f | --force-replace ] [ -v | --verbose ] netconfig < -h | --help > DESCRIPTION
Netconfig is a modular tool to manage additional network configuration settings. It merges statically defined settings with settings pro- vided by autoconfiguration mechanisms as dhcp or ppp according to a predefined policy and applies the required changes to the system by calling netconfig modules. Each netconfig module is responsible to apply a set of changes for instance by writing of a configuration file and restarting a service or similar. The netconfig tool knows three main actions: modify Modify the current interface and service specific dynamic settings and update the network configuration. Netconfig reads these settings on its standard input or from the file specified by the --input-file option and stores them inter- nally until a system reboot or the next modify or remove action. Already existing settings for the same interface and service combi- nation will be overwritten. See the MODIFY INPUT FORMAT section for input format description. remove Removes the dynamic settings provided by a modify action for the specified interface and service combination and update the network configuration. update Update the network configuration using current settings. This also required when the policy or the static configuration in syscon- fig/network/config changed. The update can be limited to a group of modules with a common prefix or to a single module name using the -m name-or-prefix option, for example use -m dns to apply all dns settings or -m dns-resolver to apply only settings handled in the dns-resolver module. Note: Especially the second call may cause inconsistent system configuration! The netconfig policy and the static configuration settings are defined in /etc/sysconfig/network/config variables by the administrator using YaST2, NetworkManager or manually as defined in NETCONFIG VARIABLES section. The dynamic configuration settings provided by autoconfiguration tools as dhcp or ppp are delivered to netconfig directly by these tools with the modify and remove netconfig actions. NETCONFIG VARIABLES
NETCONFIG_MODULES_ORDER This variable defines the start order of netconfig modules installed in the /etc/netconfig.d/ directory. To disable the execution of a module, don't remove it from the list but prepend it with a minus sign, -ntp-runtime. NETCONFIG_<set>_POLICY Netconfig defines a merge policy variable for each set of network settings. An empty policy variable disables any modifications in netconfig. This variable lists the network interfaces, that netconfig has to consider as a valid source for this set of settings and in which order. Except of complete interface names, also basic wildcards to match multiple interfaces are allowed. For example, "eth* ppp?" will target first all eth and then all ppp0-ppp9 interfaces. There are two special predefined policy values which indicate how to apply the static settings defined in the corresponding NETCON- FIG_<set>_STATIC_* variables: STATIC the static settings have to be merged together with the dynamic settings. STATIC_FALLBACK the static settings have to be used only, when no dynamic are avaliable. By default, the policy is set to the special value auto. This special policy value is resolved by netconfig depending on the NET- WORKMANAGER ("yes"/"no") variable: NetworkManager is disabled The auto policy value is resolved to a policy "STATIC *". NetworkManager is enabled The auto policy value is resolved to "STATIC_FALLBACK NetworkManager" causing to use the NetworkManager build-in merge policy with a fallback to the static settings defined in netconfig variables when the NetworkManager does not provide any. Note: NetworkManager is not using any of the statically defined netconfig settings. Please use the (k)nm connection editor to define yout network settings for the NetworkManager! DNS NETCONFIG_DNS_POLICY Defines the DNS merge policy. See also the NETCONFIG_<set>_POLICY section. NETCONFIG_DNS_FORWARDER The name of the DNS forwarder that has to be configured. Currently implemented are "bind" (dns-bind module), "dnsmasq" (dns-dnsmasq) and "resolver" (dns-resolver module), that causes to write the name server IP addresses directly to /etc/resolv.conf only (no for- warder). Empty string defaults to "resolver", that is also the default setting. See also NETCONFIG MODULES section for more informations. NETCONFIG_DNS_FORWARDER_FALLBACK When enabled (default) in forwarder mode ("bind", "dnsmasq"), netconfig writes an explicit localhost nameserver address to the /etc/resolv.conf, followed by the policy resolved name server list as fallback for the moments, when the local forwarder is stopped. Otherwise, the fallback is written only, when the NETCONFIG_DNS_STATIC_SERVERS variable contains an localhost address. NETCONFIG_DNS_STATIC_SEARCHLIST List of DNS domain names used for host-name lookup. It is written as search list into the /etc/resolv.conf file. NETCONFIG_DNS_STATIC_SERVERS List of namserver IP addresses used for host-name lookup. When the NETCONFIG_DNS_FORWARDER variable is set to "resolver", the name servers are written directly to /etc/resolv.conf. Otherwise, the nameserver are written into a forwarder specific configuration file. Whether the nameservers are written as fallback to the /etc/resolv.conf, depends on the NETCONFIG_DNS_FORWARDER_FALLBACK variable. When the /etc/resolv.conf does not contain any nameservers, the glibc makes use of the name server running on the local machine (the forwarder). See also NETCONFIG MODULES section for more informations. NETCONFIG_DNS_RANKING Allows to specify a custom DNS service ranking list, that is which services provide preferred (e.g. vpn services), and which ser- vices fallback settings (e.g. avahi). It causes a per service sorting of the nameservers and search list settings. Preferred ser- vice names have to be prepended with a "+", fallback service names with a "-" character. The special default value "auto" enables the build-in service ranking list, currently: "+strongswan +openswan +racoon +openvpn -avahi" the value "none" or "" allows to disable the ranking / sorting. NTP NETCONFIG_NTP_POLICY Defines the NTP merge policy. See also the NETCONFIG_<set>_POLICY section. NETCONFIG_NTP_STATIC_SERVERS List of NTP server IP addresses. NIS NETCONFIG_NIS_POLICY Defines the NIS / YP merge policy. See also the NETCONFIG_<set>_POLICY section. NETCONFIG_NIS_STATIC_DOMAIN [ _<number> ] A NIS domain name. NETCONFIG_NIS_STATIC_SERVERS [ _<number> ] A list of NIS servers for the domain with same suffix number. NETCONFIG_NIS_SETDOMAINNAME Defines whether to set the NIS domain using a setdomainname(2) call. When enabled and the NIS domain is not provided dynamically or defined in the static netconfig variables, the domain from /etc/defaultdomain is used as fallback. Valid values are: no netconfig does not set the domainname at all yes netconfig sets the domainname according to the NIS policy using the settings of the first interface and service which pro- vided the NIS domainname. <interface> netconfig sets the domainname according to the NIS policy using the settings of the first service which provided the NIS domainname on the specified interface. NETCONFIG MODULES
dns-resolver This module writes the DNS settings into the /etc/resolv.conf file. When the NETCONFIG_DNS_FORWARDER variable is empty or set to "resolver", both, the domain search list and the nameserver list is written. Otherwise, only the domain search list is written. Whether the nameservers are written to the /etc/resolv.conf or handled by the forwarder specific module (e.g. bind) only, depends on the NETCONFIG_DNS_FORWARDER_FALLBACK variable. dns-bind This module writes the DNS nameservers as forwarders for the bind nameserver into the /etc/named.d/forwarders.conf file. Please ver- ify that this file is included in the options section of /etc/named.conf, like: options { #forward first; include "/etc/named.d/forwarders.conf"; # [...] You can use the yast2 dns-server module to configure bind as forwarder. dns-dnsmasq This module writes the DNS nameservers as forwarders for the dnsmasq nameserver into the /var/run/dnsmasq-forwarders.conf file. Please verify, that this file is set in the resolv-file keyword in the /etc/dnsmasq.conf. ntp-runtime The netconfig ntp-runtime module does not alter the /etc/ntp.conf file, but makes use of NTP "runtime configuration". The list of the NTP servers is written to the /var/run/ntp/servers-netconfig file and if the configuration changed meanwhile, the ntp service will be restarted using "rcntp try-restart". The ntp init script provides the functionality to apply the server list at runtime to the ntpd(1) daemon. nis This module writes the NIS configuration into the /etc/ypconf file and reloads the "ypbind" service when the configuration changed. MODIFY INPUT FORMAT
The netconfig modify command expects a simple, single quoted, key-value parameter list in a dhcpcd info file compatible format. The key- words have to be usable as variable name in a shell (identifier). The keyword INTERFACE is mandatory. The currently considered key-value pairs are: INTERFACE='<interface name>' IPADDR='<IP address> [/<prefix length>]' NETMASK='<network mask>' NETWORK='<network address>' BROADCAST='<broadcast address>' ROUTES='<space separated list of classless route entries>' Each route entry consists of "network,netmask,router" addresses. GATEWAYS='<space separated list of gateway IP addresses>' DNSSEARCH='<space separated list of DNS domain names>' DNSDOMAIN='<DNS domain name>' DNSSERVERS='<space separated list of DNS nameserver addresses>' NTPSERVERS='<space separated list of ntp server addresses>' NISDOMAIN='<NIS domain name>' NISSERVERS='<list of server addresses for the NIS domain>' NETBIOSNAMESERVER='<list of netbios nameserver addresses>' MODIFY VARIABLE EXAMPLES
See also the output of the dhcpcd-test <interface name> command. Following variables are used by the current netconfig modules: DNS DNSSEARCH='example.net example.com' DNSDOMAIN='example.com' DNSSERVERS='192.168.0.10 192.168.0.20' NTP NTPSERVERS='192.168.0.10 192.168.0.20' NIS NISDOMAIN='example.com' NISSERVERS='192.168.0.20 192.168.0.10' BUGS
Please report bugs at <http://www.suse.de/feedback> AUTHORS
Michael Calmer <mc@suse.de> Marius Tomaschewski <mt@suse.de> SEE ALSO
ifcfg(5), /etc/sysconfig/network/config, /usr/share/doc/packages/sysconfig/README.netconfig. sysconfig October 2008 NETCONFIG(8)
All times are GMT -4. The time now is 09:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy