05-07-2012
Ok. I will try to give a more detailed description of my network.
(I am aware of the public ip addressing problem. I will fix this someday soon). I inherited this network.
we have a 192.0.0.0 network. it has no gateway to the internet.
we have a 192.0.10.0 network. it has 2 gateways to the internet (one for users and one for servers to keep the bandwidth seperate).
There are a few machines on the 192.0.0.0 network (also dual-homed to 192.0.10.0) that can access the internet. They don't route packets between 192.0.10.0 and 192.0.0.0 (you can ping their 0.0 interface buy not their 10.0 interface). There aren't many machines on the 0.0 and they are all servers of some sort. The servers I am focusing on right now are 2 SCO boxes and 2 AIX boxes. None of these servers have a netcd process running.
SCOally! -->#cat /etc/resolv.conf <-ip address = 192.0.0.20
nameserver 192.0.0.20 <- server has no netsvc.conf
nameserver 192.0.0.22
hostresorder local bind
search nesdi.com
SCOissy! -->#cat /etc/resolv.conf <-ip address = 192.0.0.22
nameserver 192.0.0.2(powered off) <- server has no netsvc.conf
nameserver 192.0.0.1(no purpose now)
hostresorder local bind
search nesdi.com
AIXbddy# <-NO resolv.conf file. <-ip address = 192.0.0.60
<-ip address = 192.0.10.160
<-netsvc.conf default
AIXbackup# <-NO resolv.conf file. <-ip address = 192.0.0.55
<-ip address = 192.0.10.155
<-netsvc.conf default
all the above servers have each other specified in /etc/hosts . None of the above servers have anything setup to point to a DNS server.
Now, on the 10.0 network I only use numerical address's to talk to hosts. They all have names, but they don't resolve. I assume this is because there is no DNS server on that network. All the pc's DNS settings point to the same address as the gateway which are a linksys wrt54g (dd-wrt) for the servers and the pc's gateway/DNS point to an Untangle server. There is no domain server for the pc's. Its a 70 computer workgroup.
Let me know what I'm leaving out. Thanks again.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as
169.254.217.90
255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies
2. UNIX for Dummies Questions & Answers
hi
currently i have a server that is able to send out and receive mail.
is there a way to configure the server such that mails can be sent to a certain domail like abc@yahoo.com but block mails from this domain abc@yahoo.com.
the server is running on solaris 10.
thanks in advance :) (2 Replies)
Discussion started by: legato
2 Replies
3. UNIX for Dummies Questions & Answers
Hi peeps,
I want to learn how to configure mail servers, I am in private network, I am running debian 4.0, practically I have tried courier-mta, courier-imap, postfix, and sendmail.
sometimes I am able to send mail and not able to connect to my imap server which is localhost, sometimes I am... (1 Reply)
Discussion started by: squid04
1 Replies
4. IP Networking
Hi all - i currently run a domain strifex.net. This domain has a dedicated IP address and in having that, should be able to run a ventrilo VoIP server from it. I uploaded all the needed files etc... and am able to connect to it, if and only if i enable DMZ to my local machine - then i am able to... (1 Reply)
Discussion started by: ccfc1986
1 Replies
5. Solaris
Hi All,
Is there any option where in I can assign the two hostname to single system.
Thanks (6 Replies)
Discussion started by: kumarmani
6 Replies
6. Solaris
Sun documentation suggests that we need to assign cryptographic resources to the control domain as part of the initial configuration. I searched the documentation to better understand the purpose of this and know recommendation/limitation. I am doing this for Netra T5220 and wondering if the... (5 Replies)
Discussion started by: StarSol
5 Replies
7. Red Hat
HI All,
I am trying to setup DNS on my centOS server.
I am using bind software to setup DNS.
The following errors have getting.
==================================================
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42... (4 Replies)
Discussion started by: phpconnect
4 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
I have a domain contoso.com, which is created by Windows AD, i have a linux server which i want to join to this domain.
Linux server-: RHEL 5.3
******Info of the windows domain*************
AD server- Windows 2008 r2 server.
Please help me to join this linux server to the windows... (2 Replies)
Discussion started by: shroh
2 Replies
9. Solaris
Hi,
All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement .
Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks .
We have... (4 Replies)
Discussion started by: Ayaskant
4 Replies
LEARN ABOUT PHP
socket-context-options
SOCKET-CONTEXT-OPTIONS(3) 1 SOCKET-CONTEXT-OPTIONS(3)
Socket context options - Socket context option listing
Socket context options are available for all wrappers that work over sockets, like tcp, http and ftp.
o $bindto
- Used to specify the IP address (either IPv4 or IPv6) and/or the port number that PHP will use to access the network. The syntax
is ip:port for IPv4 addresses, and [ip]:port for IPv6 addresses. Setting the IP or the port to 0 will let the system choose the IP
and/or port.
Note
As FTP creates two socket connections during normal operation, the port number cannot be specified using this option.
o $backlog
- Used to limit the number of outstanding connections in the socket's listen queue.
Note
This is only applicable to stream_socket_server(3).
+--------+-----------------+
|Version | |
| | |
| | Description |
| | |
+--------+-----------------+
| 5.3.3 | |
| | |
| | Added backlog. |
| | |
| 5.1.0 | |
| | |
| | Added bindto. |
| | |
+--------+-----------------+
Example #1
Basic $bindto usage example
<?php
// connect to the internet using the '192.168.0.100' IP
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:0',
),
);
// connect to the internet using the '192.168.0.100' IP and port '7000'
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:7000',
),
);
// connect to the internet using the '2001:db8::1' IPv6 address
// and port '7000'
$opts = array(
'socket' => array(
'bindto' => '[2001:db8::1]:7000',
),
);
// connect to the internet using port '7000'
$opts = array(
'socket' => array(
'bindto' => '0:7000',
),
);
// create the context...
$context = stream_context_create($opts);
// ...and use it to fetch the data
echo file_get_contents('http://www.example.com', false, $context);
?>
PHP Documentation Group SOCKET-CONTEXT-OPTIONS(3)