12-06-2008
Quote:
Originally Posted by
samadmin
If your network has a DHCP server, Then the easiest way to connect to the internet , is to have a dynamic adress. The file used to connect to the internet is /etc/resolv.conf which is automatically updated when the network service starts.
The first part is probably correct, though it depends on what the machine will be used for and how it will be used. The second is incorrect, resolv.conf is used only to configure dns lookups, and has little to do with internet connections.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi. I have installed Solaris 8 and I am trying to configure the network settings. For some reason every time I reboot, my card loses its configuration. I can run ifconfig and the only IP address bound to my card (on either interface) is 127.0.0.1. I can change that to a valid IP address on my... (8 Replies)
Discussion started by: Ask Me
8 Replies
2. IP Networking
Hi,
I need to configure the Network for a Sun Solaris systems.
The OS info is SunOS Sparsh 5.8 Generic_108528-13 Sun4u Sparc SUNW,Ultra-250.
Please do let me know, how shall I shart with & more in configuring the Network.
Below is the list of Network Configuration I need to Make
... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
3. HP-UX
Hi,
I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain.
But I'm not able to telnet/ping into this server from a different domain.
So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies
4. Solaris
hi again...
i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0.
there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies
5. Solaris
Can someone please point me in the correct direction of where I configure the network information on SunOS 5.8 server? (Searching SunSolve and Google have resulted in thousands of fixes for potential errors, but I can't find the general instructions, etc. for starting the process).
Thanks! (2 Replies)
Discussion started by: FredSmith
2 Replies
6. UNIX for Dummies Questions & Answers
I need to know what commands I will need to use to change a host name, IP Address, and network configurations (routerings, dns, etc) and a Unix SCO machine.
Also, if there is any short tutorials on using the commands, i would defiently like that information.
Thanks!!! (1 Reply)
Discussion started by: HandleX
1 Replies
7. SCO
I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies
8. UNIX for Dummies Questions & Answers
I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the
ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and
Route add default 192.168.1.xxx command to gain back my internet.
I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies
9. Solaris
Hi everybody,
I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem.
I have 2 unix machines absolutely identical running solaris 9.
For network reasons I need to change the IP address of the 2 machines.
I proceed exactly the same on the... (11 Replies)
Discussion started by: aribault
11 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I got following configuration problem
I need to configure tiny network on openbsd
I got server1 with 3 interfaces vic0 em0 em1
The interface vic0 on server1 has follwoing IP 172.16.1.1
em0
firstly I would like to configure network under em0 (I have assigned to em0 following... (1 Reply)
Discussion started by: kvok
1 Replies
LEARN ABOUT DEBIAN
ost_ipv4host
ost::IPV4Host(3) Library Functions Manual ost::IPV4Host(3)
NAME
ost::IPV4Host -
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
SYNOPSIS
#include <address.h>
Inherits ost::IPV4Address.
Public Member Functions
IPV4Host (const char *host=NULL)
Create a new host address for a specific internet host.
IPV4Host (struct in_addr addr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object.
IPV4Address & operator= (unsigned long addr)
Allows assignment from the return of functions like inet_addr() or htonl()
IPV4Host & operator&= (const IPV4Mask &mask)
Mask the internet host address object with a network mask address.
Friends
class __EXPORT IPV4Mask
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask)
Additional Inherited Members
Detailed Description
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
Author:
David Sugar dyfet@ostel.com Address of a specific Internet host machine.
Constructor & Destructor Documentation
ost::IPV4Host::IPV4Host (const char *host = NULL)
Create a new host address for a specific internet host. The internet host can be specified in a null terminated ASCII string and include
either the physical host address or the DNS name of a host machine. Hence, an IPV4Host ('www.voxilla.org') can be directly declaired in
this manner.
Defaults to the IP address that represents the interface matching 'gethostname()'.
Parameters:
host dns or physical address of an Internet host.
ost::IPV4Host::IPV4Host (struct in_addraddr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object. Parameters:
addr binary address of internet host.
Member Function Documentation
IPV4Host& ost::IPV4Host::operator&= (const IPV4Mask &mask)
Mask the internet host address object with a network mask address. This is commonly used to coerce an address by subnet.
IPV4Address& ost::IPV4Host::operator= (unsigned longaddr) [inline]
Allows assignment from the return of functions like inet_addr() or htonl()
Reimplemented from ost::IPV4Address.
References ost::IPV4Address::operator=().
Friends And Related Function Documentation
friend class __EXPORT IPV4Mask [friend]
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask) [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV4Host(3)